/* ==========================================================================
   PROOMNI ELECTRICAL SERVICES - PRODUCTION STYLESHEET
   Design Baseline: ProOmni Commercial Brand Alignment (#011739 Deep Navy)
   Primary Color: #011739 (Deep Navy), Secondary: #3BB8EA (Cyan), Accent: #D18033 (Amber)
   Requirement: Sharp Corners (Zero Border Radius), High Accessibility (WCAG AA)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES / DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary: #011739;   /* Global Deep Navy Primary */
  --color-secondary: #3BB8EA; /* Cyan Technical Accent */
  --color-accent: #D18033;    /* Action Amber Accent */
  --color-white: #FFFFFF;
  --color-dark: #011739;

  /* Neutral Scale */
  --color-gray-50: #f0f2f5;
  --color-gray-100: #EEF2F7;
  --color-gray-200: #DCE5EF;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-700: #334155;
  --color-gray-900: #0F172A;

  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-error: #EF4444;
  --color-success: #10B981;

  /* Typography */
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3.25rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --lh-tight: 1.2;
  --lh-body: 1.65;

  /* Layout & Spacing - Generous Whitespace */
  --container-max: 1320px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 6.5rem;

  /* Elevation & Transition */
  --shadow-sm: 0 4px 12px rgba(1, 23, 57, 0.05);
  --shadow-md: 0 10px 30px rgba(1, 23, 57, 0.08);
  --shadow-lg: 0 20px 40px rgba(1, 23, 57, 0.12);
  --transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. MODERN CSS RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Sharp corners constraint */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

::selection {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

body.no-scroll {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. REUSABLE UTILITIES & SECTION BADGES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-top: 0.25rem;
  line-height: var(--lh-tight);
}

/* Subtle Section Label (Simple Typographic Label) */
.section-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. HEADER & STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(1, 23, 57, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.5rem;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--color-secondary);
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 80px);
  background-color: var(--color-primary);
  border-left: 2px solid var(--color-secondary);
  padding: 2.5rem 1.5rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  color: var(--color-white);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-secondary);
  padding-left: 0.5rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(1, 23, 57, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (Full-Width Background Image, Right Positioned)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--color-primary);
  background-image: linear-gradient(90deg, #011739 0%, #011739 42%, rgba(1, 23, 57, 0.75) 68%, rgba(1, 23, 57, 0.35) 100%), url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding-top: 180px;
  padding-bottom: 7rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  text-align: left;
  animation: heroSlideRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-content h1 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: var(--fs-md);
  color: var(--color-gray-200);
  line-height: var(--lh-body);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-phone svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-secondary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. ABOUT SECTION (Natural Content Height & SVG Masked Image)
   -------------------------------------------------------------------------- */
.about {
  background-color: var(--color-white);
  padding-block: 0 !important;
  width: 100%;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  align-items: stretch; /* Stretches left area to match right section height 1:1 */
}

/* Left 50%: Stretches to 100% of section height (defined by right content column) */
.about-image-masked {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Pushes image right against the content column */
  padding: var(--space-2xl) 2rem var(--space-2xl) 2.5rem;
  background-color: var(--color-white);
}

/* Inner Container matching content column width & right-aligning image */
.about-image-inner {
  max-width: 520px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Desktop Direct PNG Graphic: Reduced size, right-aligned & vertically centered */
.about-desktop-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
  margin-left: auto;
  filter: drop-shadow(0 12px 35px rgba(1, 23, 57, 0.08));
}

.about-mobile-svg {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-parallax-group {
    transform: none !important;
    transition: none !important;
  }
}

/* Right 50%: Content wrapper (Uses standard section vertical spacing system --space-2xl) */
.about-content-wrapper {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 5rem var(--space-2xl) 4rem; /* Standard section breathing room (6.5rem) */
  /* NO height: 100% */
  /* NO min-height */
  /* NO fixed height */
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  line-height: var(--lh-tight);
}

.about-content p {
  font-size: var(--fs-sm);
  color: var(--color-gray-700);
  margin-bottom: 2rem;
  line-height: var(--lh-body);
}

/* --------------------------------------------------------------------------
   ABOUT FEATURES (2x2 Grid with Internal Dividers Only & Sharp Blue Icons)
   -------------------------------------------------------------------------- */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  border: none !important;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: transparent;
  border: none;
}

