/* ═══════════════════════════════════════════════════════════════
   GPT INDIA — STYLES.CSS
   Indian / Persian Design Theme
   Colors: Violet, Turquoise, Scarlet, Gold on Light Cream
═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Brand Colors */
  --violet: #7B2D8B;
  --violet-light: #9B59B6;
  --violet-pale: #E8D5F0;
  --turquoise: #1ABC9C;
  --turquoise-dk: #16A085;
  --turquoise-pale: #D1F5EE;
  --scarlet: #C0392B;
  --scarlet-light: #E74C3C;
  --scarlet-pale: #FADBD8;
  --gold: #F39C12;
  --gold-light: #FFD700;
  --gold-pale: #FEF9E7;

  /* Backgrounds */
  --bg-cream: #FDF6E3;
  --bg-ivory: #FAF0D7;
  --bg-dark: #1a0a2e;
  --bg-dark-mid: #2d1b4e;

  /* Text */
  --text-dark: #2C1810;
  --text-mid: #5D4037;
  --text-light: #8D6E63;
  --text-white: #FDF6E3;

  /* Typography */
  --font-display: 'Cinzel', 'Georgia', serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-accent: 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --section-pad: 5rem 0;
  --container-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(123, 45, 139, 0.08);
  --shadow-md: 0 6px 24px rgba(123, 45, 139, 0.14);
  --shadow-lg: 0 16px 48px rgba(123, 45, 139, 0.18);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ─── Utility ────────────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn--primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--scarlet) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(123, 45, 139, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123, 45, 139, 0.45);
  background: linear-gradient(135deg, var(--scarlet) 0%, var(--violet) 100%);
}

.btn--outline {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}

.btn--outline:hover {
  background: var(--violet);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ─── Section Headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-ornament svg {
  width: 200px;
  height: 30px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mandala Animations ─────────────────────────────────────── */
@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateMedium {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes rotateFast {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes floatLeaf {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-125px) rotate(15deg);
  }
}

@keyframes floatLeaf2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-120px) rotate(-14deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mandala-rotate-slow {
  animation: rotateSlow 55s linear infinite;
  transform-origin: center;
}

.mandala-rotate-medium {
  animation: rotateMedium 40s linear infinite;
  transform-origin: center;
}



.cursor-blink {
  animation: cursorBlink 1s step-end infinite;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 246, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(123, 45, 139, 0.12);
  background: rgba(253, 246, 227, 0.97);
}

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

.logo-accent {
  color: var(--scarlet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--violet);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--violet), var(--scarlet));
  color: var(--text-white) !important;
  padding: 0.5rem 1.4rem;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123, 45, 139, 0.35);
  color: var(--text-white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
      var(--bg-cream) 0%,
      #f5e6ff 30%,
      #e8f8f5 60%,
      var(--bg-ivory) 100%);
  overflow: hidden;
  padding-top: 70px;
}

/* Mandala backgrounds removed */

/* Floating leaves */
.leaf {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.leaf--1 {
  top: 20%;
  right: 8%;
  width: 60px;
  animation: floatLeaf 16s ease-in-out infinite;
}

.leaf--2 {
  bottom: 20%;
  left: 5%;
  width: 45px;
  animation: floatLeaf2 13s ease-in-out infinite;
}

.leaf--3 {
  top: 60%;
  right: 4%;
  width: 35px;
  animation: floatLeaf 14s ease-in-out infinite 2s;
}

/* ─── Per-leaf color & opacity via CSS custom properties ─────
   These variables are inherited into the shared #leaf-shape
   symbol so each instance keeps its individual look.          */

/* Leaf 1 — teal, full veins */
.leaf--1 {
  color: #1ABC9C;
  --leaf-body-opacity: 0.3;
  --leaf-mid-opacity: 0.5;
  --leaf-lat-opacity: 0.4;
  --leaf-lat-display: inline;
}

/* Leaf 2 — purple, midrib only */
.leaf--2 {
  color: #9B59B6;
  --leaf-body-opacity: 0.25;
  --leaf-mid-opacity: 0.4;
  --leaf-lat-opacity: 0;
  --leaf-lat-display: none;
}

/* Leaf 3 — gold, midrib only */
.leaf--3 {
  color: #F39C12;
  --leaf-body-opacity: 0.2;
  --leaf-mid-opacity: 0.35;
  --leaf-lat-opacity: 0;
  --leaf-lat-display: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 3rem 1.5rem 3rem 8%;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gold-pale), #fff);
  border: 1px solid var(--gold);
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(192, 57, 43, 0.15);
}

