@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* General Reset & Fonts */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1b224f;
  color: #f5f7fa;
  line-height: 1.6;
}

/* === NAVIGATION === */
nav {
  position: sticky;
  top: 0;
  background: rgba(17, 19, 34, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 1.1em;
}

.nav-logo-img {
  width: 40px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.cta-nav {
  color: #8ab4ff;
}

.nav-links a.active {
  background-color: #4c6fff;
  color: white;
}

/* Header Section */
header {
  position: relative;
  overflow: hidden;
  background: #0d0f1a;
  color: #fff;
  text-align: center;
  padding: 60px 20px 40px;
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #4c6fff33, #8f94fb00);
  animation: moveBg 15s linear infinite;
  z-index: 0;
  transform-origin: center;
}

@keyframes moveBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

header > * {
  position: relative;
  z-index: 1;
}

.logo {
  width: 140px;
  margin-bottom: 20px;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

h1 {
  margin: 0;
  font-size: 2.2em;
  animation: glowFlicker 3s infinite ease-in-out;
}

header p {
  font-size: 1.1em;
  margin: 10px 0 25px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #4c6fff, #8f94fb);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: opacity 0.3s ease;
  animation: pulse-glow 2s infinite;
}

.cta-button:hover {
  opacity: 0.85;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0px #4c6fff; }
  50% { box-shadow: 0 0 15px #8ab4ff; }
  100% { box-shadow: 0 0 0px #4c6fff; }
}

/* Section Reveal Animation */
section {
  padding: 50px 20px;
  max-width: 800px;
  margin: auto;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

h2 {
  color: #c3cdfa;
  margin-bottom: 20px;
  font-size: 1.8em;
  animation: glowFlicker 3s infinite ease-in-out;
}

@keyframes glowFlicker {
  0%, 100% { text-shadow: 0 0 6px #4c6fff; }
  50% { text-shadow: 0 0 12px #8ab4ff, 0 0 20px #4c6fff; }
}

/* About Section */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

#about ul {
  margin-top: 10px;
}

#about .cta-button {
  margin-top: 20px;
}

/* Package Cards (Glassmorphism) */
.package-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid #4c6fff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: scale(1.03);
}

.package-card h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #8ab4ff;
}

.package-card ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

.package-card ul li {
  padding: 5px 0;
}

.package-card .price {
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 15px;
}

/* Clients Section */
.clients {
  padding: 60px 20px;
  text-align: left;
}

.clients .container {
  max-width: 1100px;
  margin: 0 auto;
}

.clients h2 {
  font-size: 2em;
  color: #8ab4ff;
  margin-bottom: 40px;
}

.client-logos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 19px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 340px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}


.logo-card:hover {
  transform: scale(1.25);
}

.logo-card img {
  max-width: 98%;
  max-height: 100px;
  object-fit: contain;
}


/* Enquiry */
.chat-box {
  max-width: 400px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  text-align: left;
}

.chat-message {
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 8px;
  max-width: 80%;
  font-size: 0.95em;
  line-height: 1.4;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.chat-message.bot {
  background: #292c45;
  color: #c3cdfa;
}

.chat-message.user {
  background: #4c6fff;
  color: #fff;
  margin-left: auto;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-input-container {
  display: flex;
  margin-top: 15px;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  outline: none;
  background-color: #10121b;
  color: #fff;
}

#chat-next {
  background: #4c6fff;
  color: white;
  border: none;
  padding: 10px 18px;
  margin-left: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

#chat-next:hover {
  opacity: 0.85;
}

/* FAQs */
.faq-item {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 15px 20px;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-weight: bold;
  font-size: 1em;
  padding: 12px 0;
  color: #f5f7fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.3em;
  font-weight: bold;
  color: #8ab4ff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "–";
  color: #8ab4ff;
}

.faq-answer {
  display: none;
  padding-left: 16px;
  padding-bottom: 10px;
  color: #d4d9e6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* === Burger Menu Icon === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

/* === Mobile Nav Handling === */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0d0f1a;
    padding: 20px;
    position: absolute;
    top: 60px;
    left: 0;
  }

  .nav-links.open {
    display: flex;
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background-color: #111322;
  color: #ccc;
  margin-top: 50px;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links a {
    padding: 10px 0;
  }
}
