/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6F4E37;
  color: #FFFDD0;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #FFFDD0;
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  color: #FFFDD0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #FFB74D;
}

.navbar-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background: #FFFDD0;
  transition: all 0.3s ease-in-out;
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #FFFDD0 0%, #fff8e7 100%);
  padding: 80px 5%;
  gap: 50px;
  min-height: 90vh;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
  color: #4B3621;
}

.hero-text .highlight {
  font-family: "Playfair Display", serif;
  color: #D2691E;
  display: block;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #4B3621;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary, .btn-outline {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #D2691E;
  color: #FFFDD0;
  border: none;
}

.btn-primary:hover {
  background-color: #6F4E37;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #D2691E;
  color: #D2691E;
}

.btn-outline:hover {
  background-color: #D2691E;
  color: #FFFDD0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  width: clamp(250px, 40vw, 400px);
  height: clamp(250px, 40vw, 400px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(75, 54, 33, 0.2);
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  background-color: #fffaf3;
  gap: 50px;
}

.intro-content {
  flex: 1;
  max-width: 600px;
}

.intro-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #4b3621;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

.intro-content p {
  font-family: 'Georgia', serif;
  color: #3b2f2f;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.intro-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(75, 54, 33, 0.15);
}

/* ===== BENEFITS SECTION (GLASSMORPHIC CARDS) ===== */
.benefits-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #4b3621 0%, #6F4E37 50%, #4b3621 100%);
}

.benefits-title {
  text-align: center;
  color: #FFFDD0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 50px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 2px solid rgba(255, 253, 208, 0.2);
  border-radius: 60px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 253, 208, 0.4);
}

.card-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-title {
  color: #FFFDD0;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.card-description {
  color: #e8d9c5;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
  text-align: center;
  font-family: 'Georgia', serif;
}

/* ===== CHATBOT SECTION ===== */
.chatbot-section {
  padding: 80px 5%;
  background: linear-gradient(to bottom, #fffaf3 0%, #f5f0e8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.chatbot-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(75, 54, 33, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 700px;
}

.chat-header {
  background: linear-gradient(135deg, #D2691E 0%, #6F4E37 100%);
  color: white;
  padding: 25px;
  text-align: center;
}

.chat-header h1 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  margin-bottom: 5px;
}

.chat-header p {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  opacity: 0.9;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  display: flex;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.bot {
  justify-content: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.message.bot .message-bubble {
  background: #6F4E37;
  color: white;
  border-bottom-left-radius: 4px;
}

.message.user .message-bubble {
  background: #D2691E;
  color: white;
  border-bottom-right-radius: 4px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 10px 20px;
}

.quick-reply-btn {
  background: white;
  border: 2px solid #D2691E;
  color: #D2691E;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
  font-weight: 600;
}

.quick-reply-btn:hover {
  background: #D2691E;
  color: white;
  transform: translateY(-2px);
}

.chat-input-container {
  display: flex;
  padding: 20px;
  background: white;
  border-top: 2px solid #e0e0e0;
  gap: 10px;
}

#user-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #D2691E;
  border-radius: 25px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  outline: none;
  transition: border-color 0.3s;
}

#user-input:focus {
  border-color: #6F4E37;
}

#send-btn {
  padding: 12px 24px;
  background: #D2691E;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

#send-btn:hover {
  background: #6F4E37;
  transform: scale(1.05);
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #e0e0e0;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #D2691E;
  border-radius: 4px;
}

.summary-card {
  background: linear-gradient(135deg, #fff8e7 0%, #ffe8cc 100%);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #D2691E;
  margin-top: 10px;
}

.summary-card h3 {
  color: #6F4E37;
  margin-bottom: 10px;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.summary-item {
  margin: 8px 0;
  color: #4a4a4a;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.summary-item strong {
  color: #6F4E37;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #6F4E37;
  border-radius: 18px;
  width: fit-content;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #4b3621 0%, #6F4E37 100%);
  color: #FFFDD0;
  padding: 60px 5% 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: #FFFDD0;
  margin: 0;
}

.footer-tagline {
  color: #e8d9c5;
  line-height: 1.6;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin-top: 10px;
}

.footer-column h4 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 20px;
  color: #FFFDD0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #e8d9c5;
  text-decoration: none;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFDD0;
  transform: translateX(5px);
}

.footer-description {
  color: #e8d9c5;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 253, 208, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFDD0;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #D2691E;
  transform: translateY(-3px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 253, 208, 0.2);
  margin: 30px 0;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e8d9c5;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #e8d9c5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #FFFDD0;
}

.footer-bottom-links span {
  color: #D2691E;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 880px) {
  .navbar-toggle {
    display: flex;
  }

  .logo-text {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #6F4E37;
    width: 250px;
    height: calc(100vh - 70px);
    padding: 2rem;
    gap: 0;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .navbar-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
    min-height: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .intro-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .chatbot-container {
    height: 600px;
    border-radius: 15px;
  }

  .footer-credits {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .chatbot-container {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .message-bubble {
    max-width: 85%;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
  }
}