/* ==========================================================================
   VEOTECK DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  --color-bg-dark: #071011;
  --color-bg-light: #F6F7F7;
  --color-card-light: #FFFFFF;
  --color-text-dark: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #F9FAFB;
  --color-teal-glow: #2DD4BF;
  --color-emerald-accent: #10B981;
  --color-featured-card: linear-gradient(145deg, #5B9B93 0%, #6BA89F 60%, #4D8B83 100%);
  --color-border-light: #E5E7EB;
  --color-border-glass: rgba(255, 255, 255, 0.15);

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

img {
  display: block;
}

/* --------------------------------------------------------------------------
   REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  background-color: var(--color-bg-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #FFFFFF;
  overflow: hidden;
  padding-bottom: 3rem;
}

.glow-aura {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 900px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.45) 0%,
    rgba(16, 185, 129, 0.25) 35%,
    rgba(7, 16, 17, 0) 70%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: auraPulse 8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% {
    transform: translate(-50%, -30%) scale(0.95);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, -25%) scale(1.1);
    opacity: 1;
  }
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 400;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-teal-glow);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

/* Hero Body */
.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 5rem;
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1.08;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #F8FAFC;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.75rem;
  margin-left: 0.2rem;
}

.btn-secondary {
  background: rgba(45, 212, 191, 0.35);
  color: #FFFFFF;
  border: 1px solid rgba(45, 212, 191, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(45, 212, 191, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #111827;
  border: 1.5px solid #D1D5DB;
}

.btn-outline:hover {
  border-color: #0D9488;
  color: #0D9488;
  transform: translateY(-2px);
}

.hero-line-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   TRUSTED BY SECTION
   -------------------------------------------------------------------------- */
.trusted-section {
  background-color: #F8FAFA;
  padding: 5rem 2rem 4rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trusted-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 2.5rem;
  text-align: left;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.logo-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.logo-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: #F8FAFA;
  padding: 6rem 2rem;
  text-align: center;
}

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

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  transition: all 0.3s var(--ease-out-expo);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6B7280;
  margin-bottom: 1.25rem;
}

.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-stack span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.06);
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.12);
}

@media (max-width: 640px) {
  .services-section {
    padding: 4rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   OUR ADVANTAGE SECTION
   -------------------------------------------------------------------------- */
.advantage-section {
  background-color: #F8FAFA;
  padding: 6rem 2rem;
  text-align: center;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0D9488;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 400;
  color: #111827;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.divider-line {
  width: 100%;
  max-width: 700px;
  height: 1px;
  background-color: #E5E7EB;
  margin: 0 auto 2.5rem;
}

.stats-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.stat-item {
  flex: 1;
  padding: 0 1.5rem;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background-color: #E5E7EB;
  align-self: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  font-weight: 400;
  color: #111827;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6B7280;
  max-width: 220px;
  margin: 0 auto;
}

.advantage-copy {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #4B5563;
  text-align: center;
}

/* --------------------------------------------------------------------------
   OUR DEVELOPMENTS SECTION
   -------------------------------------------------------------------------- */
.developments-section {
  background-color: #F8FAFA;
  padding: 2rem 2rem 8rem;
}

.developments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.left-title {
  text-align: left;
  margin-bottom: 0;
  font-size: 3.25rem;
}

.developments-subtext {
  font-size: 0.95rem;
  color: #4B5563;
  max-width: 320px;
  line-height: 1.5;
  text-align: right;
  margin-top: 1rem;
}

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

.dev-card {
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.light-card {
  background-color: #FFFFFF;
  border: 1px solid #F3F4F6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.featured-card {
  background: var(--color-featured-card);
  color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(91, 155, 147, 0.35);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(91, 155, 147, 0.45);
}

.sparkle-icon {
  color: #2DD4BF;
  margin-bottom: 2rem;
}

.light-sparkle {
  color: rgba(255, 255, 255, 0.85);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.light-card .card-title {
  color: #111827;
}

.featured-card .card-title {
  color: #FFFFFF;
}

.card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: auto;
}

.light-card .card-desc {
  color: #6B7280;
}

.featured-card .card-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--color-bg-light);
  padding: 6rem 2rem;
  text-align: center;
}

.projects-subtext {
  font-size: 1rem;
  color: #6B7280;
  max-width: 520px;
  margin: -1.5rem auto 3rem;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  transition: all 0.4s var(--ease-out-expo);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.project-browser {
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1a1a2e;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.project-preview {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.03);
}

.project-preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
  z-index: 1;
  pointer-events: none;
}

.preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.preview-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.project-info {
  padding: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(13, 148, 136, 0.08);
  color: #0D9488;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 1rem;
}

.project-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0D9488;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s var(--ease-out-expo);
}

