/* ===== BASE ===== */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f8ff;
    color: #333;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(90deg, #e3f2fd, #ffffff);
    background: url('./img/Insurance.webp') no-repeat center center/cover;
    position: relative;
    padding: 50px 0 120px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #0d47a1;
}

.hero p {
    font-size: 15px;
    color: #555;
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Tab item */
.tab-item {
    padding: 12px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-item i {
    font-size: 20px;
    color: #0d6efd;
    margin-bottom: 5px;
}

/* Hover */
.tab-item:hover {
    background: #f1f6ff;
}

/* Active */
.tab-item.active {
    background: #e7f1ff;
    font-weight: 600;
}

/* ===== QUOTE FORM ===== */
.quote-box {
    background: #fff;
    margin-top: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Inputs */
.quote-box label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    padding: 6px 2px;
    font-size: 14px;
}

/* Focus clean */
.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Button */
.btn-quote {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-quote:hover {
    background: #0b5ed7;
}

/* ===== STATS ===== */
.stats {
    margin-top: 35px;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 13px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 26px;
    }

    .category-tabs {
        padding: 10px;
    }

    .tab-item {
        font-size: 12px;
    }

    .quote-box {
        padding: 15px;
    }

    .btn-quote {
        width: 100%;
    }
}

.dynamic-desc {
    margin: 15px 0 5px;
}

.dynamic-desc p {
    font-size: 14px;
    color: #555;
    max-width: 600px;
    margin: auto;
}

/* Popup background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.popup-box h3 {
  margin-bottom: 10px;
}

.popup-box button {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}