/* ==========================================================
   OHAMS DIVINE LTD — Public Site Stylesheet
   ========================================================== */

:root {
  --green: #4CAF3D;
  --green-dark: #2E7D22;
  --green-light: #7ED957;
  --black: #14181A;
  --charcoal: #1E2422;
  --gold: #C9A227;
  --cream: #F4F1EA;
  --gray: #6B7278;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2A2E2C;
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--white);
}

p { margin: 0 0 16px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.bg-dark { background: var(--black); color: #E7EAE8; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-dark); color: var(--white); }
.bg-green h1, .bg-green h2, .bg-green h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.bg-dark .eyebrow, .bg-green .eyebrow { color: var(--green-light); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray); font-size: 17px; }
.bg-dark .section-head p, .bg-green .section-head p { color: #C9D2CC; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,24,26,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--green);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.logo span.badge {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--green-light); letter-spacing: 1px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #E7EAE8;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-light); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 50;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  color: #2A2E2C;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--green-dark); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 120px 0 100px;
  text-align: left;
}

/* Hero Slider Styles */
.hero-slider {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.hero-slider .slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active { opacity: 1; }

/* Dark overlay so text remains readable */
.hero-slider::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20,24,26,0.85); 
}

.hero .container { max-width: 800px; }
.hero .eyebrow { color: var(--green-light); }
.hero h1 { font-size: 44px; margin-bottom: 18px; }
.hero p { font-size: 18px; color: #E7EAE8; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-strip div { font-size: 13px; color: #C9D2CC; }
.hero-strip strong { display: block; font-size: 22px; color: var(--white); font-weight: 800; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.division-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.division-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.division-card .icon { font-size: 40px; margin-bottom: 16px; }
.division-card h3 { font-size: 20px; margin-bottom: 8px; }
.division-card .tagline { color: var(--green-dark); font-weight: 700; font-size: 13.5px; margin-bottom: 12px; }
.division-card p.desc { color: var(--gray); font-size: 14.5px; flex-grow: 1; }
.division-card .card-link { margin-top: 16px; font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; }
.division-card .card-link:hover { text-decoration: underline; }

.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.service-card:hover { background: var(--white); border-color: var(--green-light); box-shadow: var(--shadow); }
.service-card .icon { font-size: 28px; margin-bottom: 12px; }
.service-card h4 { font-size: 17px; margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 14px; margin-bottom: 14px; }
.service-card a.card-link { font-weight: 700; color: var(--green-dark); font-size: 13.5px; }

.value-card {
  background: var(--charcoal);
  border: 1px solid #2C3532;
  border-radius: var(--radius);
  padding: 26px;
  color: var(--white);
}
.value-card h4 { color: var(--green-light); font-size: 16px; margin-bottom: 8px; }
.value-card p { color: #B8C0BB; font-size: 14px; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { height: 190px; object-fit: cover; width: 100%; }
.blog-card .content { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card .date { font-size: 12.5px; color: var(--green-dark); font-weight: 700; margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card p { color: var(--gray); font-size: 14px; flex-grow: 1; }
.blog-card .read-more { font-weight: 700; color: var(--green-dark); font-size: 13.5px; margin-top: 12px; }

/* ---------- About / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-row { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.stat-row div strong { display: block; font-size: 30px; color: var(--green-dark); font-weight: 800; }
.stat-row div span { font-size: 13px; color: var(--gray); }

/* ---------- Why choose / feature list ---------- */
.feature-item { display: flex; gap: 16px; margin-bottom: 26px; }
.feature-item .diamond {
  min-width: 40px; height: 40px; background: var(--green);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800;
}
.feature-item h4 { margin-bottom: 4px; font-size: 16px; }
.feature-item p { color: var(--gray); font-size: 14px; margin: 0; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card {
  background: var(--charcoal); color: var(--white);
  border-radius: var(--radius); padding: 34px;
}
.contact-info-card h3 { color: var(--green-light); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { font-size: 20px; }
.contact-info-item strong { display: block; font-size: 14px; color: var(--white); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 13.5px; color: #C9D2CC; }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #DDE3DF; font-size: 14.5px; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
}
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #E5F4E1; color: #2E7D22; border: 1px solid #B9E0AC; }
.alert-error { background: #FDEBEA; color: #B3261E; border: 1px solid #F5C2BF; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #B8C0BB; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-grid p { font-size: 13.5px; color: #9AA39D; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 13.5px; color: #B8C0BB; transition: var(--transition); }
.footer-grid ul li a:hover { color: var(--green-light); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: #232B27;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green); }
.footer-bottom {
  border-top: 1px solid #262E2A; padding: 20px 0; text-align: center;
  font-size: 12.5px; color: #7A837D;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--black), var(--charcoal));
  color: var(--white);
  padding: 70px 0 50px;
}
.breadcrumb { font-size: 13px; color: #9AA39D; margin-bottom: 10px; }
.breadcrumb a { color: var(--green-light); }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: #C9D2CC; max-width: 640px; }

/* ---------- Blog single ---------- */
.blog-single-body { max-width: 760px; margin: 0 auto; }
.blog-single-body img.cover { border-radius: var(--radius); margin-bottom: 30px; }
.blog-single-body .content p { font-size: 16.5px; color: #333; }
.blog-meta { display: flex; gap: 18px; color: var(--gray); font-size: 13.5px; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); padding: 16px; gap: 4px;
  }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-cta .btn span.label { display: none; }
  .hero { padding: 90px 0 70px; text-align: center;}
  .hero .container { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}