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

:root {
  --primary: #2563eb;
  --dark: #111827;
  --light: #f9fafb;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  animation: fadeInUp 1s ease-in-out;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #dbeafe;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(to right, #2563eb, #1d4ed8);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--dark);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.card-img:hover {
  transform: scale(1.05);
}

.card-title {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.review-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.review-author {
  font-weight: 600;
  color: var(--primary);
}

.cta-section {
  background: linear-gradient(to right, #eff6ff, #dbeafe);
  padding: 4rem 1rem;
  text-align: center;
}

.cta-section .highlight {
  font-weight: 700;
  color: var(--primary);
}

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

.footer {
  text-align: center;
  background: #111827;
  color: #aaa;
  padding: 2rem 0;
}

.fixed-menu {
  position: fixed;
  right: 2rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.chat-btn {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.chat-btn:hover {
  transform: scale(1.1);
}

.chat-toggle-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  background-color: #111827;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  z-index: 1001;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.chat-toggle-btn:hover {
  background-color: #000;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hidden {
  display: none;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .grid-4, .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .card {
    padding: 1.25rem;
  }

  .chat-btn,
  .chat-toggle-btn {
    padding: 0.8rem;
  }
}
