/* Orcalinx AI Consulting – custom overrides and animations */

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5f3ff;
  background: radial-gradient(circle at top, #10152b 0%, #050712 45%, #03040a 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

main,
section {
  display: block;
}

.wrapper {
  position: relative;
}

.wrapper > .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

@media screen and (max-width: 736px) {
  .wrapper > .inner {
    padding: 3rem 1.5rem 2rem;
  }
}

.wrapper.style1 {
  background: transparent;
}

.wrapper.style2 {
  background: rgba(6, 12, 26, 0.96);
}

.wrapper.style3 {
  background: rgba(9, 20, 45, 0.96);
}

.wrapper.style1-alt {
  background: #050814;
}

ul.actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

ul.actions li {
  padding: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 219, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #e7f4ff;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.button.primary {
  background: linear-gradient(135deg, #58e1ff, #8b5bff);
  border-color: transparent;
  color: #050814;
  box-shadow: 0 12px 30px rgba(71, 189, 255, 0.5);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.button.primary:hover {
  box-shadow: 0 18px 40px rgba(88, 225, 255, 0.7);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  color: #f5fbff;
}

p {
  margin: 0 0 1.3rem;
  color: #c4d6f3;
}

a {
  color: #8fd6ff;
}

a:hover {
  color: #c4e5ff;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

@media screen and (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-title {
  font-size: 2.9rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.hero-body {
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-meta {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.hero-meta span {
  color: #9bbdf5;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 35px rgba(80, 200, 255, 0.6));
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 220, 255, 0.6);
  box-shadow: 0 0 20px rgba(120, 220, 255, 0.4);
  animation: orbitPulse 7s ease-in-out infinite;
}

.hero-orbit-ring.ring-1 {
  width: 100%;
  height: 100%;
}

.hero-orbit-ring.ring-2 {
  width: 76%;
  height: 76%;
  animation-delay: -1.2s;
}

.hero-orbit-ring.ring-3 {
  width: 52%;
  height: 52%;
  animation-delay: -2.4s;
}

.hero-orbit-core {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 32% 68% 70% 30% / 36% 35% 65% 64%;
  background: conic-gradient(from 210deg, #58e1ff, #8b5bff, #ff68d6, #58e1ff);
  background-size: 200% 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation:
    blobMorph 14s ease-in-out infinite,
    blobGlow 4s ease-in-out infinite,
    gradientShift 12s linear infinite;
}

.hero-orbit-core::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.hero-pills .pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(140, 220, 255, 0.3);
  background: rgba(8, 16, 32, 0.85);
  backdrop-filter: blur(10px);
}

.services-grid,
.sectors-grid,
.about-grid {
  gap: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media screen and (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 736px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media screen and (max-width: 980px) {
  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 736px) {
  .sectors-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
}

@media screen and (max-width: 980px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: rgba(9, 14, 30, 0.98);
  border-radius: 1rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(140, 220, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(15, 24, 60, 0.7);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(140, 220, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.service-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.stat {
  margin-bottom: 1.2rem;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-suffix {
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(140, 220, 255, 0.6), transparent);
}

.timeline-step {
  padding-left: 2.8rem;
  position: relative;
}

.timeline-step .step-index {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(140, 220, 255, 0.9);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050814;
}

.contact-card {
  max-width: 26rem;
}

.contact-details .contact {
  margin-bottom: 0;
}

#footer {
  margin-top: 0;
}

#footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(200, 215, 240, 0.6);
}

#footer .menu li {
  display: inline-block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.project-detail .team-grid {
  grid-template-columns: minmax(0, 1.4fr);
  justify-content: center;
}

.project-detail .card {
  max-width: 880px;
  margin: 0 auto;
}

@media screen and (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 736px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.team-photo {
  width: 360px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
  background-size: cover;
  background-position: center;
}

.placeholder-photo {
  background-image: radial-gradient(circle at 0 0, #4ce7ff, #2f3961 45%, #151a33 100%);
}

.team-hero-image {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 520px;
}

.team-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Legacy tiles-style team images */
#aboutus .image img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

#footer {
  margin-top: 0;
}

#footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(200, 215, 240, 0.6);
}

#footer .menu li {
  display: inline-block;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.6;
  }
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 32% 68% 70% 30% / 36% 35% 65% 64%;
  }
  33% {
    border-radius: 55% 45% 32% 68% / 44% 28% 72% 56%;
  }
  66% {
    border-radius: 28% 72% 40% 60% / 60% 40% 60% 40%;
  }
}

@keyframes blobGlow {
  0%,
  100% {
    box-shadow: 0 0 35px rgba(88, 225, 255, 0.75);
  }
  50% {
    box-shadow: 0 0 60px rgba(139, 91, 255, 0.9);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

