/* ===== BASE & TYPOGRAPHY ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo-img {
  height: 56px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #D4AF37;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero-slider {
  margin-top: 72px;
  position: relative;
  height: 80vh;
  overflow: hidden;
}

/* ===== ANIMATIONS ===== */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO SLIDER ===== */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.tagline {
  font-size: 1.4rem;
  color: #D4AF37;
  margin: 15px 0;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.buttons {
  margin-top: 20px;
}

/* MODERN BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 32px;
  margin: 0 10px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.02rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: none;
  text-decoration: none;
}

.btn.yellow {
  background: #D4AF37;
  color: black;
}

.btn.yellow:hover {
  background: #c09a2a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.btn.blue {
  background: #0056b3;
  color: white;
}

.btn.blue:hover {
  background: #004aa0;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  background: white;
}

.light-bg {
  background: #fafafa;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
  margin: 0 auto 35px;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 40px;
}

/* ===== GLASSMORPHIC CARDS ===== */
.service-card.glass,
.legal-card.glass,
.value-card.glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 28px;
  transition: all 0.3s ease;
}

.service-card.glass:hover,
.legal-card.glass:hover,
.value-card.glass:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===== CORE VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.value-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card .icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  color: #0056b3;
}

.value-card h3 {
  font-size: 1.3rem;
  color: #0056b3;
  margin: 0 0 14px;
}

.value-card p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.service-division {
  font-size: 1.4rem;
  color: #0056b3;
  margin: 40px 0 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
  align-items: start;
}

.service-card h4,
.legal-card h4 {
  color: #D4AF37;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.service-card ul,
.legal-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: #444;
}

.service-card li,
.legal-card li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-card li:before,
.legal-card li:before {
  content: "✓";
  color: #0056b3;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.legal-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
  align-items: start;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 30px;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transition: transform 0.4s;
  /* REMOVED height: 100% → cards now size to content */
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
}

.team-member h3 {
  margin: 18px 0 8px;
  font-size: 1.3rem;
  color: #222;
  padding: 0 20px;
}

.role {
  color: #D4AF37;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1rem;
  padding: 0 20px;
}

.team-member p,
.team-member ul {
  padding: 0 20px;
  font-size: 0.95rem;
  color: #444;
  margin: 8px 0 12px;
}

.team-member ul {
  padding-left: 36px;
  margin-top: 4px;
}

/* Remove extra space after last element */
.team-member > :last-child {
  margin-bottom: 16px;
}

.team-member li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 120px;
  overflow: hidden;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  background: #f9f9f9;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.partner-box {
  background: #f0f7ff;
  border-left: 4px solid #0056b3;
  padding: 20px;
  border-radius: 6px;
  font-weight: 600;
  color: #222;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

.partner-box:hover {
  background: #e6f2ff;
  transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: #eee;
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.footer-column h3, .footer-column h4 {
  color: #D4AF37;
  margin-bottom: 18px;
}

.footer-column p, .footer-column ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #D4AF37;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 15px;
}

.social-icon {
  display: inline-block;
  margin-right: 12px;
}

.social-icon img {
  width: 36px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.social-icon:hover img {
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #444;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-bottom p {
  margin: 10px 0;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom strong {
  color: #D4AF37;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .tagline {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 16px 0;
    gap: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-logo-img {
    height: 48px;
  }

  .hero-slider {
    margin-top: 72px;
  }
}