/* Hero Section */
.hero-section {
  background: #00346B;
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}


.hero-section .hero-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}


.hero-section .hero-text p {
  font-size: 16px;
  line-height: 1.8;

}

.hero-section .hero-text p:not(:last-child) {
  margin-bottom: 40px;
}


.hero-image img {
  max-width: 743px;
  width: 100%;
  object-fit: contain;
  margin-left: auto;
  display: block;
}


/* Payment Logos Wave */
.payment-wave {
  background: linear-gradient(180deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  padding: 40px 0;
  margin-top: -50px;
  position: relative;
  overflow: hidden;
}

.payment-wave::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background:
    radial-gradient(ellipse 100% 50px at 50% 0%, var(--primary-blue) 0%, transparent 100%);
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px;
  opacity: 0.6;
}

.payment-logo {

  transition: all 0.3s ease;
}


/* Services Section */
.services-section {
  background: #00346B;
  margin-top: -1px;
}

.services-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark-blue);
  line-height: 1.3;
}

.services-section .services-grid {
  margin-bottom: 60px;
}

.service-grid-card {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease;
}

.service-grid-card:hover {
  transform: translateY(-5px);
}

.service-grid-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #117EC1;
}

.service-icon img {
  width: 28px;
  height: 28px;
}

.service-content p {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .hero-section {
    padding: 100px 40px;
  }

  .hero-section .hero-block {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-text p {
    font-size: 16px;
  }


  .transfer-card {
    max-width: 420px;
  }

  .payment-logos {
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 180px 0 140px;
  }

  .hero-text h1 {
    font-size: 56px;
  }


  .service-grid-card {
    align-items: center;
  }

  .services-section--new {
    padding-top: 80px;
  }

  .services-section--new .section-title {
    max-width: 630px;
    width: 100%;
    font-size: 32px;
  }

}

/* Mobile Swiper Styles */
@media (max-width: 767px) {
  .services-swiper {
    padding-bottom: 50px;
    margin-top: 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h1,
.hero-text p,
.cta-button {
  animation: fadeInUp 0.8s ease-out backwards;
}

.hero-text p {
  animation-delay: 0.2s;
}


.desktop-grid {
  margin-top: 32px;
}



@media (max-width:768px) {
  .hero-section {
    padding-top: 152px !important;
  }

  .hero-section .hero-block {
    gap: 32px;
  }
}

.hero-block .hero-text {
  margin-bottom: 0;
}


.contact-section {
  background: #00346B;
  margin-top: 100px;
  padding: 80px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.contact-content {
  position: relative;
  z-index: 1;

  animation: fadeInDown 0.8s ease-out;
}


.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
}

.contact-form {
  padding-top: 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--white);

  padding: 2.5rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-card .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.form-card .form-group.full-width {
  grid-column: 1 / -1;
}

.form-line {
  display: flex;
  gap: 4px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  transition: all 0.3s ease;
  outline: none;

}

.form-line input,
.form-line select {
  color: #000;
}

.form-card label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: #9ca8b8;
}

.form-line:hover {
  border-color: var(--accent-blue);
  background: #fafbfd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 143, 255, 0.12);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c6b7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Manrope', sans-serif;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;

  margin-top: 2px;
  flex: unset !important;
  flex-shrink: 0 !important;
  appearance: none;
  background: var(--white);
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
  font-weight: 400;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .info-card {
  background: var(--white);
  display: flex;
  gap: 32px;
  padding: 1.75rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  animation: fadeInRight 0.6s ease-out both;
  position: relative;
  overflow: hidden;
}

.contact-form .info-card:nth-child(1) {
  animation-delay: 0.3s;
}

.contact-form .info-card:nth-child(2) {
  animation-delay: 0.4s;
}

.contact-form .info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-blue) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form .info-card:hover {
  transform: translateX(4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.08);
}

.contact-form .info-card:hover::before {
  opacity: 1;
}

.info-icon {
  width: 65px;
  height: 65px;
}

.info-title {

  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-link {

  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.info-link:hover {
  gap: 0.75rem;
  color: #0b7ae6;
}

.info-link::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.info-link:hover::after {
  transform: translateX(4px);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 3rem 1.5rem;
  }

  .form-card {
    padding: 1.75rem;
  }

  .contact-form .info-card {
    padding: 1.5rem;
  }

  .contact-section .section-title {
    text-align: center;
  }
}

.checkbox-group+.btn-primary {
  width: 100%;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #00346B;
}

.marquee-row {
  display: flex;
  gap: 0;
  animation: marqueeLeft 40s linear infinite;
  width: max-content;
  background: #00254B;
  padding: 28px 0;
}

.marquee-row.reverse {
  animation: marqueeRight 40s linear infinite;
  margin-top: -20px;
  background: #117EC1;
}

.marquee-wrapper {
  display: flex;
  gap: 80px;
  padding: 0;
}

.payment-logo {
  height: 24px;
  width: auto;
  object-fit: contain;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.payment-logo:hover {

  transform: scale(1.1);
}

@keyframes marqueeLeft {
  0% {
    transform: rotate(-3deg) translateX(0);
  }

  100% {
    transform: rotate(-3deg) translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: rotate(3deg) translateX(-50%);
  }

  100% {
    transform: rotate(3deg) translateX(0);
  }
}

/* Адаптивність */
@media (max-width: 1024px) {
  .marquee-container {
    padding: 60px 0;
  }

  .marquee-wrapper {
    gap: 60px;
    padding: 0 30px;
  }

}

@media (max-width: 768px) {
  .marquee-container {
    padding: 50px 0;
  }


  .marquee-row {
    padding: 20px 0;
  }

  .marquee-row.reverse {
    margin-top: 20px;
  }

  .marquee-wrapper {
    gap: 50px;
    padding: 0 25px;
  }

}

@media (max-width: 480px) {
  .marquee-container {
    padding: 20px 0;
  }

  .marquee-row {
    padding: 14px 0;
  }

  .marquee-row.reverse {
    margin-top: 80px;
  }

  .marquee-wrapper {
    gap: 40px;
    padding: 0 20px;
  }

}



/* Section 1 - Security above all */
.security-section {
  padding-bottom: 80px;
  padding-top: 80px;
  background: #fff;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--dark-text);
}

.section-content .description {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 32px;
  line-height: 1.7;
}

.security-section .btn-primary {
  width: max-content;
  max-width: 100%;
}

.features-list {
  list-style: none;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--dark-text);
  align-items: flex-start;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
  animation-delay: 0.4s;
}

.check-icon {
  width: 28px;
  height: 28px;
  background: url('../images/icons/check-fill.svg') no-repeat center;
  background-size: cover;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.05) 20px);
}

/* Section 2 - Risk Minimization */
.risk-section {
  padding: 80px 0;
  background: #fff;
}

.risk-section--hero {
  margin-top: 80px;
}

.risk-section .section-grid {
  grid-template-columns: 1fr 1fr;
}

.risk-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.risk-section h2 {

  margin-bottom: 24px;
  color: var(--dark-text);
}

.risk-section .description {
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-bottom: 28px;
  line-height: 1.7;
}

.subsection-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 16px;
  margin-top: 28px;
}