/* Subtle internal horizontal divider between row 1 and row 2 */
.about-feature:nth-child(1),
.about-feature:nth-child(2) {
  border-bottom: 1px solid var(--color-gray-200);
}

/* Subtle internal vertical divider between column 1 and column 2 */
.about-feature:nth-child(1),
.about-feature:nth-child(3) {
  border-right: 1px solid var(--color-gray-200);
}

/* Clean padding offsets to prevent outer spacing overflow */
.about-feature:nth-child(1) {
  padding-top: 0;
  padding-left: 0;
}

.about-feature:nth-child(2) {
  padding-top: 0;
  padding-right: 0;
}

.about-feature:nth-child(3) {
  padding-bottom: 0;
  padding-left: 0;
}

.about-feature:nth-child(4) {
  padding-bottom: 0;
  padding-right: 0;
}

/* Solid Blue Square Container (Sharp 90° Corners, No Border Radius) */
.about-feature .feature-icon {
  width: 42px;
  height: 42px;
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0 !important;
}

.about-feature .feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
  stroke-width: 2;
  fill: none;
}

/* Uppercase Bold Primary Label Text */
.about-feature .feature-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION (Unbordered Open Cards & Large Cyan Icons)
   -------------------------------------------------------------------------- */
.services {
  background-color: var(--color-gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  
  border: none !important;
  padding: 2.5rem 1.75rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

/* Large Cyan Line-style Icon (No Box) */
.service-icon {
  width: auto;
  height: auto;
  background: transparent !important;
  padding: 0;
  margin-bottom: 1.25rem;
  display: block;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--color-secondary) !important;
  stroke: none !important;
  transition: transform 0.3s ease;
}

.service-icon svg * {
  fill: var(--color-secondary) !important;
  stroke: none !important;
}

/* Desktop Hover Effects */
@media (min-width: 992px) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border: none !important;
    background-color: var(--color-white) !important;
  }

  .service-card:hover::before {
    width: 100%;
  }

  .service-card:hover .service-icon svg {
    transform: scale(1.05);
  }
}

.service-card h3 {
  font-size: 21px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: var(--fs-xs);
  color: var(--color-gray-700);
  line-height: var(--lh-body);
}

/* --------------------------------------------------------------------------
   8. PROJECTS SECTION (Realizacje - Deep Navy Background & Unbordered Items)
   -------------------------------------------------------------------------- */
.projects {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.projects .section-badge {
  color: var(--color-gray-400);
}

.projects .section-header h2 {
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none !important;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--color-primary);
}

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

.project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 23, 57, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover img,
.project-item:focus-visible img {
  transform: scale(1.08);
}

.project-item:hover::after,
.project-item:focus-visible::after {
  opacity: 1;
}

.projects-actions {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   9. FAQ SECTION (Unbordered Cards)
   -------------------------------------------------------------------------- */
.faq {
  background-color: var(--color-gray-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-white);
  border: none !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  background: transparent;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 2rem;
  font-weight: var(--fw-normal);
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
  content: '−';
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding-inline: 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: var(--fs-xs);
  color: var(--color-gray-700);
  line-height: var(--lh-body);
}

/* --------------------------------------------------------------------------
   10. GOOGLE REVIEWS SECTION (Unchanged)
   -------------------------------------------------------------------------- */
.reviews {
  background-color: var(--color-white);
}

.reviews-wrapper {
  max-width: 800px;
  margin-inline: auto;
}

.google-reviews-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--color-secondary);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.reviews-score {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--color-primary);
}

