/* =============================================
   Kingdom Home Care Services – Global Styles
   ============================================= */

/* Fonts */
body {
  font-family: 'Lato', system-ui, sans-serif;
  color: #222222;
  background-color: #FAFAFA;
}

.font-heading {
  font-family: 'Lora', Georgia, serif;
}

/* ── Hero Backgrounds ── */
.hero-home {
  background-image: url('../images/hero-new.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-page {
  background-image: url('../images/staff-group.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-about {
  background-image: url('../images/staff-group.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ── About & Profile Images ── */
.about-img-1 {
  background-image: url('../images/F9.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-img-2 {
  background-image: url('../images/F22.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── CTA Section ── */
.cta-section-bg {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(102, 0, 102, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #330033 0%, #1a001a 100%);
}

/* ── Header ── */
#site-header {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}


#site-header.scrolled {
  background: rgba(26, 0, 26, 0.97) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.3);
}

#site-header.scrolled .nav-link {
  color: rgba(255,255,255,0.85) !important;
}

#site-header.scrolled .nav-link:hover,
#site-header.scrolled .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

#site-header.scrolled .header-contact {
  color: rgba(255,255,255,0.75) !important;
}

#site-header.scrolled .header-contact:hover {
  color: #ffffff !important;
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  animation: slideDown 0.2s ease;
}

.mobile-menu.open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Form Styles ── */
.form-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #EAEAEA;
  border-radius: 10px;
  background: #FAFAFA;
  font-size: 14px;
  color: #222222;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: 'Lato', system-ui, sans-serif;
}

.form-field:focus {
  border-color: #660066;
  box-shadow: 0 0 0 3px rgba(102, 0, 102, 0.12);
}

.form-field::placeholder {
  color: #919191;
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23919191' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-field {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #4A4848;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-label .required {
  color: #660066;
  margin-left: 3px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Checkbox & Radio */
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4A4848;
  cursor: pointer;
}

.check-label input[type="checkbox"],
.check-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #660066;
  cursor: pointer;
  flex-shrink: 0;
}

/* Section dividers */
.form-section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #222222;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #EAEAEA;
  margin-bottom: 24px;
}

/* File upload */
.file-upload-area {
  border: 2px dashed #D4D4D4;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  background: #FAFAFA;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: #660066;
  background: #faf0fa;
}

/* Tabs */
.tab-btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.tab-btn.active {
  background: #660066;
  color: white;
  border-color: #660066;
}

.tab-btn:not(.active) {
  background: #FAFAFA;
  color: #4A4848;
  border-color: #EAEAEA;
}

.tab-btn:not(.active):hover {
  border-color: #660066;
  color: #660066;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Success message */
.form-success {
  display: none;
  padding: 20px 24px;
  background: #faf0fa;
  border: 1.5px solid #e4b3e4;
  border-radius: 14px;
  color: #4d004d;
}

.form-success.visible {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
}

/* ── Policy pages ── */
.policy-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: #222222;
  margin-top: 40px;
  margin-bottom: 14px;
}

.policy-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  margin-top: 24px;
  margin-bottom: 10px;
}

.policy-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #4A4848;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-content ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #4A4848;
  margin-bottom: 6px;
}

/* ── FAQ Accordion ── */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-icon { transition: transform 0.3s ease; display: inline-block; }

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── Print ── */
@media print {
  #site-header, footer { display: none; }
}
