* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  color: #333;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main#app {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background: #020422;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  margin: auto;
  margin-left: 15px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.menu-toggle .bar {
  display: block;
  width: 30px;
  height: 4px;
  background: white;
  border-radius: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* Animate into X */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    background: #003366;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1rem;
  }

  nav ul.active {
    max-height: 500px;
    padding: 1rem;
  }
}

/* Hero */
.hero {
  background: url('./assets/banner.png') center/cover no-repeat;
  color: #333;
  text-align: center;
  padding: 6rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: black 2px 2px 2px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* Sections */
.section {
  padding: 4rem 0;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  /* margin-bottom: 0.75rem; */
  color: #003366;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact input,
.contact textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact button {
  background: #003366;
  color: white;
  border: none;
  cursor: pointer;
}

.contact button:hover {
  background: #002244;
}

#formStatus {
  margin-top: 1rem;
  color: green;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #003366;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* About the Consultant */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.about-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 2 1 400px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.about-text h3 {
  color: #007bff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text .btn {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }
}

.nav-logo {
  width: 70px;
}

.logo-div {
  display: flex;
}

.service-card p {
  text-align: left;
}

.service-card h4 {
  margin-bottom: 0.75rem;
  color: #003366;
}

.banner {
  background-image: url("./assets/banner.png");
  background-size: cover;
  width: 100vw;
  height: 250px;
}

.about-text ul {
  padding-left: 32px;
}

.about-text li {
  margin-bottom: 5px;
}

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


.scene {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Firefly base */
.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffee88;
  border-radius: 50%;
  box-shadow:
    0 0 10px 3px rgba(255, 255, 150, 0.9),
    0 0 20px 6px rgba(255, 255, 150, 0.5);
  animation:
    float 12s linear infinite,
    glow 2.5s ease-in-out infinite;
}

/* Randomized positions */
.firefly:nth-child(1) {
  top: 60%;
  left: 5%;
  animation-delay: 0s;
}

.firefly:nth-child(2) {
  top: 30%;
  left: 40%;
  animation-delay: 2s;
}

.firefly:nth-child(3) {
  top: 70%;
  left: 65%;
  animation-delay: 4s;
}

.firefly:nth-child(4) {
  top: 40%;
  left: 80%;
  animation-delay: 1s;
}

.firefly:nth-child(5) {
  top: 55%;
  left: 50%;
  animation-delay: 3s;
}

.firefly:nth-child(6) {
  top: 65%;
  left: 60%;
  animation-delay: 5s;
}

.firefly:nth-child(7) {
  top: 75%;
  left: 55%;
  animation-delay: 7s;
}

.firefly:nth-child(8) {
  top: 35%;
  left: 30%;
  animation-delay: 9s;
}

.firefly:nth-child(9) {
  top: 80%;
  left: 90%;
  animation-delay: 6s;
}

.firefly:nth-child(10) {
  top: 60%;
  left: 105%;
  animation-delay: 8s;
}

.firefly:nth-child(11) {
  top: 60%;
  left: 20%;
  animation-delay: 10s;
}

/* Hovering motion */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(30px, -40px);
  }

  50% {
    transform: translate(-20px, -70px);
  }

  75% {
    transform: translate(-40px, -20px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Glow pulse */
@keyframes glow {

  0%,
  100% {
    opacity: 0.3;
    box-shadow:
      0 0 5px 2px rgba(255, 255, 150, 0.5),
      0 0 10px 4px rgba(255, 255, 150, 0.3);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 15px 6px rgba(255, 255, 180, 1),
      0 0 30px 12px rgba(255, 255, 180, 0.8);
  }
}

/* Industries Accordion */
.industry-accordion {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
}

.industry-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.industry-header {
  width: 100%;
  background: #003366;
  color: white;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.industry-header:hover {
  background: #002244;
}

.industry-header .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.industry-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  background: #f9f9f9;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.industry-content p {
  padding: 0.5rem 0;
  margin: 0;
}

.industry-content ul {
  margin-left: 25px;
}

.industry-content li {
  padding-bottom: 5px;
}

/* Active state */
.industry-item.active .industry-content {
  max-height: 1000px;
  padding: 0 1.25rem 1rem;
}

.industry-item.active .icon {
  transform: rotate(45deg);
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #555;
}

/* Insights */
.section-subtitle {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #555;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.insight-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.insight-card h3 {
  color: #003366;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.insight-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #007bff;
  font-weight: 600;
}

.insight-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.insights-btn {
  display: inherit;
  position: relative;
  margin: 1rem auto auto auto;
  max-width: 12rem;
}

.read-more {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Article */
.article-container {
  max-width: 760px;
  text-align: left;
}

.article h1 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article h2 {
  margin-top: 2rem;
  color: #003366;
}

.article p {
  margin-bottom: 1rem;
}

.article ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
}