:root {
  --brand-black: #0a0a0a;
  --brand-green: #2d5f3f;
  --brand-green-light: #3a7550;
  --brand-green-dark: #1f4129;
  --brand-gold: #d4af37;
  --brand-gold-light: #e8c965;
  --brand-gold-dark: #b8941f;
  --text-white: #ffffff;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: var(--brand-black);
  color: var(--text-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-gold {
  color: var(--brand-gold);
}

header {
  border-bottom: 1px solid rgba(45, 95, 63, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.8);
  padding: 0 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.nav-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-text {
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(45, 95, 63, 0.4);
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.nav-toggle:hover {
  border-color: var(--brand-gold);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(45, 95, 63, 0.3);
  background-color: rgba(10, 10, 10, 0.95);
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.35s ease,
    transform 0.35s ease;
  overflow: hidden;
}

.mobile-menu.is-open {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  margin-top: 16px;
  padding: 16px;
}

.mobile-menu .nav-link {
  font-size: 18px;
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
}

.nav-toggle.is-open .nav-toggle-lines {
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-lines::before {
  transform: rotate(90deg) translateX(0);
  top: 0;
}

.nav-toggle.is-open .nav-toggle-lines::after {
  transform: scaleX(0);
  opacity: 0;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.nav-link:hover {
  color: var(--brand-gold);
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.btn-gold {
  background-color: var(--brand-gold);
  color: var(--brand-black);
}

.btn-gold:hover {
  background-color: var(--brand-gold-light);
}

.btn-outline {
  border: 2px solid var(--brand-green);
  color: var(--text-white);
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(45, 95, 63, 0.1);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero {
  padding-top: 128px;
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
  background-image: url("../assets/images/hero.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero .container {
  text-align: center;
  max-width: 896px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}

.hero-description {
  font-size: 18px;
  color: var(--text-gray-300);
  margin-bottom: 32px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 20px;
  }
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.section-cta {
  margin-top: 24px;
}

@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
  }
}

.cta-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px;
}

.cta-card .section-title {
  margin-bottom: 16px;
}

.cta-card .section-text {
  margin-bottom: 32px;
  font-size: 18px;
  color: var(--text-gray-300);
}

.cta-card .button-group {
  justify-content: center;
  align-items: center;
}

.features-section {
  padding: 80px 24px;
  background: linear-gradient(
    to bottom,
    var(--brand-black),
    var(--brand-green-dark)
  );
}

.video-section {
  background-color: rgba(31, 65, 41, 0.2);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.video-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(45, 95, 63, 0.35);
  background-color: rgba(10, 10, 10, 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: left;
  cursor: pointer;
}

.video-card,
.video-card:focus-visible {
  outline: none;
}

.video-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.6);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  display: block;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-play::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  border: 2px solid var(--brand-gold);
}

.video-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid var(--brand-gold);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.video-body {
  padding: 0 20px 24px;
}

.video-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.video-text {
  color: var(--text-gray-300);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-card {
    grid-template-columns: 1fr;
  }
}

.video-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
}

.video-modal-content {
  position: relative;
  width: min(920px, 92vw);
  background: rgba(10, 10, 10, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(45, 95, 63, 0.5);
  padding: 20px;
  z-index: 1;
}

.video-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 95, 63, 0.5);
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(45, 95, 63, 0.4);
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trust-bar {
  padding: 16px 24px;
  background-color: rgba(31, 65, 41, 0.6);
  border-top: 1px solid rgba(45, 95, 63, 0.4);
  border-bottom: 1px solid rgba(45, 95, 63, 0.4);
}

.trust-text {
  text-align: center;
  color: var(--text-gray-300);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(45, 95, 63, 0.3);
  padding: 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.feature-icon {
  background-color: rgba(45, 95, 63, 0.2);
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--brand-gold);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-text {
  color: var(--text-gray-300);
  line-height: 1.6;
}

.services-section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray-300);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .services-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-panel {
  background-color: rgba(31, 65, 41, 0.2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-panel:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
}

.card-date {
  font-size: 0.85rem;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.panel-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.service-panel .service-header {
  padding: 24px 32px 16px;
}

.service-panel .service-body {
  padding: 0 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .service-panel .service-body {
    flex-direction: row;
    gap: 32px;
  }
  
  .service-panel .service-body > div {
    flex: 1;
  }
}

/* Articles page card grid */
.articles-grid {
  gap: 24px;
}

.articles-grid .service-panel .service-header {
  padding: 16px 18px 18px;
}

.articles-grid .panel-image {
  height: 170px;
}

.articles-grid .panel-image-fallback {
  object-fit: contain;
  background: rgba(31, 65, 41, 0.28);
  padding: 20px;
}

.articles-grid .section-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.articles-grid .section-subtitle {
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

.articles-grid .section-text {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.articles-grid .btn {
  font-size: 0.9rem;
  padding: 10px 16px;
}

@media (min-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .articles-grid .service-panel .service-header {
    padding: 14px 14px 16px;
  }

  .articles-grid .panel-image {
    height: 130px;
  }

  .articles-grid .section-title {
    font-size: 1.05rem;
  }

  .articles-grid .section-subtitle {
    font-size: 0.84rem;
  }

  .articles-grid .section-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .articles-grid .btn {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
}

.service-card {
  background-color: rgba(31, 65, 41, 0.3);
  border-left: 4px solid var(--brand-gold);
  padding: 32px;
  border-radius: 8px;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--brand-gold);
  margin-bottom: 16px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-description {
  color: var(--text-gray-300);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  space-y: 8px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-gray-300);
  margin-bottom: 8px;
}

.bullet {
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.about-section {
  padding: 80px 24px;
  background-color: rgba(31, 65, 41, 0.2);
  padding-bottom: 0px;
}

.about-section .container {
  max-width: 1100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-content {
  text-align: left;
}

.about-media {
  display: flex;
  justify-content: center;
}

.about-media img {
  width: min(360px, 100%); 
}

.about-description {
  font-size: 1.15rem;
  color: var(--text-gray-300);
  margin-bottom: 48px;
  line-height: 1.8;
}

.mission-vision-section {
  padding: 80px 24px;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.98) 0%,
    rgba(31, 65, 41, 0.5) 50%,
    rgba(10, 10, 10, 0.98) 100%
  );
}

.mission-vision-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}

.mission-vision-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.mission-box {
  background: rgba(31, 65, 41, 0.3);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.mission-box:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
}

.mission-box.is-vision {
  background: linear-gradient(
    135deg,
    rgba(31, 65, 41, 0.4) 0%,
    rgba(45, 95, 63, 0.3) 100%
  );
}

.mission-box-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mission-badge {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--brand-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.mission-badge svg {
  width: 28px;
  height: 28px;
}

.mission-box-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-gold);
  margin: 0;
  letter-spacing: -0.5px;
}

.mission-box-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-gray-300);
}

.mission-values {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 40px;
}

.values-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(31, 65, 41, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.value-item:hover {
  background: rgba(31, 65, 41, 0.4);
  border-color: var(--brand-gold);
  transform: translateX(8px);
}

.value-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.value-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about-content {
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mission-vision-container {
    grid-template-columns: 7fr 3fr;
    gap: 64px;
  }

  .mission-vision-main {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-section {
  padding: 80px 24px;
  padding-bottom: 0px;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.98) 0%,
    rgba(31, 65, 41, 0.3) 100%
  );
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.philosophy-image {
  width: 100%;
  overflow: hidden;
}

.philosophy-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.philosophy-text {
  color: var(--text-white);
}

.philosophy-quote {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: var(--brand-gold);
  margin: 0 0 12px 0;
  line-height: 1.5;
  border-left: 4px solid var(--brand-gold);
  padding-left: 24px;
}

.philosophy-author {
  font-size: 16px;
  color: var(--text-gray-300);
  margin-bottom: 32px;
  padding-left: 24px;
}

.philosophy-story {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-story p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-gray-300);
}

.philosophy-story strong {
  color: var(--brand-gold);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .philosophy-content {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }

  .philosophy-image img {
    max-height: 600px;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .about-content {
    text-align: center;
  }

  .philosophy-quote {
    font-size: 20px;
  }

  .philosophy-story p {
    font-size: 16px;
  }
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-gray-300);
  font-size: 16px;
}

.contact-section {
  padding: 80px 24px;
}

.contact-section .container {
  text-align: center;
  max-width: 512px;
}

.contact-description {
  font-size: 18px;
  color: var(--text-gray-300);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-section .btn {
  margin: 0 auto;
}

.footer {
  border-top: 1px solid rgba(45, 95, 63, 0.2);
  padding: 32px 24px;
}

.footer .container {
  color: var(--text-gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.footer-text {
  color: var(--text-gray-300);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-text a {
  color: var(--text-gray-300);
  text-decoration: none;
}

.footer-links a:hover,
.footer-text a:hover {
  color: var(--brand-gold);
}

.footer-copy {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }
}
