/* ==============================================
   DESIGNSCAPE — Gamma Pearl Theme Replica
   Matched to exact Gamma rendered values
   ============================================= */

/* ---------- RESET + BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #007bff;
  /* Vibrant Blue */
  --secondary-color: #2ecc71;
  /* Vibrant Green */
  --accent-color: #007bff;
  --accent-alt: #27ae60;
  --text-primary: #1e272e;
  --text-secondary: #485460;
  --bg-primary: #dfe4ea;
  /* Deeper, more sophisticated soft grey */
  --bg-secondary: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.08);
  --blue-gradient: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
  --green-gradient: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  --body-bg: linear-gradient(180deg, #f1f2f6 0%, #dfe4ea 100%);
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--body-bg);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-17c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm13-46c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23000" fill-opacity="0.02" fill-rule="evenodd"/%3E%3C/svg%3E');
  /* Subtle texture */
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.card-h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-align: center;
  /* Centered as requested */
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  /* Centered */
}

.card-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  /* Centered */
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero-main-logo {
  max-width: 600px;
  width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  /* Centered */
  display: block;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-tagline {
  text-align: center;
  /* Centered */
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  height: 65px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-main);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav-logo-link:hover {
  transform: translateY(-2px);
}

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-separator {
  width: 1px;
  height: 30px;
  background: var(--glass-border);
}

/* ==============================================
   NAVBAR & MOBILE MENU
   ============================================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-cta {
  background: var(--blue-gradient);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

/* ==============================================
   DECK — Card scroll container (Gamma style)
   ============================================= */
/* ==============================================
   DECK — Section container
   ============================================= */
.deck {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 120px 20px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==============================================
   CARD BASE — Floating glass sections
   ============================================= */
.card {
  position: relative;
  width: 100%;
  padding: 100px 60px;
  border-radius: 40px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-main);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.15;
  filter: grayscale(20%);
  transition: transform 0.6s ease;
}

.card:hover .card-bg-img {
  transform: scale(1.05);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-inner {
  width: min(100%, 64.5em);
  margin: 0 auto;
  padding: 0 3.5em;
}

/* Accent (full-bleed) background image */
.card-accent-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for "behind" cards */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

/* Light/white overlay for hero card */
/* ==============================================
   HERO POLISH
   ============================================= */
.card-content-hero {
  text-align: center;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.4;
  font-weight: 300;
}

.card-overlay-light {
  background: rgba(255, 255, 255, 0.85);
}

/* ==============================================
   CARD — BEHIND LAYOUT (hero, solution)
   ============================================= */
.card-behind {
  min-height: 24em;
  display: flex;
  align-items: center;
}

.card-behind-light {
  min-height: 0;
}

.card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.card-content-hero {
  width: min(100%, 64.5em);
  margin: 0 auto;
  padding: 4.75em 3.5em;
}

#card3 .card-inner {
  padding: 4.75em 3.5em;
}

/* Logo row inside hero — Gamma uses 76%/24% grid */
.hero-logo-row {
  display: grid;
  grid-template-columns: 76% 24%;
  margin-bottom: 1.125em;
}

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

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

/* Hero tagline — regular paragraph in Gamma, dark text on white overlay */
.hero-tagline {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #3C3939;
  line-height: 1.6;
  margin-bottom: 1.125em;
}

/* Hidden h1 (Gamma's empty heading at bottom of hero) */
.hero-h1-hidden {
  display: none;
}

/* ==============================================
   CARD — LEFT LAYOUT (25%/75% or 37.5%/62.5%)
   ============================================= */
.card-left {
  display: grid;
  grid-template-columns: 25% 75%;
  width: min(100%, 64.5em);
  margin: 0 auto;
  min-height: 24em;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.card-left-half {
  grid-template-columns: 37.5% 62.5%;
}

#card4 {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

#card4 .card-left-accent {
  overflow: visible;
}

#card4 .card-left-img {
  background-size: contain;
  background-position: center;
}

.card-left-accent {
  position: relative;
  overflow: hidden;
  margin: 1em 0 1em 1em;
  border-radius: 0.35em;
}

