/* ==========================================================================
   Designed Growth – Ashish Patil
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #100f29;
  --bg-card: rgba(16, 15, 41, 0.88);
  --orange: #ff6b35;
  --orange-glow: #ff8533;
  --orange-light: #ffaa55;
  --text: #f0f4f8;
  --text-secondary: #d0d8e0;
  --text-muted: #9ca3af;
  --green: #7dcea0;
  --border: rgba(255, 107, 53, 0.10);
  --nav-height: 80px;
  --section-offset: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.mt-4 { margin-top: 3rem; }
.mt-5 { margin-top: 4rem; }
.mb-5 { margin-bottom: 4rem; }

/* ==========================================================================
   SCROLL OFFSET FIX (prevents content under fixed nav)
   ========================================================================== */
section[id] {
  scroll-margin-top: var(--section-offset);
}

#hero {
  scroll-margin-top: calc(var(--section-offset) + 20px);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.18rem, 2.4vw, 1.38rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ==========================================================================
   BUTTON
   ========================================================================== */

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.08rem;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
  transition: all 0.35s ease;
}

.btn:hover {
  background: var(--orange-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.55);
}

.btn.primary {
  font-size: 1.18rem;
  padding: 18px 48px;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(16, 15, 41, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.compass-icon {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: white;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}

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

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg) url('bridge-sunset-final.webp') center/cover no-repeat;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,15,41,0.4) 0%, rgba(16,15,41,0.75) 60%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-signature {
  margin: 2.5rem 0 3.5rem;
}

.hero-signature .name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-signature .title {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badges span {
  background: rgba(255, 107, 53, 0.08);
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.15);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 120px 0 100px;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
  margin-top: 2.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
}

.portrait {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 3.5rem 0;
}

.service {
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, 0.3);
}

.service.standout {
  border-color: rgba(255, 107, 53, 0.35);
  background: rgba(255, 107, 53, 0.04);
}

.service-number {
  color: var(--orange);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #b0b8c4;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-for strong { color: var(--orange-glow); }
.service-outcome strong { color: var(--green); }

.deliverables {
  font-size: 0.98rem;
  color: var(--text-muted);
  padding: 1.4rem 2rem;
  border-radius: 14px;
  background: rgba(255, 107, 53, 0.04);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 3.5rem;
}

.portfolio-item {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.25);
}

.client-logo-wrapper {
  height: 140px;
  background: rgba(16, 15, 41, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portfolio-item h4 {
  font-size: 1.22rem;
  font-weight: 700;
  padding: 20px 24px 4px;
}

.portfolio-item .meta {
  font-size: 0.9rem;
  color: var(--orange-glow);
  padding: 0 24px;
  margin-bottom: 8px;
}

.portfolio-item p {
  font-size: 0.96rem;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.portfolio-item p:last-child {
  padding-bottom: 28px;
}

/* CONTACT */
.contact .lead {
  max-width: 640px;
}

.calendly-wrapper {
  max-width: 800px;
  margin: 2.5rem auto;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}

.or {
  margin: 2.5rem 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.6;
}

.email {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--orange);
  display: block;
  margin: 1rem 0 2rem;
}

.social-links {
  margin: 2rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* FOOTER */
footer {
  padding: 4rem 0 3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .portrait { max-width: 280px; margin: 2rem auto; }
}

@media (max-width: 768px) {
  .hero { padding: 140px 0 80px; min-height: 95vh; }
  h1 { font-size: 3.2rem; }
  .btn.primary { padding: 16px 40px; font-size: 1.05rem; }

  .nav .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .client-logo-wrapper {
    height: 120px;
    padding: 20px 28px;
  }

  .section { padding: 90px 0 70px; }
}