/* =====================================================
   DESIGN SYSTEM — GLOBAL VARIABLES
===================================================== */

:root {

  /* Brand */
  --color-primary: #1e88c9;
  --color-dark: #253443;
  --color-light: #f5f7f9;
  --color-text: #1f2937;

  /* Law theme */
  --color-gold: #f8d065;
  --color-gold-hover: #d19e14;

  /* Typography */
  --font-body: "Inter", sans-serif;
  --font-heading: "Bitter", serif;

  /* Heading scale */
  --h1-size: 68px;
  --h2-size: 46px;
  --h3-size: 36px;
  --h4-size: 24px;
  --h5-size: 18px;

  /* Mobile scale */
  --h1-mobile: 44px;
  --h2-mobile: 34px;
  --h3-mobile: 28px;

  /* Layout */
  --container-width: 1180px;
  --section-padding: 90px;

  /* Card */
  --card-radius: 12px;
}


/* =====================================================
   BASE
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: auto;
  padding: 0 24px;
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
}



:root {
  --primary: #1e88c9;
  --dark: #253443;
  --light: #f5f7f9;
  --text: #1f2937;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
}


/* ======================================================
   LAW FIRM HEADING SCALE â€“ AUTHORITY
====================================================== */

h1, h2, h3, h4, h5 {
  font-family: "Bitter", serif;
  font-weight: 700;
  color: #161922;
  margin: 0;
}

h1 {
  font-size: 68px;
  line-height: 1.1;
}

h2 {
  font-size: 46px;
  line-height: 1.2;
}

h3 {
  font-size: 36px;   /* ðŸ”¥ TWICE YOUR CURRENT SIZE */
  line-height: 1.25;
}

h4 {
  font-size: 24px;
  line-height: 1.3;
}

@media (max-width: 991px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  h3 { font-size: 28px; }
}



/* Homepage hero */
.hero-title {
  font-size: 76px;
  line-height: 1.08;
  font-weight: 700;
}

/* Section headings */
.section-title h2,
.section h2 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* Sub-headings */
.section h3 {
  font-size: 30px;
  line-height: 1.25;
}

/* Mobile */
@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
  }

  .section-title h2,
  .section h2 {
    font-size: 30px;
  }
}



.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--light);
}

h1, h2, h3, h4 {
  font-weight: 600;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
}

/* Header */
.site-header {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo img {
  height: 34px;
  width: auto;
}


.main-nav a {
  margin-left: 24px;
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* was too dark */
}


.hero-content {
  position: relative;
  max-width: 640px;
  margin-top: 120px;
}


.hero-angle {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Icons */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 30px;
  margin: 30px 0 60px;
}

.icon-card {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Promise */
.promise-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-weight: 600;
}

/* Founder */
.founder {
  background: var(--dark);
  color: #fff;
  position: relative;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 100px 0;
}

.founder-card {
  background: #fff;
  color: var(--text);
  padding: 40px;
  border-radius: 6px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.footer .small {
  opacity: .6;
  font-size: 13px;
}



/* REMOVE default body spacing */
html, body {
  margin: 0;
  padding: 0;
}

/* Header must overlay hero */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
}

/* Push hero content down so text doesn't sit under nav */
.hero {
  padding-top: 110px; /* height of header */
}

.founder-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}


@media (max-width: 900px) {
  .founder-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-image img {
    margin: 0 auto 30px;
  }
}


/* ======================================================
   AREAS OF PRACTICE â€“ CARD GRID (LAW-04)
   Clean, SaaS-safe, Bootstrap-compatible
====================================================== */

.areas-of-practice-section {
  background: #ffffff;
  padding: 90px 0;
}

/* Grid spacing (works with Bootstrap cols) */
.areas-of-practice-section .col-lg-3,
.areas-of-practice-section .col-md-6 {
  margin-bottom: 30px;
}

/* --------------------------------------
   PRACTICE CARD
-------------------------------------- */
.practice-card {
  position: relative;
  background: linear-gradient(180deg, #141b2d 0%, #1a202d 100%);
  padding: 40px 25px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  height: 100%;
  min-height: 320px;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* --------------------------------------
   ICON CONTAINER (NORMALIZED)
-------------------------------------- */
.practice-card .icon {
  height: 70px;                 /* identical space for all icons */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Icon image */
.practice-card .icon img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1); /* white icons */
  transition: transform 0.35s ease;
}

/* Optional optical correction */
.practice-card img[src*="Financial-Law"] {
  max-width: 48px;
}

/* --------------------------------------
   TITLE
-------------------------------------- */
.practice-card h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 12px;
}

/* --------------------------------------
   DESCRIPTION
-------------------------------------- */
.practice-card p {
  color: #d6d9e0;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 90%;
}

