/* ===== Kingdom Services - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Colors --- */
:root {
  --primary: #0a1628;
  --primary-light: #122240;
  --accent: #d4a03c;
  --accent-light: #f0c96e;
  --accent-dark: #b8862e;
  --white: #ffffff;
  --light: #f5f6fa;
  --dark: #0d0d0d;
  --gray: #5a6577;
  --gray-light: #8892a4;
  --border: #dfe3ec;
  --success: #28a745;
  --shadow: 0 4px 30px rgba(10,22,40,.08);
  --shadow-lg: 0 15px 50px rgba(10,22,40,.12);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .35s ease;
  border: none;
  font-family: inherit;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,160,60,.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* --- Text Logo --- */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-text .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}
.logo-text span { color: var(--accent); }

.footer .logo-text {
  color: var(--white);
  margin-bottom: 15px;
}

/* --- Topbar --- */
.topbar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-contact {
  display: flex;
  gap: 30px;
  align-items: center;
}
.topbar-contact a {
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact i { color: var(--accent); font-size: 12px; }
.topbar .btn { padding: 8px 22px; font-size: 12px; }

/* --- Header / Navbar --- */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;
  color: #3a4555;
  border-radius: 6px;
  transition: all .3s;
  position: relative;
}
.nav-links > a:hover,
.nav-links > a.active {
  color: var(--accent-dark);
  background: rgba(212,160,60,.06);
}
.nav-links .dropdown {
  position: relative;
}
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 100;
  border: 1px solid var(--border);
  overflow: hidden;
}
.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
  border-radius: 0;
}
.nav-links .dropdown-menu a:last-child { border-bottom: none; }
.nav-links .dropdown-menu a:hover { background: var(--light); color: var(--accent-dark); }
.header-btn { margin-left: 20px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: .3s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, rgba(10,22,40,.92), rgba(10,22,40,.80)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 130px 0 120px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(10,22,40,.3));
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: .85;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* --- Page Banner (inner pages) --- */
.page-banner {
  background: linear-gradient(135deg, rgba(10,22,40,.92), rgba(10,22,40,.82)), url('../images/breadcrumb-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}
.breadcrumb {
  font-size: 14px;
  opacity: .7;
  font-weight: 300;
}
.breadcrumb a { color: var(--accent); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Features Strip --- */
.features {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 35px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: var(--white);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.feature-item i { font-size: 26px; opacity: .9; }
.feature-item span { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }

/* --- Section Spacing --- */
.section { padding: 90px 0; }
.section-light { background: var(--light); }
.section-title {
  text-align: center;
  margin-bottom: 55px;
}
.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto;
  font-size: 15px;
}
.section-title .divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 3px;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border-radius: 14px;
  padding: 35px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .4s ease;
  border: 1px solid transparent;
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,160,60,.15);
}
.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon i {
  font-size: 26px;
  color: var(--white);
}
.benefit-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* --- Trust Section --- */
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-logos a {
  display: block;
  opacity: .6;
  transition: all .3s;
  filter: grayscale(30%);
}
.trust-logos a:hover { opacity: 1; filter: grayscale(0%); }
.trust-logos img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* --- Why Choose Section --- */
.why-choose {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 90px 0;
}
.why-choose .container {
  max-width: 800px;
  text-align: center;
}
.why-choose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 28px;
}
.why-choose h2 span { color: var(--accent); }
.why-choose p {
  font-size: 16px;
  line-height: 1.85;
  opacity: .85;
  font-weight: 300;
}

/* --- CTA Section --- */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 25px;
}

/* --- About Content --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content p {
  margin-bottom: 22px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
}

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item:hover { border-color: rgba(212,160,60,.3); }
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: all .3s;
  color: var(--primary);
}
.faq-question:hover { background: #fafafa; }
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 15px;
}
.faq-item.active .faq-question { background: var(--light); }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0;
}

/* --- Contact Info Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: all .3s;
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.contact-card i {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-card p, .contact-card a {
  font-size: 14px;
  color: var(--gray);
}
.contact-card a:hover { color: var(--accent); }

/* --- Forms --- */
.form-section { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: .3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: all .3s;
  background: #fafbfc;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,160,60,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: var(--light);
  border-radius: 8px;
}
.checkbox-group input[type="checkbox"] { margin-top: 3px; width: auto; flex-shrink: 0; }
.checkbox-group label {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 400;
}

/* Form status messages */
.form-status {
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-status.error {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* --- Policy/Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light);
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 8px;
}
.legal-content p {
  margin-bottom: 14px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}
.legal-content ol, .legal-content ul {
  padding-left: 25px;
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 14px;
}
.legal-content li { margin-bottom: 8px; line-height: 1.6; }
.legal-content strong { color: var(--primary); }
.legal-content blockquote {
  background: linear-gradient(135deg, #fffbf0, #fff8e6);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 18px 0;
  font-style: italic;
  color: #5a5a5a;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}

/* --- Map --- */
.map-container {
  margin-top: 50px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-container iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 45px;
  padding-bottom: 45px;
}
.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
}
.footer p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: all .3s;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer-contact a { color: rgba(255,255,255,.55); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact i { color: var(--accent); margin-top: 3px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  display:none;
  right: 28px;
  z-index: 999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transition: all .3s;
}
.whatsapp-float a:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,.4); }
.whatsapp-float i { font-size: 22px; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .header-btn { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 15px;
    gap: 0;
    border-top: 2px solid var(--accent);
  }
  .nav-links.open a { padding: 12px 15px; width: 100%; }
  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 15px;
    border: none;
  }
  .hero h1 { font-size: 36px; }
  .section-title h2 { font-size: 30px; }
}

@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 30px; }
  .page-banner h1 { font-size: 30px; }
  .topbar-contact { flex-direction: column; gap: 5px; align-items: flex-start; }
  .trust-logos { gap: 20px; }
  .trust-logos img { height: 40px; }
  .section { padding: 60px 0; }
  .logo-text { font-size: 20px; }
  .logo-text .logo-icon { width: 32px; height: 32px; font-size: 16px; }
}