.hero-title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.4;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero illustration */
.hero-illustration {
  position: absolute;
  right: 4%;
  top: 30%;
  transform: translateY(-50%);
  z-index: 1;
  width: min(756px, 75.6vw);
  /* 1.8× — screens > 1320px */
  animation: scaleIn 1s ease 0.5s both;
  filter: drop-shadow(0 20px 40px rgba(123, 45, 139, 0.15));
}

.computer-svg {
  width: 100%;
  height: auto;
}

/* Hero border wave */
.hero-border {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-border svg {
  width: 100%;
  height: 60px;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════════════════════════ */
.products {
  padding: var(--section-pad);
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 156, 18, 0.15);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 156, 18, 0.35);
}

.product-card--featured {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(243, 156, 18, 0.2);
}

.product-card--featured::before {
  content: '⭐ Featured';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--gold), var(--scarlet));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.3rem;
  z-index: 5;
}

.product-card__image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card--featured .product-card__image-wrap {
  margin-top: 1.6rem;
}

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

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--violet);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.product-card__badge--gold {
  background: var(--gold);
  color: var(--text-dark);
}

.product-card__badge--teal {
  background: var(--turquoise);
}

.product-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 0.2rem;
}

.product-card__subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--scarlet);
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--turquoise-dk);
  letter-spacing: 0.03em;
  transition: var(--transition);
  margin-top: auto;
}

.product-card__link:hover {
  color: var(--scarlet);
  gap: 0.7rem;
}

.product-card__link .arrow {
  transition: transform var(--transition);
}

.product-card__link:hover .arrow {
  transform: translateX(4px);
}

/* Corner ornaments on cards */
.product-card__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.product-card__corner--tl {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 4px 0 0 0;
  opacity: 0.5;
}

.product-card__corner--br {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 0 4px 0;
  opacity: 0.5;
}

/* Section flower decoration */
.section-flower {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

.section-flower--left {
  left: -20px;
  bottom: 40px;
  width: 120px;
}

/* Hero centred flower */
.hero-flower {
  position: absolute;
  bottom: 60px;
  /* sits just above the wave border */
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* Spin is applied to the SVG itself so it doesn't conflict
   with the translate used to centre .hero-flower */
.hero-flower svg {
  animation: rotateSlow 22s linear infinite;
  transform-origin: center;
}

.section-flower--left svg {
  animation: rotateSlow 30s linear infinite reverse;
  transform-origin: center;
}

/* Block display for clean sizing */
.hero-flower svg,
.section-flower svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════════════════════════════ */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%);
  position: relative;
  overflow: hidden;
}

.stats-mandala {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.stats-mandala svg {
  width: 100%;
  height: 100px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 2rem 3rem;
  position: relative;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--scarlet-light);
  vertical-align: top;
  margin-top: 0.3rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.7);
  margin-top: 0.5rem;
}

.stat-icon {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.stat-divider {
  width: 20px;
  height: 80px;
  flex-shrink: 0;
}

.stat-divider svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════ */
.about {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-ivory) 100%);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}

/* About visual */
.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-image {
  width: 280px;
  height: 440px;
  border-radius: 5%;
  object-fit: cover;
  border: 4px solid purple;
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

/* Social links */
.about-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition);
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link--linkedin {
  background: #0077B5;
}

.social-link--twitter {
  background: #000;
}

.social-link--github {
  background: #333;
}

.social-link--portfolio {
  background: var(--turquoise-dk);
}

.social-link--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* About text */
.about-text {
  position: relative;
}

.about-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 0.6;
  position: absolute;
  top: -1rem;
  left: -1rem;
  pointer-events: none;
  user-select: none;
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 0.25rem;
}

.about-role {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--scarlet);
  margin-bottom: 1rem;
}

.about-divider {
  margin-bottom: 1.25rem;
}

.about-divider svg {
  width: 150px;
  height: 10px;
}