/* --------------------------------------
   HOVER EFFECT
-------------------------------------- */
.practice-card:hover {
  background: linear-gradient(180deg, #1b2336 0%, #232c44 100%);
  transform: translateY(-10px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(248, 208, 101, 0.18); /* subtle gold glow */
}

/* Icon micro-lift on hover */
.practice-card:hover .icon img {
  transform: scale(1.08);
}

/* --------------------------------------
   RESPONSIVE SAFETY
-------------------------------------- */
@media (max-width: 991px) {
  .practice-card {
    min-height: 300px;
  }
}


/* ======================================================
   AREAS OF PRACTICE â€“ GRID FIX (NO BOOTSTRAP)
====================================================== */

.areas-of-practice-section {
  background: #ffffff;
  padding: 90px 0;
}

/* Override Bootstrap expectations */
.areas-of-practice-section .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Kill Bootstrap column behavior */
.areas-of-practice-section .col-lg-3,
.areas-of-practice-section .col-md-6 {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* --------------------------------------
   PRACTICE CARD
-------------------------------------- */
.practice-card {
  background: linear-gradient(180deg, #141b2d 0%, #1a202d 100%);
  padding: 40px 25px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  min-height: 320px;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* Icon container */
.practice-card .icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Icon */
.practice-card .icon img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.35s ease;
}

/* Title */
.practice-card h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  margin: 20px 0 12px;
}

/* Description */
.practice-card p {
  color: #d6d9e0;
  font-size: 12px;
  line-height: 1.7;
  max-width: 90%;
  margin: 0 auto;
}

/* Hover */
.practice-card:hover {
  background: linear-gradient(180deg, #1b2336 0%, #232c44 100%);
  transform: translateY(-10px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 28px rgba(248,208,101,0.18);
}

.practice-card:hover img {
  transform: scale(1.08);
}

/* --------------------------------------
   RESPONSIVE
-----------------------------------



/* =====================================================
   NAVIGATION â€“ CLEAN / NO BACKGROUND BAR
===================================================== */

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- LOGO ---------------- */

.nav-logo img {
  height: 58px;          /* ðŸ”¥ BIGGER LOGO */
  width: auto;
  display: block;
}

/* ---------------- NAV MENU ---------------- */

.main-nav {
  display: flex;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

/* Links */
.nav-item > a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
  position: relative;
}

/* Hover underline */
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f8d065;
  transition: width 0.25s ease;
}

.nav-item:hover > a::after,
.nav-item.active > a::after {
  width: 100%;
}

/* ---------------- DROPDOWN ---------------- */

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;

  background: #1a202d;
  border-radius: 6px;
  min-width: 220px;
  padding: 12px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;

  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 999;
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.05);
  color: #f8d065;
}

.footer-map{
position:relative;
width:100%;
height:420px;
overflow:hidden;
}

 
/* ---------------- CTA ---------------- */

.nav-item.cta a {
  padding: 10px 22px;
  border: 1px solid #f8d065;
  border-radius: 4px;
  font-weight: 600;
}

.nav-item.cta a:hover {
  background: #f8d065;
  color: #000;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 18px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* =====================================================
   HERO SLIDER â€“ LAW 04
===================================================== */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* SLIDE */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* TOP FADE UNDER NAV */
.hero-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0)
  );
  z-index: 2;
}

/* MAIN OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(18,22,30,0.88),
    rgba(18,22,30,0.45)
  );
  z-index: 1;
}

/* CONTENT LOCK */
.hero-lock {
  position: absolute;
  left: 120px;
  bottom: 200px;
  max-width: 640px;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* TITLE */
.hero-title {
  font-family: "Bitter", serif;
  font-size: 68px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 18px;

  opacity: 0;
  transform: translateY(40px);
}

/* SUBTITLE */
.hero-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 28px;

  opacity: 0;
  transform: translateY(40px);
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 14px;

  opacity: 0;
  transform: translateY(40px);
}

/* BUTTON STYLES (MATCH LAW-02) */
.make-appointment,
.explain-matter {
  background: #f8d065;
  color: #1a202d;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.make-appointment:hover,
.explain-matter:hover {
  background: #d19e14;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

/* ANIMATION WHEN ACTIVE */
.hero-slide.active .hero-title {
  animation: heroUp 1.1s ease forwards;
}

.hero-slide.active .hero-subtitle {
  animation: heroUp 1.25s ease forwards;
  animation-delay: 0.15s;
}

.hero-slide.active .hero-buttons {
  animation: heroUp 1.4s ease forwards;
  animation-delay: 0.3s;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   HERO ANGLED STRIPE â€” MATCH REFERENCE (IMAGE 2)
===================================================== */

.hero-yellow-strip {
  position: relative;
  height: 140px;
  background: #f1c408;
  overflow: hidden;
}

/* WHITE DIAGONAL CUT */
.hero-yellow-strip::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #ffffff;

  /* THIS IS THE KEY */
  clip-path: polygon(
    0 60%,     /* left high */
    100% 0%,   /* right low */
    100% 100%,
    0 100%
  );
}

/* MOBILE */
@media (max-width: 991px) {
  .hero-yellow-strip {
    height: 110px;
  }

  .hero-yellow-strip::after {
    height: 90px;
    clip-path: polygon(
      0 65%,
      100% 10%,
      100% 100%,
      0 100%
    );
  }
}

