/* ==========================================================================
   Sujal Pachpande Portfolio Design System & Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Butler';
  src: url('../assets/fonts/Butler-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('../assets/fonts/Butler-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('../assets/fonts/Butler.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mist-gray: #eeecec;
  --dark-sage: #2d332f;
  --black: #111112;
  --white: #ffffff;
  --dove-gray: #b9b3b3;
  --off-white: #f7f7f3;
  --white-smoke: #f5f5f5;
  --frost-gray: #ededed;
  --font-serif: 'Butler', 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  text-size-adjust: 100%;
  font-family: sans-serif;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--mist-gray);
  color: var(--dark-sage);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

a {
  color: var(--dark-sage);
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-sage);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 15px;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p {
  color: #16182c;
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.navbar {
  background-color: rgba(238, 236, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  min-height: 90px;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 600;
  padding-left: 50px;
  padding-right: 50px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid rgba(45, 51, 47, 0.06);
}

.container {
  z-index: 9;
  flex: 1 1 0%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
}

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

.logo-container {
  align-items: center;
  display: flex;
  cursor: pointer;
  text-decoration: none;
}

.portrait-wrapper {
  border-radius: 300px;
  width: 44px;
  height: 44px;
  margin-right: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease;
}

.logo-container:hover .portrait-wrapper {
  transform: scale(1.06);
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-links-wrapper {
  justify-content: flex-end;
  align-items: center;
  display: flex;
  gap: 36px;
}

.nav-link {
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--dark-sage);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.w--current::after {
  width: 100%;
}

.nav-link.w--current {
  font-weight: 500;
  color: var(--dark-sage);
}

.small-nav-button {
  border: 1px solid var(--dark-sage);
  background-color: var(--dark-sage);
  color: var(--white);
  text-align: center;
  border-radius: 14px;
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.small-nav-button:hover {
  border-color: var(--black);
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.primary-button {
  border: 1px solid var(--dark-sage);
  background-color: var(--dark-sage);
  color: var(--white);
  text-align: center;
  border-radius: 17px;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.primary-button:hover {
  border-color: var(--black);
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 51, 47, 0.18);
}

.secondary-button {
  border: 1px solid var(--dark-sage);
  color: var(--dark-sage);
  background-color: transparent;
  border-radius: 17px;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.secondary-button:hover {
  background-color: var(--dark-sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 51, 47, 0.14);
}

/* ==========================================================================
   Hamburger & Fullscreen Overlay Menu
   ========================================================================== */

.menu-button {
  color: var(--black);
  cursor: pointer;
  background-color: transparent;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  display: none;
  border: none;
  outline: none;
  z-index: 700;
}

.hamburger-icon-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 28px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.line-1, .line-2, .line-3 {
  background-color: var(--black);
  height: 2px;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease, width 0.3s ease;
}

.line-1 {
  width: 16px;
  transform-origin: 100% center;
}

.line-2 {
  width: 28px;
}

.line-3 {
  width: 20px;
  transform-origin: 100% center;
}

/* Active Hamburger Animation */
.menu-button.w--open .hamburger-icon-wrapper {
  transform: rotate(-45deg);
}

.menu-button.w--open .line-1 {
  transform: rotate(-90deg) translate(-2px, -3px);
  width: 14px;
}

.menu-button.w--open .line-2 {
  transform: scaleX(0.65);
}

.menu-button.w--open .line-3 {
  transform: rotate(-90deg) translate(2px, 3px);
  width: 14px;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 550;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu.w--open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--off-white);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu.w--open .menu-bg {
  transform: translateY(0%);
}

