/* CSS Reset & Variables - Ultra Premium Editorial Style */
:root {
  --clr-bg: #040a09;
  /* Very dark rich teal/turquoise black */
  --clr-bg-alt: #040a09;
  /* Very dark rich teal/turquoise black */
  --clr-bg-card: #121c1a;
  /* Sleek teal-card color */
  --clr-primary: #59ecce;
  /* Main accent color */
  --clr-secondary: #8cf2dc;
  /* Softer/brighter matching tone for hover/secondary */
  --clr-text: #ffffff;
  /* Bright white for headlines */
  --clr-text-muted: #e6f0ed;
  /* Gorgeous turquoise-tinted silver */
  --clr-text-light: #9cb2ac;
  /* Sophisticated muted turquoise-gray */
  --clr-inverse: #040a09;
  --font-main: 'Inter Tight', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.9);
  --border-radius: 6px;
  /* Slightly softer */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  background-color: var(--clr-bg);
  color: var(--clr-text-muted);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  /* Lighter weight for editorial feel */
  line-height: 1.1;
  margin-bottom: 0.5em;
  color: var(--clr-text);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.bg-alt {
  background-color: var(--clr-bg-alt);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.highlight {
  color: var(--clr-secondary);
  font-weight: 500;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-inverse);
  box-shadow: 0 0 15px rgba(89, 236, 206, 0.2);
}

.btn-primary:hover {
  background-color: var(--clr-secondary);
  box-shadow: 0 0 25px rgba(89, 236, 206, 0.6), 0 0 10px rgba(255, 255, 255, 0.5) inset;
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--clr-text);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1650px;
  height: 76px;
  z-index: 1000;
  padding: 0 32px;
  background-color: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  opacity: 0;
  animation: navEntrance 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

@keyframes navEntrance {
  from {
    opacity: 0;
    transform: translate(-50%, -40px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-links {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 10px 24px;
  border-radius: 999px;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover {
  color: var(--clr-primary);
  background-color: rgba(89, 236, 206, 0.08);
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--clr-inverse);
  background-color: var(--clr-primary);
  box-shadow: 0 0 20px rgba(89, 236, 206, 0.3) inset, 0 0 15px rgba(89, 236, 206, 0.4);
}

.btn-primary.nav-cta {
  background-color: var(--clr-primary);
  color: var(--clr-inverse);
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(89, 236, 206, 0.2);
}

.btn-primary.nav-cta:hover {
  background-color: var(--clr-secondary);
  box-shadow: 0 8px 25px rgba(89, 236, 206, 0.5);
  transform: translateY(-2px) scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000000;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.0) 75%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-text-box {
  max-width: 1000px;
}

.hero-text-box h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-bottom: 30px;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 50px;
  color: var(--clr-text-muted);
  font-weight: 400;
  max-width: 600px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 5%;
  z-index: 3;
  color: var(--clr-text-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
}

.scroll-indicator::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--clr-text-light);
}

/* Sections Common */
section {
  padding: 140px 0;
}

.section-header {
  text-align: left;
  max-width: 900px;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-header p {
  color: var(--clr-text-light);
  font-size: 1.2rem;
  max-width: 900px;
}

/* Strategy Section */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 40px;
}

.strategy-card {
  padding: 50px 40px;
  background: var(--clr-bg-alt);
  border-radius: var(--border-radius);
  border: 1px solid rgba(89, 236, 206, 0.05);
  transition: var(--transition);
}

.strategy-card:hover {
  background: var(--clr-bg-card);
  border-color: rgba(89, 236, 206, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(89, 236, 206, 0.1);
}

.icon-wrapper {
  color: var(--clr-secondary);
  font-size: 2rem;
  margin-bottom: 30px;
}

.strategy-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.strategy-card p {
  color: var(--clr-text-light);
}

/* Services Section */
.services-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.services-grid {
  align-items: stretch;
}

.service-card {
  background: transparent;
  padding: 0;
  transition: var(--transition);
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(89, 236, 206, 0.1);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
}

.service-icon-3d {
  font-size: 2.5rem;
  color: var(--clr-primary);
  margin-bottom: 30px;
  transition: var(--transition);
  opacity: 0.7;
}

.service-card:hover .service-icon-3d {
  color: var(--clr-secondary);
  transform: scale(1.1) rotate(5deg);
  opacity: 1;
  text-shadow: 0 0 15px rgba(89, 236, 206, 0.5);
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  min-height: 4.4rem;
  display: flex;
  align-items: flex-start;
}

.service-card p {
  color: var(--clr-text-light);
  margin-bottom: 30px;
}

.service-link {
  font-weight: 500;
  color: var(--clr-text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-link i {
  transition: var(--transition);
  color: var(--clr-secondary);
}

.service-link:hover i {
  transform: translateX(8px);
}

/* Case Studies Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 60px;
}

.case-card {
  background: transparent;
}

.case-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.case-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 1.5s ease;
  filter: grayscale(60%) contrast(1.05) brightness(0.9);
}

.case-card:hover .case-img-wrapper img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1) brightness(1);
}

.case-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.case-metrics {
  color: var(--clr-secondary);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-content p:not(.case-metrics) {
  color: var(--clr-text-light);
  margin-bottom: 24px;
}

.case-link {
  display: inline-block;
  padding-bottom: 4px;
  font-weight: 500;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.case-link:hover {
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}

.team-card {
  background: transparent;
  text-align: left;
}

.team-img {
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.05) brightness(0.9);
  transition: var(--transition);
}

.team-card:hover .team-img img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.role {
  color: var(--clr-text-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--clr-text);
}

.social-links a:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 16px;
  border: 1px solid rgba(89, 236, 206, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--clr-bg);
}

.accordion-header {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--clr-text);
  font-size: 1.05rem;
  font-weight: 400;
  font-family: var(--font-main);
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--clr-primary);
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--clr-primary);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: var(--clr-bg-alt);
}

.accordion-content p {
  padding: 0 24px 24px 24px;
  color: var(--clr-text-light);
  margin: 0;
}

/* Contact Section */
.contact-section {
  background-color: var(--clr-bg-alt);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 24px;
}

.contact-info>p {
  color: var(--clr-text-light);
  margin-bottom: 50px;
  font-size: 1.2rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.info-item h4 {
  font-size: 1.2rem;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
}

.info-item p,
.info-item a {
  color: var(--clr-text-light);
  font-size: 1.1rem;
}

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

.contact-form-wrapper {
  background: var(--clr-bg);
  padding: 60px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--clr-bg-alt);
  color: var(--clr-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: var(--clr-bg);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--clr-text-light);
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-group a {
  color: var(--clr-text);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: var(--clr-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand p {
  color: var(--clr-text-light);
  margin: 24px 0;
  max-width: 400px;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--clr-text);
}

.social-icons a:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.footer-links h3 {
  color: var(--clr-text);
  margin-bottom: 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--clr-text-light);
}

.footer-links a:hover {
  color: var(--clr-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  text-align: left;
  color: var(--clr-text-light);
  font-size: 0.9rem;
}

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

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-header {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: 95%;
    padding: 0 20px;
    height: 64px;
    top: 16px;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    transform: none;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 120px 5%;
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .logo-img {
    height: 28px;
  }

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

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .hero-text-box h1 {
    font-size: 2.5rem;
  }

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

  section {
    padding: 80px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .footer {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .hero-text-box h1 {
    font-size: 2rem;
  }

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

  .case-img-wrapper {
    height: 250px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 16px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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