/* =========================
   1. GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  background: #0b0f14 !important;
  color: #e6edf5;
  font-family: "Exo 2", sans-serif;
  line-height: 1.6;
  margin: 0; 
}

a {
  color: #a9b4c2 !important;
  text-decoration: none;
}

a:hover {
  color: #ffffff !important;
}

.container-component{
    display: none !important;
}

.container-banner {
    margin: 0 !important;
}


/* =========================
   2. HEADER & NAVIGATION
========================= */
.container-header {
  background: #030615 !important;
}

.container-header .container-nav {
  width: 75%;
  align-items: center;
}

.container-header .container-nav .mod-custom {
  margin-bottom: 0;
  padding-top: 10px;
}

.container-header .container-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.container-search .mod-menu {
  margin-bottom: 0;
}

/* Language Switcher & Dropdowns */
.btn-secondary {
  --btn-color: var(--gray-800) !important;
  --btn-bg: #030615 !important;
  --btn-border-color: #030615 !important;
  --btn-hover-color: var(--gray-800) !important;
  --btn-hover-bg: #575e64 !important;
  padding: 5px !important;
}

div.mod-languages ul li.lang-active {
  background-color: #454a4f !important;
}

div.mod-languages .btn-group .btn {
    color: rgb(255 255 255);
}

.dropdown-menu {
  background-color: #575e64 !important;
  border-color: #575e64 !important;
  margin-top: 0.5rem;
  padding: 0.2rem 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0 !important;
}

section[id] {
  scroll-margin-top: 65px !important; 
}


/* =========================
   3. ANIMATED LOGO
========================= */
.animated-logo {
  width: 200px;
  height: auto;
}

.animated-logo .st0 {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: draw 10s forwards;
  fill: none;
  stroke: #81C6AE;
  stroke-width: 2;
}

.animated-logo .fill {
  fill: #81C6AE;
  transform-origin: top;
  transform: scaleY(0);
  animation: fill-mask 10s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fill-mask {
  to { transform: scaleY(1); }
}


/* =========================
   4. HERO BANNER
========================= */
.hero-banner {
  background-image: url('/images/home/banner_patriot_2_test4.jpg');
  background-size: cover; 
  background-position: center center; 
  background-repeat: no-repeat;
  min-height: 95vh; 
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 25, 20, 0.55) 0%, rgba(11, 25, 20, 0.3) 100%);
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); 
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #c9d2db;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


/* =========================
   5. BUTTONS
========================= */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nv-btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid #75b8a5; 
  background: #75b8a5; 
  color: #0b0f14 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(117, 184, 165, 0.2);
}

.nv-btn-primary:hover,
.nv-btn-primary:focus {
  background: #90cdbc !important;
  border-color: #90cdbc !important;
  color: #0b0f14 !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(117, 184, 165, 0.3);
}

.nv-btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  text-decoration: none !important;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.nv-btn-secondary:hover,
.nv-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}


/* =========================
   6. PRODUCTS SECTION
========================= */
.products-section {
  padding: 80px 0;
  background-color: #0b0f14;
  border-top: 1px solid #151c26;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #a9b4c2;
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background-color: #151c26;
  border: 1px solid #263241;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-info p {
  color: #a9b4c2;
  margin-bottom: 20px;
  line-height: 1.5;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.features-list li {
  color: #e6edf5;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.features-list li::before {
  content: '✓';
  color: #75b8a5;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.1rem;
}


/* =========================
   7. FEATURES SECTION
========================= */
.features-section {
  padding: 80px 0;
  background-color: #0b0f14;
  border-top: 1px solid #151c26; 
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: #111720;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #1a2330;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #151c26;
  border-color: #263241;
}

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #263241;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon img {
  transform: scale(1.1);
}

.feature-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: #a9b4c2;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.features-tabs-nav {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  margin: 0 auto 50px auto !important;
  background: #111720 !important; 
  border: 1px solid #263241 !important;
  border-radius: 50px !important;
  padding: 6px !important;
  gap: 5px !important;
}

.features-tabs-nav .nav-item {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.features-tabs-nav .nav-link {
  display: inline-block !important;
  background: transparent !important;
  border: none !important; 
  color: #a9b4c2 !important;
  border-radius: 40px !important;
  padding: 10px 30px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.features-tabs-nav .nav-link:hover:not(.active) {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important; 
}

.features-tabs-nav .nav-link.active {
  background: #75b8a5 !important;
  color: #0b0f14 !important;
  box-shadow: 0 2px 10px rgba(117, 184, 165, 0.2) !important;
}


/* =========================
   8. THROUGH THE LENS (FOOTAGE)
========================= */
.footage-section {
  padding: 100px 0;
  background-color: #031316;
  border-top: 1px solid #151c26;
}

.footage-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.footage-row:last-child {
  margin-bottom: 0;
}

.footage-row.reverse {
  flex-direction: row-reverse;
}

.footage-media {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #263241;
}

.footage-media video {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) brightness(0.95); 
}

.footage-text {
  flex: 1;
}

.footage-text h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.footage-text p {
  font-size: 1.15rem;
  color: #a9b4c2;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footage-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footage-specs li {
  background-color: #030615;
  border: 1px solid rgba(117, 184, 165, 0.3);
  color: #e6edf5;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.footage-specs li span {
  color: #75b8a5;
  font-weight: 600;
  margin-right: 5px;
}


/* =========================
   9. ERGONOMICS (3D SHOWCASE)
========================= */
.ergonomics-section {
  padding: 100px 0;
  background-color: #000000;
  border-top: 1px solid #151c26;
  border-bottom: 1px solid #151c26;
}

.ergo-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 0;
}

.ergo-row:last-child {
  margin-bottom: 0;
}

