* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0d2b52;
  --secondary: #d4af37;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1b2430;
  --muted: #5b6878;
  --border: #dbe4ee;
  --shadow: 0 12px 30px rgba(11, 34, 64, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 9999;
  background: var(--white);
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 8px;
}

.section-gap {
  padding: 70px 5%;
}

.top-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ca-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}

.firm-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.firm-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
}

.follow-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.follow-text {
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
}

.social-links img {
  width: 28px;
  height: 28px;
  transition: 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(10, 24, 44, 0.06);
}

.nav-inner {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 16px;
}

.nav-inner a {
  color: var(--primary);
  font-weight: 700;
  padding: 16px 12px;
  position: relative;
  white-space: nowrap;
  font-size: 15px;
}

.nav-inner a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.25s ease;
}

.nav-inner a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 88vh;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}

.slide.active {
  display: block;
}

.overlay {
  min-height: 88vh;
  background: linear-gradient(90deg, rgba(8,20,40,0.82) 0%, rgba(8,20,40,0.58) 55%, rgba(8,20,40,0.22) 100%);
  color: var(--white);
  padding: 0 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  display: inline-block;
  background: rgba(212, 175, 55, 0.16);
  color: #f3d774;
  padding: 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 700;
}

.overlay h1,
.overlay h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 16px;
}

.hero-text {
  max-width: 680px;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.video-about-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.video-card,
.about-card,
.team-card,
.services-section,
.reviews-section,
.resource-card,
.contact-card,
.map-card,
.consultation-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-card,
.about-card,
.services-section,
.reviews-section,
.contact-card,
.map-card {
  padding: 28px;
}

.video-box iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 14px;
}

.about-para {
  margin-bottom: 16px;
  color: var(--muted);
}

.about-points {
  padding-left: 18px;
}

.about-points li {
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-content {
  padding: 24px;
}

.team-content h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.team-role {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
}

.services-clients-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
  align-items: start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  display: block;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 22px;
  border-radius: 16px;
  color: var(--text);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,43,82,0.2);
  box-shadow: 0 16px 28px rgba(11, 34, 64, 0.08);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--muted);
}

.reviews-section {
  height: 660px;
  overflow: hidden;
}

.reviews-marquee {
  height: 560px;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: verticalReviews 30s linear infinite;
}

.review-card {
  border: 1px solid var(--border);
  background: #f9fbfe;
  padding: 18px;
  border-radius: 14px;
  color: var(--text);
}

.review-card span {
  display: block;
  color: var(--primary);
  font-weight: 700;
  margin-top: 10px;
}

