:root {
  /* Colors */
  --color-text-primary: #ffffff;
  --color-text-accent: #facc15; /* Bright yellow for the bottom text */
  --color-bg-dark: #1a1a1a;
  --color-dark-2: #222222;

  /* Typography */
  --font-family-primary:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

@keyframes mechanicalEnter {
  to {
    opacity: 1;
    transform: translate(0);
  }
}
#primeagile__10953  div {
  /* background: #010101; */
  /* color: var(--color-text-accent); */
}
nav {
  background: none !important;
  padding: 0 0 0 6rem !important;
}
nav svg {
  color: var(--color-text-accent)
}
nav img {
  height: 10rem;
  width: auto;
  position: absolute;
  background-color: #010101;
  z-index: 10;
}
nav > div {
  background: var(--color-dark-2);
  padding: 0.3rem 3rem;
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-weight: bolder;
  margin: 1rem;
  border-radius: 0.5rem;
}
nav > div > div {
  gap: 2rem !important;
}
nav > div > div a:hover {
  color: var(--color-text-accent) !important;
}
body {
  background-color: #010101 !important;
  color: var(--color-text-primary);
  font-family: var(--font-family-primary) !important;
  margin: 0;
  padding: 0;
}

#primeagile__10955 {
  padding: 1rem;
  overflow: hidden !important;
}
/* Hero Banner Content */
#primeagile__10957 {
  background: url("https://images.primeagile.com/summitrvsolar_com/image/11003/banner-(2).webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  margin: 0 auto;
  place-items: flex-end;
}

#primeagile__10957 .cta-btn {
  margin-bottom: 3rem;
}

.hero-banner-content {
  padding: var(--spacing-xl);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.hero-title {
  margin: 0;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-primary);
}

.hero-title-line-1 {
  font-size: 4rem;
  font-weight: var(--font-weight-regular);
}

.hero-title-line-2 {
  font-size: 5rem;
  font-weight: var(--font-weight-regular);
}

.hero-highlight {
  font-weight: var(--font-weight-black);
}

.hero-subtitle {
  margin: 0;
  margin-top: var(--spacing-sm);
  color: var(--color-text-primary);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  font-family: var(--font-family-primary);
}

.hero-services {
  margin: 0;
  margin-top: var(--spacing-md);
  color: var(--color-text-accent);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-family: var(--font-family-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-banner-content {
    padding: var(--spacing-lg);
  }
  .hero-title-line-1 {
    font-size: 2.5rem;
  }
  .hero-title-line-2 {
    font-size: 3.25rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
  .hero-services {
    font-size: 1rem;
  }
}

/* Call to Action Button */
.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-text-accent);
  color: #000000;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-black);
  font-size: 1.125rem;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.cta-btn button {
  border: none;
   color:  inherit;
  font-family: inherit;
  font-weight:  inherit;
  font-size: inherit;
  text-transform: inherit;
  padding: 0px;
  background: none;
  /* margin: 0px !important; */
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
  color: #000000;
}

.cta-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Stats Timeline Section */
.stats-timeline-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: #000000;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.stats-timeline-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

/* Base Card State — hidden until .is-visible is added to the container by JS */
.stat-card {
  flex: 1;
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.5s cubic-bezier(0, 0.9, 0.1, 1),
    transform 0.5s cubic-bezier(0, 0.9, 0.1, 1);
  cursor: default;
}

.stat-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  position: relative;
  width: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0, 0.9, 0.1, 1),
    transform 0.5s cubic-bezier(0, 0.9, 0.1, 1);
}

/* Staggered entrance fires only after .is-visible is on the container */
.stats-timeline-container.is-visible .stat-card,
.stats-timeline-container.is-visible .stat-divider {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.stats-timeline-container.is-visible .stat-card:nth-child(1) {
  transition-delay: 0.1s;
}
.stats-timeline-container.is-visible .stat-divider:nth-child(2) {
  transition-delay: 0.2s;
}
.stats-timeline-container.is-visible .stat-card:nth-child(3) {
  transition-delay: 0.3s;
}
.stats-timeline-container.is-visible .stat-divider:nth-child(4) {
  transition-delay: 0.4s;
}
.stats-timeline-container.is-visible .stat-card:nth-child(5) {
  transition-delay: 0.5s;
}
.stats-timeline-container.is-visible .stat-divider:nth-child(6) {
  transition-delay: 0.6s;
}
.stats-timeline-container.is-visible .stat-card:nth-child(7) {
  transition-delay: 0.7s;
}

.stat-title {
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin: 0;
}

.stat-title .highlight {
  color: var(--color-text-accent);
}

/* Vertical Line */
.stat-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: var(--color-text-accent);
  opacity: 0.6;
}

