@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- Root & Reset --- */
:root {
  --primary: #005be2;
  --primary-hover: #004bb9;
  --primary-light: #edf5ff;
  --dark: #0a0e1a;
  --dark-accent: #111827;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 24px 50px rgba(0, 8b, 226, 0.12);
  
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 100px 0;
  position: relative;
}

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

button, .btn {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 91, 226, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline-blue:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.section-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: var(--transition);
}

header.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

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

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link svg {
  transition: var(--transition);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 91, 226, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
  overflow: visible;
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  position: static;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-title span.highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 72vw;
  height: 100%;
  z-index: 1;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.97) 20%, rgba(255, 255, 255, 0.5) 45%, transparent 80%),
    linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.85) 12%, transparent 28%),
    linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, transparent 15%);
  z-index: 2;
  pointer-events: none;
}

.hero-img-container {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay-loop {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.9) 70%);
}

.light-ring {
  display: none;
}

@keyframes rotateRing {
  from { transform: rotate(-15deg) rotate(0deg); }
  to { transform: rotate(-15deg) rotate(360deg); }
}

/* --- Features Section (Why Choose Aphelion) --- */
.why-choose {
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.why-choose-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 40px;
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.why-header {
  border-right: 1px solid var(--border-color);
  padding-right: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-item:hover .why-icon {
  transform: scale(1.1);
  background-color: var(--primary);
  color: var(--bg-white);
}

.why-item h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- Who We Are Section --- */
.who-we-are {
  background-color: var(--bg-white);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.who-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.who-copy p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.who-copy p:last-child {
  margin-bottom: 0;
}

.who-cta {
  margin-top: 32px;
  align-self: flex-start;
}

.stat-icon {
  display: none;
}

.who-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

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

.who-stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  color: var(--bg-white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.stat-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* --- What We Do (Services) --- */
.services {
  background-color: var(--bg-light);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}

.services-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 500px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.services-grid > *:nth-child(4),
.services-grid > *:nth-child(5) {
  grid-column: span 1;
}

.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.services-row-top,
.services-row-bottom {
  display: contents;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 91, 226, 0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link svg {
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --- Industries We Serve --- */
.industries {
  background-color: var(--bg-white);
}

.industries-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: var(--dark);
}

.industry-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.industry-icon {
  display: none;
}

.industry-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: var(--transition);
}

.industry-card:hover .industry-bg {
  transform: scale(1.08);
  opacity: 0.8;
}

.industries-mobile-cta {
  display: none;
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.3) 50%, rgba(10, 14, 26, 0) 100%);
  z-index: 1;
}

.industry-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
  width: 100%;
}

.industry-content h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.industry-content p {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 16px;
}

.industry-action-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition);
}

.industry-card:hover .industry-action-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* --- Contact / Form Section --- */
.contact-section {
  background: linear-gradient(135deg, rgba(0, 91, 226, 0.03) 0%, rgba(255, 255, 255, 0) 60%), var(--bg-light);
  overflow: hidden;
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  padding-top: 0;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-loc {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-loc svg {
  color: var(--primary);
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.5);
  position: relative;
  z-index: 5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group-full {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label, .form-group-full label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0, 91, 226, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

.contact-bg-building {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.05) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.05) 100%);
}

