    #hero {
      background: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.25)),url('https://www.ukrferry.com/images/ferry-bg.jpg') center/cover;
      color: white;
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .logo {
      height: 50px;
    }
    .h1 {
        font-size: 36px;
        margin: 0 0 8px;
    }
    .icon-circle { font-size: 2rem; color: #2563eb; }
  .btn-orange {
    background-color: #ff7b00;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: bold;
    transition: background 0.5s;
  }
  .btn-orange:hover {
    background-color: #e66a00;
    color: #fff;
  }
  .nav-link-custom {
    color: #005b96;
  }
  .nav-link-custom:hover {
    color: #003f6b; 
  }
  .btn-custom-rounded {
    border-radius: 12px; 
  }
  .booking-card {
    background: #fff;
    color: #0b2b3a;
    max-width: 720px;
    margin: -40px auto 20px;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(3, 37, 65, 0.12);
    padding: 18px;
  }
  .feature {
      background: #fff;
      padding: 18px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(3, 37, 65, 0.04);
      transition: transform 0.3s, box-shadow 0.3s;
  }
  .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.15);
  }
  p {
    color: #6b7280;
  }
.transport-item {
  height: 250px;
  transition: transform 0.3s ease;
}
.transport-item:hover {
  transform: scale(1.03);
}
.transport-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transport-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease;
}
.transport-item:hover .overlay {
  background: rgba(0, 0, 0, 0.65);
}
.transport-item h5 {
  font-size: 1.1rem;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .transport-item {
    height: 200px;
  }
}
@media (max-width: 576px) {
  .transport-item {
    height: 180px;
  }
  .transport-item h5 {
    font-size: 1rem;
  }
}
.footer a:hover {
  text-decoration: underline;
  color: #021726;
}
.footer hr {
  border-color: #021726;
}
 .btn-pulse {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,123,0, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 15px 5px rgba(255,123,0, 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,123,0, 0); }
}

.btn {
  font-weight: bold;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: 
    background 0.4s ease,
    transform 0.25s ease,
    box-shadow 0.35s ease,
    filter 0.3s ease;
  color: #fff !important;
}