.card-left-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.card-left-content {
  display: flex;
  align-items: center;
  padding: 4.75em 3.5em;
}

.card-left-content .card-inner {
  padding: 0;
  max-width: 100%;
  width: 100%;
}

/* ==============================================
   CARD — BLANK LAYOUT (standard sections)
   ============================================= */
.card-blank {
  padding: 4.75em 0;
  background: transparent;
}

/* ==============================================
   GRID LAYOUTS
   ============================================= */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  /* Increased gap for better readability */
  align-items: center;
  /* Vertical center alignment */
  margin-top: 2rem;
}

.grid-img-text {
  align-items: center;
  gap: 4rem;
}

.grid-60-40 {
  grid-template-columns: 3fr 2fr;
  /* 60/40 */
}

.grid-45-55 {
  grid-template-columns: 45fr 55fr;
}

.grid-text-img .text-cell {
  order: 1;
}

.grid-text-img .img-cell {
  order: 2;
}

.img-cell {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Cinematic standard for professional feel */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* For the Eight Powerful Modules section, make the image container larger */
/* Remove specific card height in favor of the new global rule */
#card5 .img-cell {
  width: 100%;
}

/* Grid cells get inner padding */
.grid-cell {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Vertical alignment for text */
}

.content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.content-img-modules,
.content-img-present {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-contact {
  align-items: start;
  gap: 1px;
}

.contact-imgs {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
}

.contact-map-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75em;
  box-shadow: 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  transform-origin: left top;
}

.contact-map-img:hover {
  transform: scale(1.02);
}

.contact-brand-img {
  width: 100%;
  max-height: none;
  object-fit: contain;
}

/* ==============================================
   SMART LAYOUT (Gamma's smartLayout)
   ============================================= */
.smart-layout {
  display: grid;
  gap: 1em;
  margin-top: 1.5em;
}

.smart-layout-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Glass dark — for "behind" (dark bg) cards */
.glass-dark .smart-cell {
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.35em;
  padding: 1em;
  color: #fff;
  text-align: center;
}

.glass-dark .smart-cell h4 {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25em;
  margin-bottom: 0.6em;
}

.glass-dark .smart-cell p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1em;
}

.glass-dark .smart-icon {
  margin: 0 auto 0.6em;
  width: 3em;
  height: 3em;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 0.6em;
}

/* Glass light — for light background cards */
.glass-light .smart-cell {
  background: #e1e1ea;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0.0625em solid #c7c7d0;
  border-radius: 0.35em;
  padding: 1em;
  box-shadow: none;
}

.glass-light .smart-cell h4 {
  color: #1B1B27;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25em;
  margin-bottom: 0.6em;
}

.glass-light .smart-cell h3 {
  color: #1B1B27;
  font-family: 'Raleway', sans-serif;
  font-size: 1.25em;
  margin-bottom: 0.6em;
}

.glass-light .smart-cell p {
  color: #3C3939;
  font-size: 1em;
}

.smart-solid-icons .smart-cell {
  text-align: left;
}

#card3 .smart-solid-icons .smart-cell {
  text-align: left;
}

#card3 .smart-icon-center .smart-icon {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 1rem;
}

.smart-solid-icons .smart-icon {
  margin: 0 auto 0.6em;
  width: 3em;
  height: 3em;
  padding: 0.75em;
  border-radius: 999px;
  background: #1B1B27;
}

.smart-solid-icons .smart-icon img {
  filter: invert(1) brightness(10);
}

.smart-arrows {
  gap: 0;
  grid-template-columns: 1fr;
}

