/* ========== CSS Variables ========== */
:root {
  --primary: #ff6a00;
  --primary-dark: #e55e00;
  --bg-dark: #0b0b0d;
  --bg-light: #f7f7f9;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #888;
  --white: #ffffff;
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.14);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== Global Reset ========== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin: 0 0 0.4em;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 6%;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11,11,13,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 6%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 4px;
  transition: var(--transition);
}
.brand:hover .logo-img {
  background: rgba(255,106,0,0.15);
  transform: scale(1.05);
}
.brand-text h1 {
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.brand-agni { color: var(--primary); }
.brand-core { color: #a0a0a0; }
.brand-tech { color: var(--primary); }
.brand-text p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.brand .dot { color: var(--primary); margin: 0 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--white) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, #1a1a2e 0%, #0b0b0d 60%);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,11,13,0.65);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.12) 0%, transparent 50%);
  animation: heroShift 8s ease-in-out infinite alternate;
}

@keyframes heroShift {
  0%   { transform: translateX(-5%) scale(1.05); opacity: 0.6; }
  100% { transform: translateX(5%) scale(1.1);  opacity: 0.9; }
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255,106,0,0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: 0.6s;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,106,0,0.45);
}
.btn:hover::before { transform: translateX(100%); }

/* ========== Services ========== */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before { transform: scaleX(1); }

.icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  background: rgba(255,106,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}
.card:hover .icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ========== Projects / Capacity ========== */
.projects {
  padding: 100px 0;
  background: var(--white);
}

/* Medium-size cover image in Our project section */
.project-cover-image {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}



.capacity {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.capacity-card {
  flex: 1 1 300px;
  max-width: 420px;
  background: var(--bg-dark);
  color: var(--white);
  padding: 44px 36px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.capacity-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,106,0,0.12), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.capacity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,0,0.35);
}
.capacity-card:hover::after { opacity: 1; }

