@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #06565B;
  --primary-dark: #044447;
  --primary-light: #006166;
  --text-dark: #303030;
  --text-mid: #6b6b6b;
  --text-light: #969696;
  --bg-light: #F8F9FB;
  --white: #ffffff;
  --border: #d1d1d1;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 48px; width: auto; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--primary-dark); color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  background: url('images/banner.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 760px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: 0.25s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 16px;
}

.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ── SECTION LAYOUT ── */
section { padding: 80px 0; }

.section-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.8;
  max-width: 640px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ── PRACTICE AREAS ── */
.practice-areas { background: var(--bg-light); }

.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.practice-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(6,86,91,0.15);
}

.practice-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.practice-card-body { padding: 20px 18px; }

.practice-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.practice-card-body p {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

.practice-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.3px;
}

/* ── ABOUT / WHY US ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 0;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.about-text .section-desc { max-width: 100%; margin-bottom: 24px; }

.feature-list { list-style: none; margin-top: 20px; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
  padding: 6px 0;
}

.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── CTA BANNER ── */
.cta-banner {
  position: relative;
  background: url('images/cta-bg.jpg') center center / cover no-repeat;
  padding: 80px 0;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 86, 91, 0.85);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TEAM ── */
.team { background: var(--bg-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 20px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(6,86,91,0.13);
}

.team-card-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--primary);
  padding: 3px;
  background: var(--white);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.team-card-body { padding: 0; }

.team-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.team-card-body span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
  display: block;
}

.team-card-body p {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
  margin-top: 10px;
  line-height: 1.6;
}

/* ── PARTNER BADGE ── */
.partnership {
  background: var(--white);
  padding: 60px 0;
}

.partnership-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partnership-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.partnership-text p {
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 460px;
  line-height: 1.8;
}

.partnership img { height: 80px; width: auto; }

/* ── CONTACT ── */
.contact { background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.contact-info-list { list-style: none; margin-top: 24px; }

.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; fill: var(--white); }

.contact-info-list h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-info-list p, .contact-info-list a {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-list a:hover { color: var(--primary); }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

/* ── FOOTER ── */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-about .footer-logo { margin-bottom: 16px; }
.footer-about .footer-logo img { height: 44px; }

.footer-about p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── INNER PAGE BANNER ── */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.85;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  .nav-menu.open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--bg-light); }
  .nav-menu a { display: block; padding: 14px 0; font-size: 15px; }
  .nav-cta { margin-top: 8px; text-align: center; border-radius: 4px; }

  .hamburger { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-image { order: -1; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .partnership-inner { flex-direction: column; text-align: center; }

  .hero-content h1 { font-size: 32px; }

  .btn-outline { margin-left: 0; margin-top: 12px; }

  .hero-content .btn { display: block; margin: 8px auto; max-width: 220px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .practices-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── DISCLAIMER POPUP ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.popup-overlay.hidden { display: none; }

.popup-box {
  background: var(--white);
  border-radius: 8px;
  max-width: 560px;
  width: 100%;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: auto;
}

body.popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.popup-logo {
  height: 36px;
  margin-bottom: 16px;
}

.popup-box h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.popup-box p {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 10px;
}

.popup-box p:last-of-type { margin-bottom: 20px; }

.popup-btn {
  display: block;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  text-align: center;
}

.popup-btn:hover { background: var(--primary-dark); }

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.popup-header .popup-logo { margin-bottom: 0; }

.popup-close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-mid);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
}

.popup-close:hover { color: var(--text-dark); }

.popup-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.popup-list li {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 8px;
}

.popup-divider {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 14px;

}

@media (max-width: 480px) {
  .popup-box {
    padding: 20px 16px 20px;
    max-height: 85vh;
  }
  .popup-logo { height: 30px; margin-bottom: 12px; }
  .popup-box h2 { font-size: 15px; }
  .popup-box p { font-size: 12px; line-height: 1.65; margin-bottom: 8px; }
}
