body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

header {
  background: #0a2540;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

header .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #2ab7ca;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
}

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

.services {
  background: white;
  padding: 3rem 0;
}

.services h2,
.about h2,
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  flex: 1;
  min-width: 280px;
  max-width: 32%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card p {
  font-size: 1rem;
  color: #0c344c;
  line-height: 1.4;
  max-width: 260px;
  margin: 0 auto;
}

.card h3 {
  color: #0c344c;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}


/* Responsive behavior */
@media (max-width: 900px) {
  .card {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .cards {
    flex-direction: column;
  }
}

.about {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  padding: 60px 20px;
}

.about h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-point {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: left;
}

.about-point:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.about-point h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.about-point p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #eaeaea;
}
.contact {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-subtext {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #d3d3d3;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  resize: vertical;
  outline: none;
  transition: 0.3s;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: #ccc;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn {
  background-color: #ffb347;
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffa726;
}

footer {
  background: #0a2540;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}


input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

form label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

form .btn {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}


@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Floating chat button */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0078d4;
  color: white;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.2s;
}
#chat-toggle:hover {
  transform: scale(1.1);
}

/* Fancy Chat Widget */
#chat-widget {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 360px;
  max-height: 0;
  overflow: hidden;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 1000;
}

/* When open */
#chat-widget.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

/* Header */
#chat-header {
  background: #0078d4;
  color: white;
  padding: 14px;
  font-weight: bold;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Message area */
#chat-messages {
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  background: #f9f9f9;
}

/* Input area */
#chat-input {
  display: flex;
  border-top: 1px solid #eee;
  background: #fff;
}

#chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  font-size: 14px;
  border-bottom-left-radius: 16px;
}

#chat-input button {
  background: #0078d4;
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  border-bottom-right-radius: 16px;
  transition: background 0.3s;
}
#chat-input button:hover {
  background: #005fa3;
}