@keyframes verticalReviews {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.clientage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.resource-card {
  padding: 24px;
}

.resource-card h3 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.resource-card ul {
  padding-left: 18px;
}

.resource-card li {
  margin-bottom: 10px;
  color: var(--muted);
}

.resource-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-link {
  background: var(--primary);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.consultation-form {
  max-width: 820px;
  margin: auto;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  outline: none;
  font-size: 1rem;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: var(--primary);
}

.consultation-form button {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: 0;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.consultation-form button:hover {
  opacity: 0.95;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-list strong {
  color: var(--primary);
}

.contact-list a {
  color: var(--primary);
  font-weight: 700;
}

.map-card iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 22px 5%;
}

.footer p + p {
  margin-top: 6px;
  opacity: 0.9;
}

.service-page-hero {
  background: linear-gradient(135deg, #0d2b52 0%, #143d73 100%);
  color: var(--white);
  padding: 70px 5% 50px;
}

.service-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.service-page-wrap {
  padding: 50px 5% 80px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 24px;
}

.service-detail-card h2 {
  color: var(--primary);
  margin-bottom: 14px;
}

.service-detail-card ul {
  padding-left: 18px;
}

.service-detail-card li {
  margin-bottom: 12px;
  color: var(--muted);
}

.back-home {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .services-clients-wrap,
  .video-about-section,
  .contact-section,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .overlay,
  .hero-slider,
  .slide {
        min-height: 78vh;
  }

  .services-grid,
  .resources-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .top-header {
    align-items: flex-start;
  }

  .firm-title {
    font-size: 1.1rem;
  }

  .video-box iframe {
    min-height: 240px;
  }

  .team-card img {
    height: 260px;
  }

  .reviews-section {
    height: 560px;
  }

  .reviews-marquee {
    height: 470px;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(13, 43, 82, 0.98);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  z-index: 99999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.accept-btn {
  background: gold;
  color: #000;
}

.reject-btn {
  background: white;
  color: #000;
}

body.cookies-pending header,
body.cookies-pending main,
body.cookies-pending footer {
  pointer-events: none;
  user-select: none;
  filter: blur(2px);
}

body.cookies-pending #cookieBanner,
body.cookies-pending #cookieBanner * {
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 25px;
  border-radius: 12px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h2 {
  margin-bottom: 10px;
  color: #0d2b52;
}

.cookie-modal-content h4 {
  margin-top: 12px;
  color: #0d2b52;
}

.cookie-modal-content p {
  margin-top: 8px;
  color: #333;
}

.cookie-modal-content button {
  margin-top: 15px;
  padding: 10px 15px;
  background: #0d2b52;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-note a {
  color: #ffd54f;
  font-weight: 700;
  text-decoration: underline;
}
/* TEAM IMAGE FIX */
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center top;
  background: #e9e9ee;
  border-radius: 12px 12px 0 0;
}
/* TEAM CIRCLE IMAGE */


.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.custom-team-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  min-height: 260px;
  box-shadow: 0 12px 30px rgba(11, 34, 64, 0.08);
}

.team-img {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  background: #fff;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.custom-team-card .team-content {
  padding-right: 120px;
}

.custom-team-card h3 {
  margin-bottom: 8px;
}

.custom-team-card .team-role {
  margin-bottom: 12px;
}
.ca-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.ca-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* LOGO SIZE (DESKTOP - BIG) */
.logo-img {
  height: 95px;
  width: auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .logo-img {
    height: 70px;
  }
}
.video-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}
/* =========================
   FULL MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 768px) {
  .section-gap {
    padding: 45px 16px;
  }

  .top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand-wrap,
  .follow-wrap {
    width: 100%;
  }

  .follow-wrap {
    justify-content: flex-start;
  }

  .nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    gap: 4px;
    padding: 0 10px;
  }

  .nav-inner a {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 14px 10px;
  }

  .overlay,
  .hero-slider,
  .slide {
    min-height: 70vh;
  }

  .overlay {
    padding: 0 16px;
  }

  .overlay h1,
  .overlay h2 {
    font-size: 28px;
    line-height: 1.2;
    max-width: 100%;
  }

  .hero-text {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .video-about-section,
  .services-clients-wrap,
  .team-grid,
  .services-grid,
  .contact-section,
  .resource-mini-grid,
  .resources-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .video-card,
  .about-card,
  .services-section,
  .reviews-section,
  .contact-card,
  .map-card,
  .consultation-form,
  .resource-mini-card {
    padding: 18px;
  }

  .video-box {
    padding-bottom: 56.25%;
  }

  .video-box iframe {
    min-height: unset;
    height: 100%;
  }

  .reviews-section,
  .reviews-marquee {
    height: auto;
  }

  .reviews-track {
    animation: none;
  }

  .team-card img {
    height: auto;
  }

  .custom-team-card {
    padding: 20px;
    min-height: auto;
  }

  .team-img {
    position: static;
    width: 90px;
    height: 90px;
    margin-bottom: 14px;
  }

  .custom-team-card .team-content {
    padding-right: 0;
  }

  .resource-table-wrap {
    overflow-x: auto;
  }

  .resource-table {
    min-width: 1000px;
  }

  .map-card iframe {
    height: 300px;
    min-height: 300px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}