.capacity-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: rgba(255,106,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.capacity-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.capacity-card p {
  color: rgba(255,255,255,0.65);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========== Why Choose Us ========== */
.why {
  padding: 100px 0;
  background: var(--bg-light);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  padding: 26px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(255,106,0,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.contact-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.contact-card p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}
.contact-card a:hover { color: var(--primary-dark); }

/* Email wrapping fix */
.email-text {
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Phone entry with contact name */
.phone-entry {
  margin: 8px 0;
}
.phone-entry p {
  margin: 2px 0 0;
}
.contact-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

/* ========== Footer ========== */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 6% 28px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.footer-brand .brand-agni { color: var(--primary); }
.footer-brand .brand-core { color: #a0a0a0; }
.footer-brand .brand-tech { color: var(--primary); }
.footer-brand p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px;
}
.footer-brand .dot { color: var(--primary); margin: 0 4px; }

.copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ========== Book / Folder Project Widget ========== */
.book-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 20px 0 40px;
  flex-wrap: wrap;
}

.book-link {
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}

/* The whole folder */
.book-folder {
  position: relative;
  width: 240px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
}
.book-link:hover .book-folder {
  transform: translateY(-10px) rotate(-2deg);
  filter: drop-shadow(0 36px 64px rgba(0,0,0,0.3));
}

/* Pages peeking from top */
.book-pages {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
}

.book-page {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}
.book-page img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* Stagger pages so they peek above cover */
.page-1 { height: 340px; z-index: 7; transform: translateX(-50%) translateY(-4px); }
.page-2 { height: 340px; z-index: 6; transform: translateX(calc(-50% + 5px)) translateY(-10px) rotate(2deg); }
.page-3 { height: 340px; z-index: 5; transform: translateX(calc(-50% - 5px)) translateY(-16px) rotate(-1.5deg); }
.page-4 { height: 340px; z-index: 4; transform: translateX(calc(-50% + 8px)) translateY(-22px) rotate(3deg); }
.page-5 { height: 340px; z-index: 3; transform: translateX(calc(-50% - 8px)) translateY(-28px) rotate(-2.5deg); }
.page-6 { height: 340px; z-index: 2; transform: translateX(calc(-50% + 10px)) translateY(-34px) rotate(4deg); }
.page-7 { height: 340px; z-index: 1; transform: translateX(calc(-50% - 10px)) translateY(-40px) rotate(-3.5deg); }

/* Hover: fan out the pages */
.book-link:hover .page-1 { transform: translateX(-50%) translateY(-8px); }
.book-link:hover .page-2 { transform: translateX(calc(-50% + 18px)) translateY(-18px) rotate(8deg); }
.book-link:hover .page-3 { transform: translateX(calc(-50% - 18px)) translateY(-18px) rotate(-8deg); }
.book-link:hover .page-4 { transform: translateX(calc(-50% + 28px)) translateY(-28px) rotate(14deg); }
.book-link:hover .page-5 { transform: translateX(calc(-50% - 28px)) translateY(-28px) rotate(-14deg); }
.book-link:hover .page-6 { transform: translateX(calc(-50% + 36px)) translateY(-38px) rotate(20deg); }
.book-link:hover .page-7 { transform: translateX(calc(-50% - 36px)) translateY(-38px) rotate(-20deg); }

/* Front cover */
.book-cover {
  position: relative;
  z-index: 10;
  width: 240px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 0 0 2px rgba(255,255,255,0.08);
  margin-top: 50px; /* space for pages peeking above */
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.book-link:hover .book-cover img { transform: scale(1.05); }

.book-cover-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.book-cover-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.book-cover-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.book-open-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--primary);
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.book-link:hover .book-open-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Binder clips */
.book-clip {
  position: absolute;
  z-index: 20;
}
.top-clip {
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 34px;
  border: 3px solid #aaa;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(135deg, #d0d0d0, #888);
}
.top-clip .clip-inner {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 10px;
  border: 3px solid #999;
  border-top: none;
  border-radius: 0 0 4px 4px;
}
.side-clip {
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  width: 14px;
  height: 28px;
  border: 3px solid #aaa;
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #bbb, #999);
}
.side-clip .clip-inner {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 12px;
  border: 3px solid #999;
  border-left: none;
  border-radius: 0 4px 4px 0;
}

/* Book info text */
.book-info {
  max-width: 360px;
}
.book-info h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.book-info p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .book-showcase { flex-direction: column; gap: 40px; }
  .book-info { text-align: center; }
  .book-info .project-tags { justify-content: center !important; }
}

/* ========== Stats Bar ========== */
.stats-bar {
  background: var(--bg-dark);
  padding: 36px 0;
  border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-right: 1px solid var(--glass-border);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 1.4rem; color: var(--primary); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Project Cover Enhancements ========== */
.project-cover-link { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
.project-cover-image { width: 100%; max-width: 480px; border-radius: var(--radius); display: block; transition: transform 0.4s ease; }
.project-cover-link:hover .project-cover-image { transform: scale(1.04); }
.project-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius);
}
.project-cover-overlay span {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  background: var(--primary);
  padding: 10px 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-cover-link:hover .project-cover-overlay { opacity: 1; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.tag {
  background: rgba(255,106,0,0.1);
  color: var(--primary);
  border: 1px solid rgba(255,106,0,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37,211,102,0.6);
}
.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: #111;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ========== Gallery Captions ========== */
.gallery-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  text-align: center;
  background: #fff;
}

/* ========== Project Scope Bar ========== */
.project-scope-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0;
}
.project-scope-bar span {
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.2);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--glass-border); }
  .whatsapp-float { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.6rem; }
}

/* ========== Scroll Reveal Animations ========== */

/* ========== Project thumbnails (book style) ========== */
.project-gallery-cta { text-align: center; margin: 16px 0 18px; }

.project-store {
  width: 130px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.04);
  padding: 14px 10px;
}

.project-store-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: 0.2px;
}







/* Hide small numbered thumbnails block in index.html */
/* .project-thumb intentionally left enabled; numbered thumbnails exist in levis-gallery.html only */


.project-book-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.project-thumb {
  width: 130px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.project-thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}
.project-thumb-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }

/* Stagger children in grids */
.grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.grid .reveal:nth-child(4) { transition-delay: 0.35s; }

.features .reveal:nth-child(1) { transition-delay: 0.05s; }
.features .reveal:nth-child(2) { transition-delay: 0.12s; }
.features .reveal:nth-child(3) { transition-delay: 0.19s; }
.features .reveal:nth-child(4) { transition-delay: 0.26s; }
.features .reveal:nth-child(5) { transition-delay: 0.33s; }

.capacity .reveal:nth-child(1) { transition-delay: 0.08s; }
.capacity .reveal:nth-child(2) { transition-delay: 0.18s; }

.contact-grid .reveal:nth-child(1) { transition-delay: 0.08s; }
.contact-grid .reveal:nth-child(2) { transition-delay: 0.16s; }
.contact-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 28px;
    background: rgba(11,11,13,0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    gap: 18px;
  }
  .nav-links.active { transform: translateX(0); }
  .hamburger { display: flex; z-index: 1001; }

  .hero { padding: 130px 6% 60px; min-height: auto; }

  .capacity { flex-direction: column; align-items: center; }
  .capacity-card { max-width: 100%; width: 100%; }

  .features { grid-template-columns: 1fr; }

  .grid { grid-template-columns: 1fr; }
}