@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --orange: #E8651A;
  --orange-hover: #C85410;
  --orange-light: rgba(232, 101, 26, 0.13);
  --cream: #F5EDE3;
  --cream-light: #FAF6EF;
  --dark: #1B2340;
  --dark-footer: #141C2C;
  --text: #3D3D3D;
  --text-muted: #777;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 14px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active {
  background: var(--orange);
  color: var(--white);
}
.nav-links a.active:hover { background: var(--orange-hover); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #0f1520;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.58);
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  max-width: 620px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 30px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }

/* ─── SECTION SHARED ─── */
.section { padding: 80px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}
.text-center { text-align: center; }

/* ─── WHO WE ARE ─── */
.who-we-are {
  background: var(--cream-light);
  padding: 64px 0;
}
.who-we-are .container { text-align: center; }
.who-we-are p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.who-we-are p span { color: var(--orange); font-weight: 500; }

/* ─── SERVICES ─── */
.services { background: var(--cream); }
.services-header { margin-bottom: 44px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
  border-color: transparent;
}
.service-icon {
  width: 46px;
  height: 46px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
  transition: none;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.service-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-list-hidden { display: none; }
.service-list-hidden.open { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.show-more-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color 0.2s;
}
.show-more-btn:hover { color: var(--orange-hover); }
.show-more-btn .arrow { transition: transform 0.25s; display: inline-block; }
.show-more-btn.open .arrow { transform: rotate(180deg); }

/* ─── WHY CHOOSE US ─── */
.why-us { background: var(--cream-light); }
.why-us-header { margin-bottom: 44px; }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
  border-color: transparent;
}
.why-icon {
  width: 42px;
  height: 42px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  margin-bottom: 16px;
  color: var(--orange);
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── CORE VALUES ─── */
.core-values { background: var(--cream-light); padding-top: 0; }
.core-values-inner {
  background: var(--cream);
  border-radius: 20px;
  padding: 52px 44px;
  text-align: center;
}
.core-values-inner .section-label { display: block; }
.core-values-inner .section-title { margin-bottom: 36px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.value-item { text-align: center; }
.value-dot {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  margin: 0 auto 16px;
}
.value-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #0f1520;
  background-image: url('../assets/images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.65);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 18px;
  line-height: 1.22;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark-footer);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.footer-brand-name span { color: var(--orange); }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}
.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ─── CONTACT PAGE ─── */
.page-header {
  background: var(--cream-light);
  padding: 70px 0 60px;
  text-align: center;
}
.page-header .section-title { margin-bottom: 14px; }
.page-header p { font-size: 1rem; color: var(--text-muted); }
.contact-section { background: var(--white); padding: 70px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.contact-detail-text span {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px 32px; }
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.93rem;
  font-weight: 500;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #fde8e8; color: #c62828; border: 1px solid #ffcdd2; }

/* ─── NEWS / BLOG PAGE ─── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 60px 0 90px;
}
.post-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.post-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1a2540, #2a3a60);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-body { padding: 24px; }
.post-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.post-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.posts-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}
.posts-empty h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--dark); margin-bottom: 10px; }

/* ─── CONSULTATION MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 30, 0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 36px 28px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modal-in 0.25s ease;
}
.modal::-webkit-scrollbar { display: none; }
@keyframes modal-in { from { opacity:0; transform:translateY(-16px) scale(0.97); } to { opacity:1; transform:none; } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--dark); background: var(--cream); }
.modal-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}
/* Tighter form fields inside modal */
.modal .form-group { margin-bottom: 14px; }
.modal .form-group label { margin-bottom: 5px; font-size: 0.85rem; }
.modal .form-group input,
.modal .form-group textarea,
.modal select {
  padding: 9px 13px;
  font-size: 0.9rem;
  border-radius: 8px;
}
.modal .form-group textarea { min-height: 72px; }
.modal .form-submit { padding: 12px 28px; font-size: 0.95rem; margin-top: 4px; }
.modal-success {
  text-align: center;
  padding: 24px 0 8px;
}
.modal-success .success-icon {
  width: 56px;
  height: 56px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #2E7D32;
}
.modal-success h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }
.modal-success p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .services-grid,
  .why-us-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-top: 1px solid rgba(0,0,0,0.07); gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 8px; padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .navbar { position: relative; }
  .hero h1 { font-size: 1.8rem; }
  .services-grid,
  .why-us-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .core-values-inner { padding: 40px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .posts-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}