/* The Circle */
.stat-circle {
  width: 12px;
  height: 12px;
  background-color: var(--color-text-accent);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  /* Sharp, mechanical easing for the hover state */
  transition:
    transform 0.3s cubic-bezier(0, 0.9, 0.1, 1),
    box-shadow 0.3s ease;
}

/* Hover Interaction: Hovering a card snaps the adjacent right circle up */
.stat-card:hover + .stat-divider .stat-circle {
  transform: translateY(-20px);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
}

/* Hover Interaction: Hovering the divider itself snaps it down */
.stat-divider:hover .stat-circle {
  transform: translateY(20px);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stats-timeline-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-divider {
    height: 30px;
    width: 100%;
    flex-direction: row;
  }
  .stat-divider::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
  }
}

/* Why Summit Feature Section */
.feature-split-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
}

.feature-split-card {
  background-color: #111111; /* Slightly lighter than #010101 to stand out */
  padding: 0.5rem;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: row;
  border-radius: 4px; /* Industrial, minimal radius */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
}

.feature-split-card.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.feature-content {
  flex: 1;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 30rem;
}

.feature-kicker {
  color: var(--color-text-accent);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.05em;
  margin: 0 0 var(--spacing-sm) 0;
  text-transform: uppercase;
}

.feature-heading {
  color: var(--color-text-primary);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin: 0 0 var(--spacing-lg) 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature-list li {
  color: #a0a0a0;
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  display: flex;
  align-items: center;
  transition:
    color 0.2s cubic-bezier(0, 0.9, 0.1, 1),
    transform 0.2s cubic-bezier(0, 0.9, 0.1, 1);
  cursor: default;
}

/* Subtle Matte Black hover state for list items */
.feature-list li:hover {
  color: var(--color-text-primary);
  transform: translateX(4px);
}

.feature-image-wrapper {
  flex: 1.2;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.4rem;
}

@media (max-width: 900px) {
  .feature-split-card {
    flex-direction: column;
  }
  .feature-image-wrapper {
    min-height: 300px;
  }
  .feature-content {
    padding: var(--spacing-lg);
  }
  .feature-heading {
    font-size: 1.75rem;
  }
}

/* RV Solar Services Section */
.services-list-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
  background-color: transparent;
}

.services-list-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: var(--spacing-xl);
}

.services-header {
  flex: 1;
}

.services-kicker {
  color: var(--color-text-accent);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-20px);
}

.services-kicker.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.services-items {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.service-divider {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: circuitLineDraw 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

@keyframes circuitLineDraw {
  to {
    transform: scaleX(1);
  }
}

.service-item {
  padding: var(--spacing-md) 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: padding-left 0.2s cubic-bezier(0, 0.9, 0.1, 1);
  cursor: default;
}

.service-item.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

/* Subtle indentation on hover like a physical switch */
.service-item:hover {
  padding-left: var(--spacing-md);
}

.service-divider:nth-child(1) {
  animation-delay: 0.2s;
}
.service-item:nth-child(2) {
  animation-delay: 0.3s;
}
.service-divider:nth-child(3) {
  animation-delay: 0.4s;
}
.service-item:nth-child(4) {
  animation-delay: 0.5s;
}
.service-divider:nth-child(5) {
  animation-delay: 0.6s;
}
.service-item:nth-child(6) {
  animation-delay: 0.7s;
}
.service-divider:nth-child(7) {
  animation-delay: 0.8s;
}
.service-item:nth-child(8) {
  animation-delay: 0.9s;
}
.service-divider:nth-child(9) {
  animation-delay: 1s;
}

.service-title {
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  margin: 0;
  transition: color 0.2s cubic-bezier(0, 0.9, 0.1, 1);
}

.service-desc {
  color: #a0a0a0;
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  margin: 0;
}

.service-item:hover .service-title {
  color: var(--color-text-accent);
}

@media (max-width: 900px) {
  .services-list-container {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
}

/* Installation Process Section */
.process-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
}

.process-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.process-card {
  background-color: #111111;
  border-radius: 4px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  transition:
    transform 0.2s cubic-bezier(0, 0.9, 0.1, 1),
    box-shadow 0.2s cubic-bezier(0, 0.9, 0.1, 1),
    border-color 0.2s ease;
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
}

.process-card.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border-color: #333333;
}

.process-card:nth-child(1) {
  animation-delay: 0.1s;
}
.process-card:nth-child(2) {
  animation-delay: 0.2s;
}
.process-card:nth-child(3) {
  animation-delay: 0.3s;
}
.process-card:nth-child(4) {
  animation-delay: 0.4s;
}
.process-card:nth-child(5) {
  animation-delay: 0.5s;
}
.process-card:nth-child(6) {
  animation-delay: 0.6s;
}

.process-card-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.process-step-badge {
  background-color: var(--color-text-accent);
  color: #000000;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-black);
  font-size: 0.9rem;
  padding: 4px 8px;
  text-transform: uppercase;
  border-radius: 2px;
}

.process-card-heading {
  color: var(--color-text-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin: 0;
}

.process-card-desc {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Components Specialized In Section */
.components-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
}

.components-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.components-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

.header-left {
  flex: 1;
}
.header-right {
  flex: 1;
}

.components-collage {
  display: flex;
  position: relative;
  align-items: center;
  gap: 2rem;
}

/* Main Image */
.collage-main-image {
  flex: 1;
  max-width: 50%;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-20px);
}

.collage-main-image.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.collage-main-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  border: 1px solid #222222;
}