.btn i {
  color: #fff !important;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.18);
  box-shadow: 0 0 18px rgba(255,255,255,0.45);
}
.btn-phone {
  background: linear-gradient(45deg, #007bff, #3399ff, #66c2ff);
  color: #fff !important;
  font-weight: bold;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: background 0.4s ease, transform 0.25s ease, box-shadow 0.35s ease, filter 0.3s ease;
  box-shadow: 0 0 10px rgba(51, 153, 255, 0.45);
}

.btn-phone:hover {
  transform: translateY(-3px);
  filter: brightness(1.18);
  box-shadow: 0 0 18px rgba(51, 153, 255, 0.45);
}

.btn-telegram {
  background: linear-gradient(45deg, #0099e6, #00b7ff, #00d0ff);
  box-shadow: 0 0 10px rgba(0,183,255,0.45);
}

.btn-viber {
  background: linear-gradient(45deg, #8a75ff, #7b5bff, #6a44ff);
  box-shadow: 0 0 10px rgba(122,91,255,0.45);
}

.btn-whatsapp {
  background: linear-gradient(45deg, #2fe773, #25d366, #1ebe5d);
  box-shadow: 0 0 10px rgba(37,211,102,0.45);
}

.btn-instagram {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  box-shadow: 0 0 12px rgba(214,41,118,0.55);
}

.btn-facebook {
  background: linear-gradient(45deg, #1a84ff, #1877f2, #1463cc);
  box-shadow: 0 0 10px rgba(24,119,242,0.45);
}
.social-btn-column {
  display: flex;
  align-items: center;
  gap: 8px; 
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.5rem; 
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
}

.social-btn-column:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


@media (max-width: 576px) {
  .social-btn-column {
    width: 100%;      
    max-width: 220px; 
    justify-content: center;
  }
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  font-size: 1.25rem; 
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, background 0.35s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.18);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.btn-telegram {
  background: linear-gradient(135deg, #00a0e3, #0088cc);
  font-size: 1.10rem; 
}

.btn-viber {
  background: linear-gradient(135deg, #8f71ff, #6c55f7);
  font-size: 1.10rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2fe075, #25d366);
  font-size: 1.10rem;
}

.btn-instagram {
  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fdf497 5%, 
    #fd5949 45%, 
    #d6249f 60%, 
    #285AEB 90%);
  font-size: 1.10rem;
}

.btn-facebook {
  background: linear-gradient(135deg, #3b79f7, #1877f2);
  font-size: 1.10rem;
}

#scrollTopArrow {
  display: none; 
}
p i {
  font-size: 1.2rem;
  color: #007bff;
}
#form {
  scroll-margin-top: 100px; 
}
.cursor-pointer { cursor: pointer !important; }

.bg {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: -1;
}
.nav-item a {
  text-decoration: none;     
  color: #333;              
  font-weight: 500;             
  transition: color 0.3s;      
}

.nav-item a:hover {
  color: #ff7b00;             
  text-decoration: underline;  
}

.custom-link {
  text-decoration: none; 
  color: #333;              
  font-weight: 500;          
  transition: color 0.3s;     
}

.custom-link:hover {
  color: #ff7b00;              
  text-decoration: underline; 
}
.cta {
  background-color: #007BFF;  
  color: #fff;      
  transition: background-color 0.3s, transform 0.2s;
}

.cta:hover {
  background-color: #0056b3;  
  color: #fff;
}

.stepper .step {
  transition: all 0.3s ease;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 35px;
  height: 35px;
  font-size: 1rem;
}

.stepper .step i {
  font-size: 2rem;
}

.step-title {
  font-weight: 500;
  text-align: center;
  margin-top: 0.5rem;
}


@media (max-width: 991px) {
  .stepper .col-12.col-md-3 {
    flex: 1 1 100%;
  }

  .stepper .step {
    flex-direction: column;
    align-items: center;
  }

  .stepper .step .d-flex {
    flex-direction: row; 
    justify-content: center;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }

  .stepper .step i {
    font-size: 1.5rem;
  }

  .step-title {
    font-size: 0.85rem;
    margin-top: 0.25rem;
  }
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-step {
  animation: floatUpDown 3s ease-in-out infinite;
}

.stepper .col-12.col-md-3:nth-child(1) .float-step { animation-delay: 0s; }
.stepper .col-12.col-md-3:nth-child(2) .float-step { animation-delay: 0.3s; }
.stepper .col-12.col-md-3:nth-child(3) .float-step { animation-delay: 0.6s; }
.stepper .col-12.col-md-3:nth-child(4) .float-step { animation-delay: 0.9s; }

.step-number {
  width: 35px;
  height: 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50%;
  background-color: #ff7b00;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  text-align: center;
}

@media(min-width: 768px) {
  .stepper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: #ddd;
    z-index: 0;
  }
  .step {
    z-index: 1;
  }
}

@media(min-width: 768px) {
  .float-step {
    animation: floatUpDown 3s ease-in-out infinite;
  }
}

@media(max-width: 767.98px) {
  .float-step {
    animation: none;
    transform: none; 
  }
}

.feature:nth-child(odd) {
  transform: translateY(-10px);
}
.feature:nth-child(even) {
  transform: translateY(10px);
}

@media(max-width: 767px) {
  .feature {
    transform: none;
  }
}
.floating-btn {
  transition: opacity 0.3s;

  font-size: 1.25rem; 
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn.hidden {
  opacity: 0;
  pointer-events: none; 
}
@media (max-width: 888px) {
  .floating-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
  }
}
.footer-link {
  color: inherit;          
  text-decoration: none;   
  background: none;        
  padding: 0;            
  margin: 0;               
  color: #333;              
  font-weight: 500;          
  transition: color 0.3s; 
}
.footer {
  font-size: 0.9rem;
}


@media (max-width: 576px) {
  .footer .col-12 {
    text-align: center !important;
  }
  .footer .d-flex {
    justify-content: center !important;
  }
  .footer .gap-2 {
    gap: 0.5rem !important;
  }
  .footer img {
    height: 30px;
  }
}

@media (max-width: 400px) {
  .contact-item p {
    display: flex;
    flex-direction: column; 
  }
  
  .contact-item a.custom-link {
    margin-left: 1.5rem;
    margin-top: 0.2rem;
  }
}
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  display: none;
  z-index: 998;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#menu-overlay.show {
  display: block;
  opacity: 1;
}

body.no-scroll {
  overflow: hidden;
}
.navbar-toggler {
  border: none;
  padding: 12px;
  background: transparent;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.toggler-icon {
  position: relative;
  display: block;
  width: 28px;
  height: 3px;
  background-color: #000;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.toggler-icon::before,
.toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background-color: #000;
  border-radius: 3px;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.toggler-icon::before {
  top: -8px;
}

.toggler-icon::after {
  top: 8px;
}

.navbar-toggler:not(.collapsed) .toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler:not(.collapsed) .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

#languageDropdown {
  background: #f7f7f7;
  color: #333;
   border: none;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

#languageDropdown i {
  color: #333 !important;
  font-size: 1.1rem;
}
#languageDropdown::after {
  transition: transform 0.3s ease;
}

#languageDropdown.show::after {
  transform: rotate(180deg);
}
.section-divider-top-flip {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-divider-top-flip svg {
  display: block;
  width: 100%;
  height: 50px;
  transform: scaleX(-1);
}
@media (max-width: 690px) {
  .section-divider,
  .section-divider-top-flip {
    display: none;
  }
}
 .certificates-container {
    margin-top: 48px;
  }
.divider-curve {
  width: 100%;
  height: 50px;
  overflow: hidden;
}

.btn-outline {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  border: 2px solid #333; 
  border-radius: 8px;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.05); 
  transition: all 0.3s ease;
  z-index: 0;
}

.btn-outline:hover::after {
  left: 0;
}

.btn-outline:hover {
  color: #333; 
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-outline span {
  position: relative;
  z-index: 1;
}

.mobile-book-btn {
  display: none;
  margin-left: auto;
  text-decoration:none;
  color: #fff !important;
  margin-right: 10px;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #ff7b00;
}

.desktop-book-btn {
  display: block;
}

@media (max-width: 991px) {
  .mobile-book-btn {
    display: inline-block;
  }
  .custom-link {
    display: block;
    margin-top: 10px;
    margin-left: 0!important;
  }
  #languageDropdown {
    padding-left: 0!important;
  }
  .desktop-book-btn {
    display: none;
    background-color: #ff7b00;
  }
 

  .navbar .logo {
    height: 30px !important;
  }

  .navbar-brand {
    margin-right: 0;
  }
}

.navbar {
  transition: all 0.3s ease;
  padding: 1rem 1rem;
}

.navbar.shrink {
  padding: 0.5rem 1rem;
}

.navbar .logo {
  height: 50px;
  transition: all 0.3s ease;
}

.navbar.shrink .logo {
  height: 35px;
}
@media (max-width: 991px) {
  #hero {
    padding-bottom: 0 !important;
  }
}

.social-btn-column {
  width: 180px;
  justify-content: center;
  font-size: 0.9rem;
}

.cert-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#certificatesCarousel .custom-arrow {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: 0.2s ease;
}

#certificatesCarousel .custom-arrow:hover {
  background: rgba(0, 0, 0, 0.35);
}

#certificatesCarousel .carousel-control-prev {
  left: 0; 
}

#certificatesCarousel .carousel-control-next {
  right: 0; 
}

@media (max-width: 768px) {
  #certificatesCarousel .custom-arrow {
    display: none !important;
  }
}
#schedule {
  scroll-margin-top: 30px; 
}
#contacts {
  scroll-margin-top: 30px;
}
.dropdown-item {
  cursor: pointer;
}
.promo-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 900px;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

.promo-banner {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    min-height: 180px;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 24px;
}

.gift-icon-box {
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.banner-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.btn-orange {
    background-color: #ff5500;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 10px 40px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-orange:hover {
    background-color: #e04b00;
    color: #ffffff;
}

.text-accent {
    color: #dc3545;
    font-weight: bold;
}
.promo-conditions {
    list-style: none;
    padding-left: 0;
}
.promo-conditions li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}