.warehouse-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.warehouse-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.05) 20px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .risk-section .section-grid {
    grid-template-columns: 1fr;
  }

  .section-content h2 {
    font-size: 2rem;
  }

  .risk-section h2 {
    font-size: 1.8rem;
  }

  .image-placeholder,
  .warehouse-placeholder {
    height: 320px;
  }

  /* Swap order on mobile for better flow */
  .risk-section .image-column {
    order: -1;
  }
}

@media (max-width: 640px) {
  .security-section {
    padding-bottom: 50px;
  }

  .risk-section {
    padding: 50px 0 !important;
  }

  .section-content h2 {
    font-size: 1.6rem;
  }


  .section-content .description,
  .risk-section .description {
    font-size: 0.9rem;
  }

  .feature-item {
    font-size: 0.88rem;
  }

  .image-placeholder,
  .warehouse-placeholder {
    height: 260px;
  }


}

.font-2xl {
  font-size: 48px;
}

.parallax-container {
  overflow: hidden;
}

@media (max-width:600px) {
  .parallax-container {
    margin-left: -16px;
    margin-right: -16px;
    width: 100vw;
    height: 400px;
  }
}

.risk-section--hero .btn {
  width: max-content;
  max-width: 100%;
}


.insurance-section {
  background-color: #00346B;
  padding-top: 120px;
  padding-bottom: 0;
}

.insurance-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

/* LEFT COLUMN */
.insurance-section .left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}


.insurance-section .body-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* RIGHT COLUMN — CARD */
.insurance-section .right {
  display: flex;
  flex-direction: column;
  gap: 0;

  overflow: hidden;
}

.insurance-header {
  background: #0E659A;
  padding: 24px 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  letter-spacing: 0.01em;
  border-radius: 24px;
}

.insurance-section .btn-primary {
  width: max-content;
}

.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.insurance-section .grid-item {
  border: 1.5px solid #0E659A;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
}

.insurance-section .grid-item.full-width {
  grid-column: 1 / -1;
}

@media (max-width:1200px){
  .insurance-section .container {
    gap: 60px;
  }
}


.insurance-section .item-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  text-align: center;
}

.insurance-section .item-sublabel {
  font-size: 16px;
  color: var(--text-white);
  opacity: 0.7;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
}

.insurance-section .card-footer {
  padding-top: 32px;
  border-top: 1px dashed #117EC1;
}

.insurance-section .card-footer p {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .insurance-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 480px) {
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .grid-item.full-width {
    grid-column: 1;
  }
}

.mobile-swiper .swiper {
  padding-bottom: 40px;
}

.img-container {
  position: relative;
}
.img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 40%;
  background: #00346B;
}

.parallax-container {
  z-index: 2;
  margin-bottom: 0 !important;
}

.parallax img {
  height: 120%;
}