/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }

/* Navbar */
header {
  background: #2b7a78; padding: 15px 0; color: white; position: sticky; top: 0; z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: auto; padding: 0 20px; }
.logo { height: 40px; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; }

/* Hero */
#hero {
  background: url('../img/hero.jpg') center/cover no-repeat;
  height: 80vh; display: flex; justify-content: center; align-items: center;
  text-align: center; color: white; padding: 0 20px;
}
#hero h1 { font-size: 3em; margin-bottom: 20px; }
#hero p { font-size: 1.2em; margin-bottom: 20px; }
.btn { background: #fe5f55; color: white; padding: 12px 20px; border-radius: 5px; text-decoration: none; }

/* Sections */
.section { padding: 60px 20px; }
.section h2 { text-align: center; margin-bottom: 30px; font-size: 2em; color: #2b7a78; }
.container { max-width: 1100px; margin: auto; }

/* About */
.about-img { max-width: 100%; border-radius: 8px; margin-top: 20px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.post { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.post img { width: 100%; height: 200px; object-fit: cover; }
.post h3 { padding: 15px; font-size: 1.4em; color: #2b7a78; }
.post p { padding: 0 15px 15px; color: #555; }
.post a { display: block; padding: 15px; background: #f0f0f0; text-align: right; color: #2b7a78; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); text-align: center; }

/* Contact */
#contact p { text-align: center; font-size: 1.2em; }

/* Footer */
footer { background: #17252a; color: #ddd; text-align: center; padding: 20px; }

/* Chat Widget */
#chat-bubble {
  position: fixed; bottom: 20px; right: 20px;
  background: #2b7a78; color: white;
  width: 55px; height: 55px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 24px; cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
#chat-widget {
  position: fixed; bottom: 80px; right: 20px;
  width: 320px; height: 420px; background: white;
  border-radius: 12px; box-shadow: 0 0 12px rgba(0,0,0,0.3);
  display: none; flex-direction: column;
}
#chat-header { background: #2b7a78; color: white; padding: 10px; font-weight: bold; border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; }
#chat-messages { flex: 1; padding: 10px; overflow-y: auto; background: #fafafa; }
.message { margin: 5px 0; font-size: 14px; }
.user { text-align: right; color: #444; }
.bot { text-align: left; background: #f0f0f0; padding: 6px 8px; border-radius: 8px; display: inline-block; max-width: 80%; }
#chat-input { display: flex; border-top: 1px solid #ddd; }
#chat-input input { flex: 1; padding: 8px; border: none; outline: none; }
#chat-input button { padding: 8px 12px; background: #2b7a78; color: white; border: none; cursor: pointer; }
