:root {
  --primary-bg: #03060a;
  --secondary-bg: #080c14;
  --accent-cyan: #00e5ff;
  --accent-green: #00ff9d;
  /* More vivid, metallic gradient matching the logo */
  --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #00b8d4 50%, #00ff9d 100%);
  --glow-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--primary-bg);
  color: #ffffff;
  /* FORCE WHITE TEXT GLOBALLY */
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  /* Reduced to match logo height closely */
  /* Solid Black Background as requested */
  background: #000000;
  backdrop-filter: blur(10px);
  /* Optional: keeping subtle blur in case of overlay, but removing transparency */
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Very subtle separator */
  overflow: hidden;
  /* Ensure nothing spills out */
}

/* Marquee styles removed */

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee 60s linear infinite;
  /* Slower speed */
}

.marquee-content img {
  height: 100px;
  /* Large enough to be impressive */
  width: auto;
  margin-right: 4rem;
  object-fit: contain;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Foreground Content */
.nav-content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo-wrapper {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 100px;
  /* Exact match to header height */
  width: auto;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.3));
  /* Add glow to logo */
  transition: transform 0.3s ease;
  /* Blend mode to remove white box if image has it */
  mix-blend-mode: lighten;
  display: block;
  /* Remove inline spacing */
}

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

/* Right Panel: Discrete Nav */
.nav-right-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.contact-phone-discrete {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.contact-phone-discrete:hover {
  background: var(--accent-cyan);
  color: #000;
}

.nav-links-discrete {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links-discrete a {
  font-size: 0.95rem;
  font-weight: 400;
  /* Lighter weight for "discrete" feel */
  color: #b0c0d0;
  /* Greier color, not full white */
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav-links-discrete a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Adjust padding for page content */
.hero {
  padding-top: 140px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(3, 6, 10, 0.7), var(--primary-bg)), url('public/abstract_bg.png');
  background-size: cover;
  background-position: center;
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 0 1rem;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.highlight-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
  position: relative;
  display: inline-block;
}

/* Metallic shine animation */
.highlight-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #b0c0d0;
  /* Explicit light color */
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent-gradient);
  color: #000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.6);
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  background-color: var(--secondary-bg);
  position: relative;
}

.services-section p {
  color: #cccccc;
  /* Explicitly readable text */
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  background: linear-gradient(to right, #ffffff, #a0aab5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 20px;
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.5);
}

.service-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('public/abstract_bg.png');
  background-size: cover;
  opacity: 0.05;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover .card-bg {
  opacity: 0.15;
}

.card-content {
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.icon-box {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Gallery Section */
.gallery-section {
  padding: 8rem 0;
  background-color: var(--primary-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  grid-auto-rows: 250px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  opacity: 1;
  /* Always visible for better UX, or hover */
  transition: opacity 0.3s ease;
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.4rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(circle at center, #132030 0%, var(--primary-bg) 70%);
}

.philosophy-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.philosophy-content p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #cccccc;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background: var(--secondary-bg);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* Placeholder visibility */
::-webkit-input-placeholder {
  color: #a0b0c0;
}

:-moz-placeholder {
  color: #a0b0c0;
}

::-moz-placeholder {
  color: #a0b0c0;
}

:-ms-input-placeholder {
  color: #a0b0c0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
  padding: 1rem;
  background: var(--accent-gradient);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: #888;
  font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .navbar {
    height: auto;
  }

  .nav-content {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-logo-wrapper {
    margin-bottom: 1rem;
    /* Add some space below the logo */
  }

  .brand-logo {
    height: 100px;
    /* Adjust logo size for mobile */
  }

  .nav-right-panel {
    align-items: center;
    margin-top: 1rem;
  }

  .contact-phone-discrete {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .nav-links-discrete {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links-discrete a {
    font-size: 0.85rem;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }
}