.smart-arrows .smart-cell {
  display: flex;
  align-items: flex-start;
  gap: 1.15em;
  min-height: 7.8em;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.smart-arrows .smart-cell+.smart-cell {
  margin-top: 0;
}

.smart-arrows .smart-icon {
  position: relative;
  flex: 0 0 5.75em;
  width: 5.75em;
  min-height: 7.6em;
  height: 100%;
  margin: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smart-arrows .smart-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 132' preserveAspectRatio='none'%3E%3Cpath d='M1 1 L50 18 L99 1 L99 118 L50 131 L1 118 Z' fill='%23dfe0e6' stroke='%23c9ccd4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.smart-arrows .smart-icon img {
  position: relative;
  z-index: 1;
  width: 1.45em;
  height: 1.45em;
  filter: none;
}

.smart-arrows .smart-cell>div:last-child {
  flex: 1 1 auto;
  padding: 0.95em 0 0.7em;
}

.smart-arrows h4,
.smart-arrows p {
  text-align: left;
}

/* Smart layout cells with images (card 6, 9) */
.smart-img-cards .smart-cell.img-card {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.smart-img-cards .smart-cell.img-card .smart-cell-img {
  aspect-ratio: 1.618;
  overflow: hidden;
}

.smart-img-cards .smart-cell.img-card .smart-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.35em;
  transition: transform 0.4s ease;
}

.feature-furniture {
  object-position: 72.27% 69.85%;
}

.feature-exterior {
  object-position: 55.32% 17.58%;
}

.feature-maps {
  object-position: center;
}

.benefit-confidence {
  object-position: 47.61% 42.86%;
}

.benefit-profit {
  object-position: 48.94% 38.53%;
}

.smart-img-cards .smart-cell.img-card:hover .smart-cell-img img {
  transform: scale(1.04);
}

.smart-img-cards .smart-cell.img-card h4,
.smart-img-cards .smart-cell.img-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25em;
  color: #1B1B27;
  padding: 1em 1em 0.4em;
  margin-bottom: 0;
}

.smart-img-cards .smart-cell.img-card p {
  padding: 0 1em 1em;
  font-size: 1em;
  color: #3C3939;
  margin-bottom: 0;
}

/* Centered icon smart layout */
.smart-icon-center .smart-cell {
  text-align: center;
}

.smart-icon-center .smart-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Text utility */
.text-center {
  text-align: center;
}

.card-lead.text-center {
  margin-left: auto;
  margin-right: auto;
}

.smart-stats {
  gap: 1.25em;
}

.smart-stats .smart-cell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

/* Stat numbers (BOM section) */
.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 3.3em;
  font-weight: 700;
  color: #808080;
  line-height: 1;
  margin-bottom: 0.4em;
}

/* Icon inside smart cell */
.smart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  margin-bottom: 0.6em;
}

.smart-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.smart-icon.dark img {
  filter: none;
  /* keep original color on light bg */
}

.gamma-badge {
  position: fixed;
  right: 0.25rem;
  bottom: 0.25rem;
  z-index: 20;
  display: inline-flex;
  align-items: stretch;
}

/* ==============================================
   CONTACT / INQUIRY SECTION
   ============================================= */