/* Arrow SVG */
.collage-arrow {
  position: absolute;
  left: 45%;
  top: 40%;
  width: 15%;
  height: 100px;
  z-index: 2;
  overflow: visible;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.collage-arrow.is-visible {
  animation: drawArrow 1.5s ease forwards 0.8s;
}

@keyframes drawArrow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Circles Group */
.collage-circles-group {
  flex: 1;
  position: relative;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Base Circle Item */
.circle-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
}

.circle-item.is-visible {
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.circle-image-wrapper {
  border-radius: 50%;
  border: 3px solid var(--color-text-accent);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.3s cubic-bezier(0, 0.9, 0.1, 1),
    box-shadow 0.3s ease;
}

.circle-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.circle-item:hover .circle-image-wrapper {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(250, 204, 21, 0.3);
}

.circle-label {
  color: #cccccc;
  font-size: 1rem;
  font-family: var(--font-family-primary);
  margin-top: var(--spacing-sm);
  transition: color 0.2s ease;
}

.circle-item:hover .circle-label {
  color: var(--color-text-primary);
}

/* Large Circle Specifics */
.circle-large {
  width: 350px;
  height: 350px;
  top: 10%;
  left: 0;
  z-index: 2;
  animation-delay: 0.4s;
}

.circle-large .circle-image-wrapper {
  width: 350px;
  height: 350px;
}

.circle-large .circle-label.label-right {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

/* Small Circle Specifics */
.circle-small {
  width: 220px;
  height: 220px;
  bottom: 5%;
  right: 15%;
  z-index: 3;
  animation-delay: 0.6s;
}

.circle-small .circle-image-wrapper {
  width: 220px;
  height: 220px;
}

@media (max-width: 900px) {
  .components-header {
    flex-direction: column;
  }
  .components-collage {
    flex-direction: column;
  }
  .collage-main-image {
    max-width: 100%;
  }
  .collage-arrow {
    display: none;
  }
  .collage-circles-group {
    height: auto;
    gap: var(--spacing-lg);
    align-items: center;
  }
  .circle-item {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
  }
  .circle-large .circle-label.label-right {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: var(--spacing-sm);
  }
}

/* Gallery & Lightbox Section */
.gallery-section {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
}

.gallery-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.gallery-title {
  color: var(--color-text-accent);
  font-size: 2rem;
  font-weight: var(--font-weight-black);
  margin: 0;
  opacity: 0;
  transform: translateX(-20px);
}

.gallery-title.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  opacity: 0;
  transform: translateY(20px);
  outline: none;
}

.gallery-item.is-visible {
  animation: mechanicalEnter 0.6s cubic-bezier(0, 0.9, 0.1, 1) forwards;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0, 0.9, 0.1, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mag-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-accent);
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0, 0.9, 0.1, 1);
}

/* Hover Effects */
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:hover .mag-icon {
  transform: scale(1);
}

/* CSS-Only Lightbox Implementation */
.lightbox {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox:target {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border: 2px solid #333333;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0, 0.9, 0.1, 1);
}

.lightbox:target img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #ffffff;
  font-size: 4rem;
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-weight: 300;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.lightbox-close:hover {
  color: var(--color-text-accent);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer CTA Text */
.footer-cta-text {
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .footer-cta-text {
    font-size: 1.1rem;
  }
}

/* Footer CTA Subtext */
.footer-cta-subtext {
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 3rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .footer-cta-subtext {
    font-size: 2rem;
  }
}
#primeagile__10979 {
  border-top: 2px solid var(--color-text-accent);
  margin-bottom: 5rem;
  place-content: center;
  place-items: center;
  padding: 5rem;
}

#primeagile__10984 {
  padding: 2rem 0;
  gap: 2rem;
  display: flex;
}
/* Footer Bottom Section */
.footer-bottom-section {
  width: 100%;
  background-color: #000000;
  border-top: 2px solid var(--color-text-accent);
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  justify-content: center;
}