.menu-links-wrapper {
  position: relative;
  z-index: 300;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.menu-nav-link {
  font-family: var(--font-serif);
  font-size: 54px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.menu.w--open .menu-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.menu.w--open .menu-nav-link:nth-child(1) { transition-delay: 0.25s; }
.menu.w--open .menu-nav-link:nth-child(2) { transition-delay: 0.35s; }
.menu.w--open .menu-nav-link:nth-child(3) { transition-delay: 0.45s; }
.menu.w--open .menu-nav-link:nth-child(4) { transition-delay: 0.55s; }

.menu-nav-link:hover {
  color: #7d8580;
  transform: translateX(12px);
}

.menu-nav-link.w--current {
  color: var(--dark-sage);
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Announcement Top Banner */
.banner {
  background-color: var(--dark-sage);
  color: var(--white);
  padding: 10px 44px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.02em;
}

.banner-link {
  color: var(--white);
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 500;
}

.banner-link:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px 4% 80px;
  position: relative;
  overflow: hidden;
}

.hero-intro-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: 78px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark-sage);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.heading-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image-wrapper {
  object-fit: cover;
  border-radius: 300px;
  width: 150px;
  height: 60px;
  overflow: hidden;
  display: inline-flex;
  vertical-align: middle;
  margin: 0 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.hero-image-wrapper:hover {
  transform: scale(1.05);
}

.hero-subheading {
  font-size: 20px;
  line-height: 1.6;
  max-width: 680px;
  margin: 20px auto 36px;
  color: #4a514d;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(45, 51, 47, 0.15);
  background-color: var(--white);
  color: var(--dark-sage);
  border-radius: 200px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.pill-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38a169;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 51, 47, 0.08);
  color: var(--dark-sage);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(45, 51, 47, 0.15);
  background: var(--white);
  color: var(--dark-sage);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
}

.live-demo-tag {
  background: #276749;
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Project List & Hover Thumbnail (Signature Webflow Interaction)
   ========================================================================== */

.section {
  padding: 90px 50px;
  position: relative;
}

.section.reduced-top-margin {
  padding-top: 20px;
}

.project-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(45, 51, 47, 0.15);
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--dark-sage);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark-sage);
  color: var(--white);
  border-color: var(--dark-sage);
}

.project-list-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid rgba(45, 51, 47, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s ease, padding 0.3s ease;
}

.project-list-wrapper:first-child {
  border-top: 1px solid rgba(45, 51, 47, 0.12);
}

.project-list-wrapper:hover {
  border-color: var(--black);
  padding: 44px 0;
}

.project-details-z-index {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-name-heading {
  font-family: var(--font-serif);
  font-size: 58px;
  line-height: 1.15;
  color: var(--dark-sage);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  letter-spacing: -0.01em;
}

.project-list-wrapper:hover .project-name-heading {
  transform: scale(1.02);
  color: var(--black);
}

.project-category-meta {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dove-gray);
  margin-top: 8px;
  transition: color 0.3s ease;
}

.project-list-wrapper:hover .project-category-meta {
  color: var(--dark-sage);
}

/* Floating Follow-Cursor Thumbnail Container */
.project-thumbnail {
  position: absolute;
  top: 50%;
  left: 65%;
  width: 320px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 15;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  background-color: var(--dark-sage);
}

.project-thumbnail.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.project-list-wrapper:hover .project-thumbnail-image {
  transform: scale(1.06);
}

/* Global Floating Cursor Follower (Alternative silky smooth tracking) */
#floating-cursor-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, left, top;
}

#floating-cursor-preview.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#floating-cursor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Featured Grid / Cards Section
   ========================================================================== */

._2-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.thumbnail-wrap {
  border-radius: 28px;
  min-height: 440px;
  max-height: 520px;
  margin-bottom: 26px;
  overflow: hidden;
  position: relative;
  background-color: #e4e2e2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumbnail-wrap:hover img {
  transform: scale(1.05);
}

.featured-project-heading {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--black);
}

.content-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.description-wrapper {
  width: 60%;
}

.project-description {
  font-size: 21px;
  line-height: 1.5;
  color: #383e3a;
}

/* ==========================================================================
   Philosophy / Quote Section
   ========================================================================== */

.quote-section {
  background-color: var(--off-white);
  border-radius: 32px;
  padding: 90px 60px;
  margin: 60px 0;
  text-align: center;
  position: relative;
  border: 1px solid rgba(45, 51, 47, 0.08);
}

.quote-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-style: italic;
  line-height: 1.35;
  max-width: 860px;
  margin: 0 auto 20px;
  color: var(--dark-sage);
}

.quote-author {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dove-gray);
}

/* ==========================================================================
   3-Column Skills & Capabilities
   ========================================================================== */

._3-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

._3-column-grid.skills-section {
  gap: 40px;
  margin-top: 40px;
}

.skill-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(45, 51, 47, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.skill-number {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--dove-gray);
  margin-bottom: 20px;
}

.skill-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--dark-sage);
}

.skill-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #555d58;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badge {
  background-color: var(--mist-gray);
  color: var(--dark-sage);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* ==========================================================================
   About Page Layouts
   ========================================================================== */

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.about-portrait-wrap {
  border-radius: 32px;
  overflow: hidden;
  height: 580px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-tagline {
  font-size: 22px;
  line-height: 1.5;
  color: var(--dark-sage);
  margin-bottom: 24px;
}

.experience-list {
  margin-top: 40px;
  border-top: 1px solid rgba(45, 51, 47, 0.12);
}

.experience-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(45, 51, 47, 0.12);
}