/* --- Mobile Menu Drawer --- */
.nav-menu-mobile {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--bg-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.nav-menu-mobile.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-menu-mobile .nav-link {
  font-size: 1.2rem;
  padding: 8px 0;
}

/* --- Media Queries --- */

@media (max-width: 1200px) {
  .why-choose-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .why-header {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 24px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .why-header .section-title {
    font-size: 1.65rem;
  }

  .stat-val {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .industry-content h4 {
    font-size: 1rem;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-visual {
    position: relative;
    width: 100%;
    height: 380px;
    top: auto;
    right: auto;
  }
  
  .hero-img-container {
    border-radius: 0;
    box-shadow: none;
  }
  
  .hero-visual::before {
    display: none;
  }
  
  .who-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .who-content {
    max-width: 100%;
  }
  
  .services-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .services-row-top, .services-row-bottom {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  
  .services-row-bottom {
    margin: 0;
  }
  
  .services-grid-wrapper {
    gap: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-bg-building {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  section {
    padding: 60px 0;
  }

  /* --- Header --- */
  .nav-menu {
    display: none;
  }

  .header-right .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* --- Hero (mobile spotlight) --- */
  .hero {
    padding-top: 96px;
    padding-bottom: 0;
    min-height: auto;
    background-color: var(--bg-light);
    background-image:
      radial-gradient(circle at 78% 12%, transparent 58%, rgba(0, 91, 226, 0.05) 59%, transparent 60%),
      radial-gradient(circle at 78% 12%, transparent 42%, rgba(0, 91, 226, 0.07) 43%, transparent 44%),
      radial-gradient(circle at 78% 12%, transparent 28%, rgba(0, 91, 226, 0.04) 29%, transparent 30%);
    overflow: hidden;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-content {
    max-width: 100%;
    align-items: flex-start;
    padding: 0 20px 36px;
    z-index: 3;
  }

  .hero-content .section-tag {
    margin-bottom: 12px;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6.5vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .why-header .section-title {
    font-size: 1.4rem !important;
  }

  .why-item h4 {
    font-size: 0.9rem;
  }

  .stat-val {
    font-size: 1.15rem;
  }

  .footer-col h3 {
    font-size: 0.95rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: clamp(240px, 42vw, 320px);
    top: auto;
    right: auto;
    margin-top: 0;
    flex-shrink: 0;
  }

  .light-ring {
    display: block;
    position: absolute;
    top: -42%;
    left: -18%;
    width: 135%;
    height: 95%;
    z-index: 4;
    pointer-events: none;
    background:
      radial-gradient(ellipse 72% 48% at 22% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 28%, rgba(255, 255, 255, 0.2) 52%, transparent 72%);
    filter: blur(1px);
  }

  .hero-img-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-img-container img {
    object-position: center 72%;
  }

  .hero-overlay-loop {
    top: -25%;
    right: -15%;
    width: 130%;
    height: 130%;
    background:
      radial-gradient(ellipse 55% 40% at 35% 8%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 35%, transparent 65%),
      radial-gradient(circle at 80% 20%, transparent 35%, rgba(255, 255, 255, 0.85) 68%);
    z-index: 3;
  }

  .hero-visual::before {
    display: block;
    background: linear-gradient(
      to bottom,
      var(--bg-light) 0%,
      rgba(248, 250, 252, 0.95) 8%,
      rgba(248, 250, 252, 0.4) 22%,
      transparent 38%
    );
    z-index: 2;
  }

  /* --- Why Choose (Solutions) --- */
  .why-choose {
    margin-top: 0;
  }

  .why-choose-card {
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-header {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-item {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }

  .why-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 40px;
    height: 40px;
  }

  /* --- Who We Are (mobile) --- */
  .who-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .who-content {
    display: contents;
    max-width: 100%;
  }

  .who-copy {
    order: 1;
    margin-bottom: 28px;
  }

  .who-copy p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .who-copy .section-title {
    margin-bottom: 18px;
  }

  .who-visual {
    order: 2;
    aspect-ratio: 4 / 5;
    max-height: 420px;
    border-radius: var(--radius-lg);
    overflow: visible;
    margin-bottom: 56px;
    box-shadow: var(--shadow-md);
  }

  .who-visual img {
    border-radius: var(--radius-lg);
    height: 100%;
    object-position: center center;
  }

  .who-stats-overlay {
    grid-template-columns: repeat(2, 1fr);
    left: 12px;
    right: 12px;
    width: auto;
    bottom: -40px;
    padding: 20px 12px;
    border-radius: var(--radius-md);
    border-top: none;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
  }

  .stat-label {
    font-size: 0.7rem;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.65);
  }

  .stat-val {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .stat-sub {
    font-size: 0.65rem;
    line-height: 1.35;
    max-width: 9rem;
  }

  .who-cta {
    order: 3;
    margin-top: 0;
    width: 100%;
    justify-content: center;
    align-self: stretch;
  }

  /* --- Services --- */
  .services-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

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

  .services-row-top,
  .services-row-bottom {
    display: contents;
  }

  .service-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
  }

  .service-card:first-child {
    border-top: 1px solid var(--border-color);
  }

  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 44px;
    height: 44px;
  }

  .service-card-body {
    flex: 1;
    min-width: 0;
  }

  .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.82rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .service-link {
    font-size: 0.82rem;
  }

  /* --- Industries (mobile stacked cards) --- */
  .industries {
    background-color: var(--bg-light);
  }

  .industries-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .industries-header-cta {
    display: none;
  }

  .industries-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .industry-card {
    width: 100%;
    aspect-ratio: auto;
    min-height: 0;
    padding: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    justify-content: flex-start;
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .industry-card:hover .industry-bg {
    transform: none;
    opacity: 1;
  }

  .industry-media {
    position: relative;
    inset: auto;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
    overflow: visible;
  }

  .industry-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 16px;
    bottom: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark);
    color: var(--bg-white);
    border: 3px solid var(--bg-white);
    z-index: 3;
    box-shadow: var(--shadow-sm);
  }

  .industry-overlay {
    display: none;
  }

  .industry-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 28px 20px 20px;
    color: var(--text-main);
    min-height: 120px;
  }

  .industry-content h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark);
  }

  .industry-content p {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
    padding-right: 52px;
  }

  .industry-action-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 36px;
    height: 36px;
    background-color: var(--primary-light);
    border: none;
    color: var(--primary);
    flex-shrink: 0;
  }

  .industry-card:hover .industry-action-btn {
    transform: none;
    background-color: var(--primary-light);
    border-color: transparent;
  }

  .industries-mobile-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }

  /* --- Contact --- */
  .contact-section {
    padding: 48px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-bg-building {
    display: none;
  }

  .form-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group-full {
    grid-column: span 1;
    margin-bottom: 14px;
  }
}

/* --- Premium Footer Section --- */
.main-footer {
  background-color: #f0f4f8;
  color: #374151;
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
  border-top: 2px solid #e2e8f0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-desc {
  line-height: 1.6;
  color: #6b7280;
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-col h3 {
  font-family: var(--font-title);
  color: #0a0e1a;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.5px;
}

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

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

.footer-link {
  color: #374151;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-link-dot {
  width: 5px;
  height: 5px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.footer-link:hover .footer-link-dot {
  opacity: 1;
  transform: scale(1);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: var(--transition);
}

.social-btn svg {
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 91, 226, 0.4);
}

.social-btn:hover svg {
  transform: scale(1.1);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  color: #374151;
}

.contact-item svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item a {
  color: #374151;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #d1d5db;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 0.8rem;
  color: #6b7280;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: var(--primary);
}

.footer-logo {
  max-height: 44px;
}

.footer-logo .logo-img {
  max-height: 44px;
}

/* --- Footer Responsive Adjustments --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.35rem !important;
  }

  .why-header .section-title {
    font-size: 1.25rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-col {
    gap: 16px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-legal-links {
    justify-content: center;
    width: 100%;
  }
}
