/* ================================================
   GLOBAL STYLES
================================================ */
body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
  padding-top: 100px !important; /* Adjust this value until it’s perfect */
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================================================
   HERO SECTION
================================================ */
.hero {
  position: relative;
  height: 90vh;
  color: #fff;
  background: url('https://images.unsplash.com/photo-1586528116314-7e5e6c8f46e5?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
  overflow: hidden;
}

/* Overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   margin-top: 100% !important; /* Pushes hero fully below navbar */
  background: rgba(135, 206, 250, 0.45); /* light sky blue overlay */
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: #e3f2fd;
}

.hero .btn-primary {
  background-color: #00aaff;
  border: none;
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: #0093dd;
  transform: translateY(-2px);
}

.hero .btn-outline-primary {
  border-color: #ffffff;
  color: #ffffff;
  transition: all 0.3s ease;
}

.hero .btn-outline-primary:hover {
  background-color: #ffffff;
  color: #00aaff;
}

@media (max-width: 768px) {
  .hero {
    height: 75vh;
    background-position: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ================================================
   FEATURES SECTION
================================================ */
#features {
  background: #f2f9ff;
  padding: 80px 0;
  text-align: center;
}

.section-header h2 {
  color: #00aaff;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: #555;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.25);
}

.feature-icon {
  font-size: 2.5rem;
  color: #00aaff;
  margin-bottom: 20px;
}

.feature-title {
  color: #004a7c;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-description {
  color: #555;
  font-size: 0.95rem;
}

/* ================================================
   STATS SECTION
================================================ */
.stats {
  background: linear-gradient(to right, #00aaff, #7edcff);
  padding: 70px 0;
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ================================================
   FLOATING BUTTONS
================================================ */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn {
  background-color: #25D366;
}

.chatbot-btn {
  background-color: #00aaff;
}

/* ================================================
   CHATBOT MODAL
================================================ */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  background-color: #00aaff;
  color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.modal-body {
  background-color: #f9fcff;
}

.chat-messages {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 10px;
  background: white;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.message {
  background: #e0f7ff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.input-group input {
  border-radius: 50px 0 0 50px;
}

.input-group .btn {
  border-radius: 0 50px 50px 0;
  background-color: #00aaff;
  border: none;
}

.input-group .btn:hover {
  background-color: #0093dd;
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .feature-card {
    padding: 30px 20px;
  }
}