.experience-role {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--dark-sage);
}

.experience-meta {
  font-size: 15px;
  color: var(--dove-gray);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

._2-column-grid.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-left-side-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-heading-margin {
  margin-bottom: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dove-gray);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 18px;
  color: var(--dark-sage);
  font-weight: 500;
}

.input-field-base-option-2 {
  background-color: var(--dark-sage);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(45, 51, 47, 0.16);
  color: var(--white);
}

.form-group {
  margin-bottom: 24px;
}

.input-label-option-2 {
  color: var(--white);
  text-transform: capitalize;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  display: block;
  letter-spacing: 0.02em;
}

.form-input-option-2 {
  width: 100%;
  color: #ddf1e6;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  outline: none;
}

.form-input-option-2:focus {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.form-input-option-2::placeholder {
  color: var(--dove-gray);
  opacity: 0.8;
}

textarea.form-input-option-2 {
  min-height: 140px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--white);
  color: var(--dark-sage);
  border: 1px solid var(--white);
  border-radius: 14px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.form-submit-btn:hover {
  background-color: var(--mist-gray);
  border-color: var(--mist-gray);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-success-banner {
  display: none;
  background-color: #276749;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 20px;
  font-size: 15px;
  text-align: center;
}

/* ==========================================================================
   Project Detail / Case Study
   ========================================================================== */

.project-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 4% 60px;
  text-align: center;
}

.project-title-large {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.project-meta-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.project-hero-media {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.project-hero-media img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  display: block;
}

.project-info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-item-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dove-gray);
  margin-bottom: 4px;
}

.sidebar-item-value {
  font-size: 18px;
  color: var(--dark-sage);
  font-weight: 500;
}

.sidebar-doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--white);
  border: 1.5px solid #d2d6d4;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-sage);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(45, 51, 47, 0.04);
}

.sidebar-doc-link:hover {
  background-color: var(--dark-sage);
  color: var(--white);
  border-color: var(--dark-sage);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(45, 51, 47, 0.14);
}

.sidebar-doc-link .link-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-doc-link .link-arrow {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sidebar-doc-link:hover .link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}


.project-body h3 {
  margin-bottom: 20px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-item.full-width {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(45, 51, 47, 0.12);
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.project-nav-link {
  display: flex;
  flex-direction: column;
}

.project-nav-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dove-gray);
}

.project-nav-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--dark-sage);
}

/* ==========================================================================
   Project Detail Quick-Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: var(--off-white);
  border-radius: 28px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist-gray);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--dark-sage);
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--dark-sage);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-image-wrap {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  z-index: 99;
  padding: 60px 50px 40px;
  border-top: 1px solid rgba(45, 51, 47, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 14px;
  color: #727a75;
}

.footer-links-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.footer-link-divider {
  color: var(--dove-gray);
  font-size: 14px;
}

.link-underline {
  background-color: rgba(17, 17, 18, 0.15);
  height: 2px;
  position: relative;
  width: 100%;
  margin-top: 2px;
  overflow: hidden;
}

.link-underline-animation {
  background-color: var(--dark-sage);
  width: 0%;
  height: 2px;
  transition: width 0.35s ease;
}

.footer-link:hover .link-underline-animation {
  width: 100%;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media screen and (max-width: 991px) {
  .navbar {
    padding-left: 24px;
    padding-right: 24px;
    min-height: 76px;
  }
  .nav-links-wrapper {
    display: none;
  }
  .menu-button {
    display: flex;
  }
  .hero-heading {
    font-size: 58px;
  }
  .project-name-heading {
    font-size: 46px;
  }
  ._2-column-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  ._3-column-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-portrait-wrap {
    height: 440px;
  }
  ._2-column-grid.contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section {
    padding: 70px 24px;
  }
  .project-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-thumbnail {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  h1 { font-size: 42px; line-height: 1.2; }
  h2 { font-size: 32px; }
  .hero-heading {
    font-size: 44px;
  }
  .project-name-heading {
    font-size: 36px;
  }
  .hero-image-wrapper {
    width: 100px;
    height: 44px;
    margin: 0 6px;
  }
  ._3-column-grid {
    grid-template-columns: 1fr;
  }
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.full-width {
    grid-column: span 1;
  }
  .menu-nav-link {
    font-size: 38px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media screen and (max-width: 479px) {
  .hero-heading {
    font-size: 36px;
  }
  .project-name-heading {
    font-size: 30px;
  }
  .section {
    padding: 50px 16px;
  }
  .input-field-base-option-2 {
    padding: 24px 18px;
  }
}
