:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --secondary: #c9a227;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

h1,
h2,
h3,
h4 {
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.navbar.scrolled .nav-logo {
  opacity: 1;
  visibility: visible;
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: 16px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background-color: var(--primary);
}

/* HERO */
.hero {
  background: 
    linear-gradient(rgba(26, 54, 93, 0.6), rgba(44, 82, 130, 0.6)), 
    url("../images/WhatsApp Image 2026-05-04 at 22.30.34.jpeg");
    
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 70vh;
  padding: 140px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 100px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  max-height: 180px;
  object-fit: contain;
}

/* our team */
.our-team {
  background-color: var(--bg-white);
  padding: 90px 0 60px;
}

.r-team h2,
.news h2,
.practice-areas h2,
.contact h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 900px;
}

.partner-card + .partner-card {
  margin-top: 35px;
}

.partner-card-left {
  margin-right: auto;
}

.partner-card-right {
  margin-left: auto;
  grid-template-columns: 1fr 220px;
}

.partner-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary);
  background: #ddd;
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-bio h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.partner-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.partner-bio p:last-child {
  color: var(--text-light);
}

/* NEWS */
.news {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.news-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  background-color: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-content {
  padding: 25px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--primary);
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: var(--bg-white);
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  background-color: var(--secondary);
}

/* PRACTICE AREAS */
.practice-areas {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.practice-card {
  background-color: var(--bg-white);
  padding: 32px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.practice-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.practice-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* CONTACT */
.contact {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.contact-simple {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-item + .contact-item {
  margin-top: 24px;
}

.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
}

/* FOOTER */
.footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 50px 0 25px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  opacity: 0.85;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .news-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-dark);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .partner-card,
  .partner-card-right {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-card-right .partner-bio {
    order: 2;
  }

  .partner-card-right .partner-photo {
    order: 1;
  }

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

  .news-card {
    flex: 0 0 calc(100% - 20px);
  }

  .footer-content {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 55vh;
    padding: 120px 0 60px;
  }

  .hero-logo {
    max-width: 280px;
    max-height: 120px;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  background-attachment: fixed;
}

.about-us {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}
.hero div:last-child {
  max-width: 600px;
  margin: 30px auto 0;
  padding: 25px 30px;

  background: rgba(255, 255, 255, 0.08); /* subtle glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.our-team h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px; /* slightly tighter */
}
.our-team .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-about {
  max-width: 800px; /* wider, more breathable */
  line-height: 1.8;
  padding: 28px 36px;
}
/* .article-page-body .navbar.scrolled {
  box-shadow: none;
  border-bottom: 1px solid #e2e8f0;
} */
/*  
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: 
    linear-gradient(rgba(26, 54, 93, 0.6), rgba(44, 82, 130, 0.6)),
    url("../images/WhatsApp Image 2026-05-04 at 22.30.34.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(6px);
  transform: scale(1.05);

  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
} */
 
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-content {
    order: 1;
    justify-content: center;
  }

  .hero-about {
    order: 2;
    margin-top: 20px;
  }
}
body.article-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.article-page {
  flex: 1;
}