.project-card:hover .project-link {
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: #F8FAFA;
  padding: 6rem 2rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-bg-light);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  text-align: left;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-sans);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
}

.author-location {
  font-size: 0.8rem;
  color: #6B7280;
}

.testimonial-project {
  font-size: 0.8rem;
  color: #6B7280;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}

.testimonial-project span {
  font-weight: 600;
  color: #374151;
}

/* --------------------------------------------------------------------------
   INDUSTRIES SECTION
   -------------------------------------------------------------------------- */
.industries-section {
  background-color: #FFFFFF;
  padding: 6rem 2rem;
  text-align: center;
}

.industries-subtext {
  font-size: 1rem;
  color: #6B7280;
  max-width: 500px;
  margin: -1.5rem auto 3rem;
  line-height: 1.6;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.industry-card {
  padding: 2.5rem 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  transition: all 0.3s var(--ease-out-expo);
  text-align: left;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #E5E7EB;
}

.industry-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.industry-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.75rem;
}

.industry-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6B7280;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.footer-brand {
  max-width: 360px;
}

.dark-text {
  color: #111827;
}

.footer-tagline {
  color: #6B7280;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-address {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #9CA3AF;
  line-height: 1.7;
}

.footer-address p {
  margin: 0;
}

.footer-address a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-address a:hover {
  color: #0D9488;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  color: #6B7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #0D9488;
}

.footer-bottom {
  border-top: 1px solid #F3F4F6;
  padding: 1.5rem 0;
  font-size: 0.825rem;
  color: #9CA3AF;
}

/* --------------------------------------------------------------------------
   MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-out-expo);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9CA3AF;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: #374151;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 212, 191, 0.15);
  color: #0D9488;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: #6B7280;
}

.modal-form .form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.modal-form input {
  padding: 0.75rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.modal-form input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: 0.75rem;
  color: #EF4444;
  min-height: 1rem;
  display: block;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
  border-radius: 8px;
  background-color: #0D9488;
  color: #FFFFFF;
}

.form-submit-btn:hover {
  background-color: #0F766E;
}

.modal-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 50px;
  height: 50px;
  background: #10B981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   LEGAL PAGES (shared)
   -------------------------------------------------------------------------- */
.legal-hero {
  background-color: var(--color-bg-dark);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.legal-hero .glow-aura {
  top: 30%;
}

.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.legal-hero .last-updated {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.825rem;
  margin-top: 0.75rem;
  position: relative;
  z-index: 2;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #0D9488;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-content a:hover {
  color: #0F766E;
  text-decoration: underline;
}

.legal-content strong {
  color: #111827;
}

.legal-content .info-box {
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #374151;
}

/* Contact page specifics */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.contact-card a {
  color: #0D9488;
  text-decoration: none;
  font-size: 0.85rem;
}

/* About page specifics */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0 3rem;
}

.about-mission-item h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.75rem;
}

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

.about-value-card {
  padding: 1.5rem;
  border: 1px solid #F3F4F6;
  border-radius: 8px;
  background: #FFFFFF;
}

.about-value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.about-value-card p {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 2.25rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-mission {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .developments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .developments-subtext {
    text-align: left;
    max-width: 100%;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #071011;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1.5rem;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
  }
  .stats-grid {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
  .stat-divider {
    width: 80px;
    height: 1px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.5rem;
    max-width: 100%;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .left-title {
    font-size: 2rem;
  }
  .stat-number {
    font-size: 3rem;
  }
  .logo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .modal-card {
    margin: 1rem;
    padding: 1.5rem;
  }
}