.ergo-row.reverse {
  flex-direction: row-reverse;
}

.ergo-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ergo-media video,
.ergo-media img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.ergo-text {
  flex: 1;
}

.ergo-badge {
  display: inline-block;
  background: rgba(117, 184, 165, 0.1);
  color: #75b8a5;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(117, 184, 165, 0.3);
}

.ergo-text h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.ergo-text p {
  font-size: 1.15rem;
  color: #a9b4c2;
  line-height: 1.6;
  margin-bottom: 25px;
}

.ergo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ergo-list li {
  color: #e6edf5;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

@keyframes buttonShine {
  0% { transform: translateX(-150%) skewX(-45deg); }
  15% { transform: translateX(250%) skewX(-45deg); }
  100% { transform: translateX(250%) skewX(-45deg); }
}

.features-tabs-nav .nav-link:not(.active) {
  position: relative;
  overflow: hidden;
}

.features-tabs-nav .nav-link:not(.active)::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 40%; 
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-150%) skewX(-45deg);
  animation: buttonShine 6s infinite;
  pointer-events: none;
}


/* =========================
   10. CONTACT & FOOTER
========================= */
.contact-section {
  padding: 100px 0;
  background-color: #0b0e13;
  border-top: 1px solid #151c26;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info p {
  font-size: 1.15rem;
  color: #a9b4c2;
  line-height: 1.6;
  margin-bottom: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start; 
  gap: 20px;
}

.contact-icon {
  margin-top: 5px; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  background: rgba(117, 184, 165, 0.1);
  border: 1px solid rgba(117, 184, 165, 0.3);
  border-radius: 12px;
  /* font-size: 1.5rem; */
  color: #75b8a5; 
}

.phone-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item strong {
  display: block;
  color: #a9b4c2;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.contact-item a {
  color: #75b8a5;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.contact-item a:hover {
  color: #ffffff;
}

.contact-form-wrapper {
  /* background: #111720;
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid #263241;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
}

.contact-form-wrapper h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.mock-form-group {
  margin-bottom: 20px;
}

.mock-form-group input,
.mock-form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #263241;
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.mock-form-group input:focus,
.mock-form-group textarea:focus {
  outline: none;
  border-color: #75b8a5;
  background: rgba(255, 255, 255, 0.06);
}

.mock-btn {
  width: 100%;
  padding: 16px;
  background: #75b8a5;
  color: #0b0f14;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

.mock-btn:hover {
  background: #90cdbc;
  transform: translateY(-2px);
}


/* =========================================
   11. CONVERT FORMS (ІДЕАЛЬНА ІНТЕГРАЦІЯ)
========================================= */
#cf_1 .cf-content-text p,
#cf_1 .cf-content-text span,
#cf_2 .cf-content-text p,
#cf_2 .cf-content-text span {
  font-family: var(--cassiopeia-font-family-headings), "Exo 2", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.8rem !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

#cf_1 .cf-control-group,
#cf_2 .cf-control-group {
  margin-bottom: 20px !important;
}

#cf_1 .cf-input,
#cf_2 .cf-input {
  width: 100% !important;
  padding: 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid #263241 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-family: "Exo 2", sans-serif !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  height: auto !important;
}

#cf_1 .cf-input:focus,
#cf_1 .cf-input:active,
#cf_2 .cf-input:focus,
#cf_2 .cf-input:active {
  outline: none !important;
  border-color: #75b8a5 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

#cf_1 .cf-input::placeholder,
#cf_2 .cf-input::placeholder {
  color: #6a7a8c !important;
}

#cf_1 .cf-btn,
#cf_2 .cf-btn {
  width: 100% !important;
  padding: 16px !important;
  background: #75b8a5 !important;
  color: #0b0f14 !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
  margin-top: 5px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#cf_1 .cf-btn-text,
#cf_2 .cf-btn-text {
  font-family: "Exo 2", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

#cf_1 .cf-btn:hover,
#cf_2 .cf-btn:hover {
  background: #90cdbc !important;
  transform: translateY(-2px) !important;
}

.footer {
    background-color: #030615 !important;
    background-image: none !important;
    margin-top: 0 !important;
}

.footer .grid-child {
    justify-content: center !important;
    padding: 1.5rem .5em !important;
}

.footer-bottom p {
  margin: 0;
  color: #6a7a8c;
  font-size: 0.95rem;
}


/* =========================
   12. RESPONSIVE (MOBILES)
========================= */

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
    .features-grid {
    grid-template-columns: 1fr;
  }
  .features-tabs-nav {
    flex-direction: column;
  }
  .features-tabs-nav .nav-link {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-tabs-nav {
    flex-direction: column !important;
    width: 100% !important;
    border-radius: 16px !important;
  }
  .features-tabs-nav .nav-item {
    width: 100% !important;
  }
  .features-tabs-nav .nav-link {
    width: 100% !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
  }
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 0px !important; 
    }
    .container-header .container-nav {
        width: 100%;
        align-items: center;
    }
    .container-header .mod-menu {
        display: none;
    }
  .hero-banner {
    min-height: 60vh;
    background-position: 70% bottom; 
  }

  .hero-overlay {
    background: rgba(11, 25, 20, 0.6);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .nv-btn-primary, 
  .nv-btn-secondary {
    width: 100%;
  } 
      .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 250px;
  }
  .section-header h2 {
    font-size: 2rem;
  }

.features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .feature-icon {
    width: 90px;
    height: 90px;
  }
  .footage-row,
  .footage-row.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .footage-text h3 {
    font-size: 1.8rem;
  }

  .ergo-row,
  .ergo-row.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
  }
  
  .ergo-text h3 {
    font-size: 1.8rem;
  }
  
  .ergo-list li {
    display: inline-block;
    margin: 5px 10px;
  }
    .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
