/* UNIFIED SECTION SPACING ADDED */

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

html, body {
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: 100px;
}

/* HERO SECTION */
.hero {
  padding: 100px 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.typewriter-container {
  color: white;
  text-align: center;
}

#typewriter-text {
  display: inline-block;
  border-right: 2px solid rgba(165,165,165,1.00);
  white-space: nowrap;
  overflow: hidden;
  font-size: 2rem;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

#hero-logo {
  margin-top: 40px;
  opacity: 0;
  transition: opacity 1s ease;
}

#hero-logo.visible {
  opacity: 1;
}

/* ABOUT SECTION */
.about-section {
  padding: 100px 20px;
  min-height: 100vh;
  position: relative;
  background: url('../images/about-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

.about-section h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.orange-dot {
  color: darkgray;
}

/* SERVICES SECTION */
.services-section {
  min-height: 100vh;
  background: #000;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}

.services-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-section h2 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.orange-comma {
  color: rgba(165,165,165,1.00);
}

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

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  padding: 0;
}

.service-card:hover {
  border: 0.5px solid rgba(165,165,165,1.00);
}

.service-label {
  position: relative;
  color: rgba(165,165,165,1.00);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 0;
  pointer-events: none;
}

/* WHO WE ARE SECTION */
.who-we-are-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #000;
  padding: 80px 20px;
  color: #fff;
}

.who-we-are-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.who-we-are-left {
  flex: 1 1 50%;
}

.who-we-are-left h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.who-we-are-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

.who-we-are-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

#vector-placeholder {
  width: 100%;
  max-width: 500px;
  height: 100%;
  background-color: transparent;
  border: 1px dashed #444;
}

/* PORTFOLIO SECTION */
.portfolio-preview-section {
  padding: 100px 20px;
  background-color: #000;
  text-align: center;
}

.portfolio-preview-section h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.portfolio-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 60%);
  z-index: 0;
}

.portfolio-label {
  position: relative;
  color: rgba(165,165,165,1.00);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 16px;
  z-index: 1;
  text-shadow: 1px 1px 2px #000;
}

.view-more {
  margin-top: 20px;
}

.view-more-btn {
  padding: 12px 24px;
  background: rgba(165,165,165,1.00);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.view-more-btn:hover {
  background: #ffa733;
}

/* CLIENT LOGOS */
.client-logos-section {
  background-color: #000;
  text-align: center;
  padding: 100px 20px;
}

.client-logos-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.client-logos-grid img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logos-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  #typewriter-text {
    font-size: 1.5rem;
  }

  .services-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .service-card {
    width: 95vw;
    max-width: 95vw;
    height: 300px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  line-height: 1.6;
  font-size: 1rem;
  color: #fff;
  background-color: #111;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  margin-top: 2rem;
  font-weight: 600;
  color: #ff6600;
}

.legal-page p,
.legal-page li {
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.2rem;
  list-style: disc;
}