
/* ---------- GLOBAL ---------- */
:root {
  --navy: #0A192F;
  --teal: #64FFDA;
  --light-navy: #112240;
  --slate: #8892B0;
  --light-slate: #CCD6F6;
  --off-white: #F5F5F5;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--light-slate);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--white);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--teal);
}

.accent {
  color: var(--teal);
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: var(--navy);
}

/* ---------- HEADER ---------- */
header {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--light-slate);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--teal);
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--light-navy) 100%);
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.3rem;
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 5rem 0;
  background: var(--light-navy);
}

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

.service-card {
  background: var(--navy);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s;
  border: 1px solid rgba(100, 255, 218, 0.1);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal);
}
.service-card i {
  margin-bottom: 1rem;
  color: var(--teal);
}
.service-card h3 {
  margin-bottom: 0.8rem;
}
.service-card p {
  color: var(--slate);
}

/* ---------- ABOUT ---------- */
.about {
  padding: 5rem 0;
}
.about-text p {
  margin-top: 1.2rem;
  color: var(--slate);
  font-size: 1.1rem;
}

/* ---------- CASE STUDIES ---------- */
.cases {
  padding: 5rem 0;
  background: var(--light-navy);
}

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

.case-card {
  background: var(--navy);
  padding: 2rem;
  border-radius: 12px;
}
.case-icon i {
  color: var(--teal);
  margin-bottom: 1rem;
}
.case-card h3 {
  margin-bottom: 0.8rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 5rem 0;
}

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

.testimonial-card {
  background: var(--light-navy);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--teal);
  font-style: italic;
}
.client {
  margin-top: 1.5rem;
  color: var(--teal);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  padding: 3rem 0;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--slate);
  font-size: 1.3rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--teal);
}

.copyright {
  color: var(--slate);
  font-size: 0.9rem;
}

/* ---------- CHAT WIDGET ---------- */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}
.chat-button:hover {
  transform: scale(1.1);
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--teal);
}

.chat-panel.active {
  display: flex;
}

.chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.chat-header i {
  cursor: pointer;
  color: var(--slate);
  transition: color 0.3s;
}
.chat-header i:hover {
  color: var(--teal);
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #F9F9F9;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.message {
  max-width: 80%;
  padding: 0.8rem 1.2rem;
  border-radius: 18px;
  word-wrap: break-word;
}

.bot-message {
  background: var(--navy);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background: var(--teal);
  color: var(--navy);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  display: flex;
  padding: 0.8rem;
  background: white;
  border-top: 1px solid #ddd;
}

.chat-input-area input {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  font-family: inherit;
}
.chat-input-area button {
  background: var(--teal);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-left: 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}
.chat-input-area button:hover {
  background: var(--navy);
  color: var(--teal);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .chat-panel {
    width: 300px;
    right: 0;
  }
}

@media (max-width: 480px) {
  .chat-panel {
    width: 280px;
  }
}