.about-bio {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-bio strong {
  color: var(--violet);
  font-weight: 700;
}

.inline-link {
  color: var(--turquoise-dk);
  font-weight: 600;
  border-bottom: 1px solid var(--turquoise-dk);
  transition: var(--transition);
}

.inline-link:hover {
  color: var(--scarlet);
  border-color: var(--scarlet);
}

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

.tag {
  background: var(--violet-pale);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(123, 45, 139, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS SECTION
═══════════════════════════════════════════════════════════════ */
.projects {
  padding: var(--section-pad);
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  border: 2px solid rgba(123, 45, 139, 0.25);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: var(--violet-pale);
}

.filter-tab--active {
  background: linear-gradient(135deg, var(--violet), var(--scarlet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(123, 45, 139, 0.3);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 156, 18, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 156, 18, 0.3);
}

.project-card.hidden {
  display: none;
}

.project-card__image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-ivory);
}

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

.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 45, 139, 0.85), rgba(192, 57, 43, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__visit {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  transition: var(--transition);
}

.project-card__visit:hover {
  background: rgba(255, 255, 255, 0.2);
}

.project-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.cat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.cat-badge--ai {
  background: var(--violet-pale);
  color: var(--violet);
}

.cat-badge--blockchain {
  background: #E8F4FD;
  color: #2980B9;
}

.cat-badge--mobile {
  background: var(--turquoise-pale);
  color: var(--turquoise-dk);
}

.cat-badge--web {
  background: var(--scarlet-pale);
  color: var(--scarlet);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.project-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0.75rem;
}

.project-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--turquoise-dk);
  word-break: break-all;
  transition: var(--transition);
}

.project-card__link:hover {
  color: var(--scarlet);
}



/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════════ */
.contact {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--bg-ivory) 0%, #f0e6ff 50%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}



.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.contact-frame {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.contact-frame-svg {
  width: 100%;
  height: 100%;
}

.contact-content {
  text-align: center;
  padding: 3.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 156, 18, 0.2);
  box-shadow: var(--shadow-md);
}

.contact-title {
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.contact-email-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-email-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--violet), var(--scarlet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-email-icon svg {
  width: 22px;
  height: 22px;
}

.contact-email {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.03em;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.contact-email:hover {
  color: var(--scarlet);
  border-color: var(--scarlet);
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.contact-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(253, 246, 227, 0.8);
}

.footer-top {
  line-height: 0;
  background: var(--bg-cream);
}

.footer-top svg {
  width: 100%;
  height: 40px;
}

.footer-body {
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-text {
  color: var(--text-white);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(253, 246, 227, 0.6);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-email {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
}

.footer-email:hover {
  color: var(--gold-light);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: rgba(253, 246, 227, 0.6);
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-divider {
  margin-bottom: 1.5rem;
}

.footer-divider svg {
  width: 100%;
  height: 20px;
}

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(253, 246, 227, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════════ */
@media (min-width: 1101px) and (max-width: 1320px) {
  .hero-illustration {
    width: min(630px, 63vw);
    /* 1.5× — screens 1101–1320px */
    right: 2%;
  }

  .hero-content {
    padding-left: 5%;
    max-width: 520px;
  }

  .about-content {
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ─── 768–1100px: 1× illustration ─────────────────────────── */
@media (min-width: 769px) and (max-width: 1100px) {
  .hero-illustration {
    width: min(420px, 42vw);
    /* 1× — screens 768–1100px */
    right: 0%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
  }

  .hero-flower {
    display: none;
  }

  /* Navbar mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    background: rgba(253, 246, 227, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gold);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  /* Hero mobile */
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .hero-illustration {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(384px, 96vw);
    /* 1.2× — screens < 768px */
    margin: 0 auto;
  }


  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Stats */
  .stats-grid {
    flex-direction: column;
    gap: 0;
  }

  .stat-divider {
    width: 80px;
    height: 20px;
    transform: rotate(90deg);
  }

  .stat-item {
    padding: 1.5rem 2rem;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }



  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .filter-tabs {
    gap: 0.4rem;
  }

  .filter-tab {
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
  }

  /* Contact */
  .contact-content {
    padding: 2.5rem 1.25rem;
  }

  .contact-email-wrap {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-item {
    padding: 1.25rem 1.5rem;
  }
}

/* ─── Active Nav Link ────────────────────────────────────────── */
.nav-link--active {
  color: var(--violet) !important;
}

.nav-link--active::after {
  width: 60% !important;
}

/* ─── Print / Accessibility ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {


  .cursor-blink,
  .leaf--1,
  .leaf--2,
  .leaf--3 {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}