.footer-bottom-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-address-block {
  display: flex;
  flex-direction: column;
  justify-self: center;
  text-align: left;
}

.footer-title {
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 4px 0;
}

.footer-text {
  color: #cccccc;
  font-family: var(--font-family-primary);
  font-size: 0.95rem;
  margin: 0;
}

.footer-copyright-block {
  justify-self: end;
  text-align: right;
}

.footer-copyright {
  color: #aaaaaa;
  font-family: var(--font-family-primary);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-address-block,
  .footer-copyright-block {
    justify-self: center;
    text-align: center;
  }
}

.primeagile-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.primeagile-link:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}
/* Modal Styles */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.image-modal .modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Hover effect: show magnifying glass icon */
.expandable-image {
  position: relative;
  transition: transform 0.2s ease;
}

.expandable-image::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.expandable-image:hover::after {
  opacity: 1;
}

.expandable-image:hover {
  transform: scale(1.02);
}

.hidden {
  display: none;
}

#primeagile__11002,
#primeagile__11001 {
  display: flex;
  place-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
}

#primeagile__10995 {
  border-radius: 7px;
  margin: 1rem;
}
/* ── Gallery Header Section ───────────────────────────── */
.gallery-header-section {
  width: 100%;
  background-color: #1a1a1a;
  padding: var(--spacing-xl) var(--spacing-lg);

  padding-top: 25rem;
  display: flex;
  align-items: flex-end;
}

.gallery-header-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.gallery-title {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: 3rem;
  font-weight: var(--font-weight-black);
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
#primeagile__10978 {
  padding: 1rem;
}

.gallery-subtitle {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: #cccccc;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
  }
  .gallery-subtitle {
    font-size: 0.9rem;
  }
}

/* ── Contact Header Section ───────────────────────────── */
.contact-header-section {
  width: 100%;
  background-color: #000000;
  padding: 20rem 0rem 1rem 5rem;
  display: flex;
}

.contact-header-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-main-heading {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: 4rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-sub-heading {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: 1.125rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-accent);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .contact-main-heading {
    font-size: 2.5rem;
  }
  .contact-sub-heading {
    font-size: 1rem;
  }
}

/* ── Contact Form Section ────────────────────────────── */
#primeagile__11008 {
  max-width: 1200px;
  margin: 0 auto;
}
#primeagile__11009 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  padding: var(--spacing-lg) var(--spacing-md);
  box-sizing: border-box;
}

#primeagile__11010.name-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

#primeagile__11009 > div,
#primeagile__11010 > div {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

#primeagile__11009 label {
  font-family: var(--font-family-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

/* Custom label injections using CSS to keep HTML unchanged */
#primeagile__11009 label[for="primeagile__11012"] {
  font-size: 0;
}
#primeagile__11009 label[for="primeagile__11012"]::before {
  content: "Phone Number*";
  font-size: 0.9rem;
  font-family: var(--font-family-primary);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

#primeagile__11009 label[for="primeagile__11013"]::before {
  content: "Subject*";
  font-size: 0.9rem;
  font-family: var(--font-family-primary);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

/* Style Inputs and Textareas */
#primeagile__11009 input,
#primeagile__11009 textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-text-accent);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 1.125rem;
  padding: 0.75rem 0;
  outline: none;
  box-shadow: none;
  transition:
    border-bottom-color 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 0;
}

#primeagile__11009 input:focus,
#primeagile__11009 textarea:focus {
  border-bottom-color: var(--color-text-primary);
}

#primeagile__11009 textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

/* Form Placeholders */
#primeagile__11009 input::placeholder,
#primeagile__11009 textarea::placeholder {
  color: #555555;
  opacity: 1;
}

/* Hide Subject input placeholder to prevent duplicate label */
#primeagile__11013::placeholder {
  color: transparent;
  opacity: 0;
}

/* Responsive styles */
@media (max-width: 600px) {
  #primeagile__11010.name-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  nav img {
    height: 5rem;
  }
  nav {
    padding: 1rem !important;
  }

  #primeagile__10979 {
    padding: 5rem 1rem;
    margin-bottom: 0px;
    gap: 2rem;
    text-align: center;
  }

  #primeagile__10984 {
    flex-direction: column;
  }
}