.get-in-touch-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.inquiry-form-container {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-text p,
.info-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-links-section {
  margin-top: 40px;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.social-icon-btn {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

/* ==============================================
   FOOTER
   ============================================= */
.site-footer {
  background: radial-gradient(circle at top right, #1a1a2e, #0f0f1a);
  padding: 100px 0 80px;
  /* Increased bottom padding to prevent clipping */
  position: relative;
  border-top: 4px solid transparent;
  border-image: var(--blue-gradient) 1;
  color: var(--text-secondary);
  overflow: visible;
  /* Prevent clipping */
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  /* Subtle grid pattern */
  opacity: 0.5;
  pointer-events: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  /* Better balance */
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-brand .nav-logos {
  margin-bottom: 30px;
}

.footer-brand p {
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(178, 190, 195, 0.8);
}

.footer-heading {
  color: #bcbaba;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(10px);
}

.footer-links a:hover::before {
  content: '→';
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1400px;
  margin: 100px auto 0;
  padding: 40px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  text-align: left;
}

.footer-bottom p {
  color: #ffffff;
  /* Maximum visibility */
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 1;
  /* Removed transparency */
}

.footer-bottom strong {
  color: var(--secondary-color);
  /* Highlight with green for visibility */
  font-weight: 700;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 20px;
}

.powered-by span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.powered-by a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.powered-by a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.powered-by img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Hide Gamma Badge as requested */
.gamma-badge {
  display: none !important;
}

/* ==============================================
   BUTTONS (Gamma style)
   ============================================= */
.button-group {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  margin-top: 0.5em;
  margin-bottom: 0;
}

.button-group-left {
  margin-top: 1.5em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  border-radius: 0.375em;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.6;
  min-height: 2.75em;
  transition: all 0.2s ease-out;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
}

/* Primary filled button */
.btn-solid {
  background: var(--blue-gradient);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

/* Outline button */
.btn-ghost {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Outline button (white bg, dark border via inset shadow) */
.btn-ghost,
.btn-ghost-dark {
  background: #ffffff;
  color: #1B1B27;
  box-shadow: inset 0 0 0 max(1px, 0.0625em) #1B1B27;
}

.btn-ghost:hover,
.btn-ghost-dark:hover {
  background: #f5f5f5;
}

/* ==============================================
   CALLOUT BOX (Card 10 contact)
   ============================================= */
.callout-box {
  background: #cfcfcf;
  border: 0;
  border-radius: 0.35em;
  padding: 1.4em 1.35em 1.45em;
  margin: 1.15em 0 0;
}

.callout-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: #5f5f5f;
}

.callout-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.callout-box h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25em;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.callout-body {
  padding-left: calc(1.35rem + 1rem);
}

.callout-box p {
  font-size: 1em;
  color: #1f1f1f;
  line-height: 1.45;
  margin-bottom: 1.05rem;
}

.callout-box p strong {
  color: #000;
  font-weight: 700;
}

/* ==============================================
   CARD-SPECIFIC BACKGROUND IMAGES (via CSS)
   ============================================= */
#card1 .card-accent-bg {
  background-image: url('images/interior_vis.jpg');
}

#card2 .card-left-img {
  background-image: url('images/card_left_accent.png');
  background-position: 52.13% 0;
}

#card3 .card-accent-bg {
  background-image: url('images/card_accent_bg_3.jpg');
}

#card4 .card-left-img {
  background-image: url('images/card_left_img_4.png');
}

.card-inner-raised {
  position: relative;
  z-index: 2;
}

/* ==============================================
   RESPONSIVE OVERHAUL
   ============================================= */
@media (max-width: 1024px) {
  .deck {
    padding: 100px 20px 60px;
    gap: 60px;
  }

  .card {
    padding: 60px 40px;
  }

  .card-inner,
  .card-content-hero,
  .card-left-content,
  #card3 .card-inner {
    padding-left: 2em;
    padding-right: 2em;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar-inner {
    padding: 0 20px;
  }

  .nav-links-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-secondary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 20px;
    z-index: 999;
  }

  .nav-links-wrapper.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .card-inner,
  .card-content-hero,
  .card-left-content,
  #card3 .card-inner {
    padding: 3em 1.5em;
  }

  .grid-2col,
  .grid-60-40,
  .grid-45-55,
  .smart-layout-3 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-cell {
    padding: 1rem 0;
  }

  .get-in-touch-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inquiry-form-container {
    padding: 30px 20px;
  }

  .card-left,
  .card-left-half {
    grid-template-columns: 1fr;
  }

  .card-left-accent {
    height: 250px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .card-inner,
  .card-content-hero,
  .card-left-content,
  #card3 .card-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 30px 15px;
    border-radius: 20px;
  }

  .card-inner,
  .card-content-hero,
  .card-left-content,
  #card3 .card-inner {
    padding: 2em 0.5rem;
  }

  .smart-cell {
    padding: 0.75rem !important;
  }

  .card-h1 {
    font-size: 2rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero-main-logo {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.5;
  }

  .card-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .stat-number {
    font-size: 2.2em;
  }

  .card-h3 {
    font-size: 1.3rem;
  }
}

/* --- Form Feedback Styles --- */
.sent-message {
  display: none;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #27ae60;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.error-message {
  display: none;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #c0392b;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.text-light { color: #fff !important; }
.text-danger { color: #e74c3c !important; }
.bg-light { background-color: #f8f9fa !important; }