.stars {
  color: #F59E0B;
  font-size: 1.5rem;
  margin-block: 0.5rem;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION (#011739 Background & 4px Cyan Form Border)
   -------------------------------------------------------------------------- */
.contact {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.contact .section-badge {
  color: var(--color-gray-400);
}

/* H2 Main Heading Remains WHITE */
.contact .section-header h2 {
  color: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Left Column: Direct on Dark Background */
.contact-info {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-secondary);
}

.contact-item h3 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  color: var(--color-white);
}

.contact-item a:hover {
  color: var(--color-secondary);
}

/* Form Container Focal Point with 4px Cyan Border */
.contact-form-wrapper {
  background-color: var(--color-primary);

  border-radius: 0 !important;
  box-shadow: none !important;

}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background-color: transparent;
  border: none;
  padding: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group label .required {
  color: var(--color-secondary);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-size: var(--fs-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border-radius: 0 !important;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder {
  color: var(--color-gray-400);
}

.form-control:focus {
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.1);
}

.form-control.is-invalid {
  border-color: var(--color-error);
}

.field-error {
  display: none;
  font-size: 0.75rem;
  color: #FCA5A5;
  font-weight: var(--fw-medium);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  display: none;
  padding: 1rem 1.25rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  border-left: 4px solid transparent;
}

.form-status.success {
  display: block;
  background-color: rgba(59, 184, 234, 0.15);
  border-left-color: var(--color-secondary);
  color: var(--color-white);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  border-left-color: #EF4444;
  color: #FCA5A5;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer p {
  font-size: var(--fs-xs);
  color: var(--color-gray-400);
}

/* --------------------------------------------------------------------------
   13. LIGHTBOX & BACK TO TOP MODALS
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(1, 23, 57, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-secondary);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-secondary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .contact-wrapper {
    grid-template-columns: 4fr 8fr;
  }

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

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero Mobile & Tablet Centering */
  .hero {
    background-image: linear-gradient(rgba(1, 23, 57, 0.85), rgba(1, 23, 57, 0.85)), url('../assets/images/hero.jpg');
    background-position: center;
    padding-top: 140px;
    padding-bottom: 5rem;
    text-align: center;
  }

  .hero-content {
    margin-inline: auto;
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
    gap: 1.25rem;
  }

  /* Tablet + Mobile: Show About symbol as a standalone subtle decorative vector icon */
  .about-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-image-masked {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 0 1.5rem;
    background-color: var(--color-white);
    height: auto;
  }

  .about-image-inner {
    max-width: 100%;
    height: auto;
    justify-content: center;
  }

  .about-desktop-img {
    display: none !important; /* Hides desktop PNG graphic on mobile */
  }

  .about-mobile-svg {
    display: block !important; /* Shows pure vector cyan 84px symbol icon on mobile */
    width: 100%;
    max-width: 84px !important;
    max-height: 84px !important;
    height: auto;
    margin-inline: auto;
    filter: none !important;
  }

  .about-content-wrapper {
    padding: 1.25rem 1.5rem 4rem 1.5rem;
    width: 100%;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Disable hover effects on touch devices */
  .service-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: var(--color-white) !important;
  }

  .service-card:hover::before {
    width: 0 !important;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-wrapper {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Remove outer and divider borders on about-feature on mobile */
  .about-feature {
    border: none !important;
  }

  /* Projects Section Mobile 1-Column Layout & Hide Items 5-8 */
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .project-item:nth-child(n+5) {
    display: none !important;
  }

  .projects-actions {
    display: flex !important;
    justify-content: center;
    margin-top: 2rem;
  }

  .projects-more-btn {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
  }

  .projects-more-btn:hover,
  .projects-more-btn:active {
    background-color: var(--color-secondary);
    color: var(--color-primary);
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Single Vertical Column Layout (1 column) */
  .about-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    border: none !important;
  }

  .about-feature {
    gap: 0.85rem;
    padding: 0.75rem 0 !important;
    border: none !important; /* Outer & divider borders completely disabled on mobile */
  }

  .about-feature:nth-child(1),
  .about-feature:nth-child(2),
  .about-feature:nth-child(3),
  .about-feature:nth-child(4) {
    border: none !important;
    padding-left: 0;
  }

  .about-feature:nth-child(1) {
    padding-top: 0;
  }

  .about-feature:nth-child(4) {
    padding-bottom: 0;
  }

  .about-feature .feature-icon {
    width: 38px;
    height: 38px;
  }

  .about-feature .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-feature .feature-text {
    font-size: var(--fs-xs);
  }

  .footer-wrapper {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}