* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #023783;
    color: #333;
}
#preloader { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease;
}
#logo {
    width: 200px;
    animation: spinScale 2s infinite alternate;
}
 @keyframes spinScale {
     0% {
         transform: rotate(0deg) scale(1);
     }
     50% {
         transform: rotate(180deg) scale(1.2);
     }
     100% {
         transform: rotate(360deg) scale(1);
     }
 }

#main-content {
    display: none;
}
header {
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 5px 20px;
    position: relative;
    height: 100px;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.logo img {
    display: block;
    height: 50px;
    width: auto;
    margin: auto;
}
.menu-toggle {
    display: none;
    font-size: 20px;
    background-color: #00aaff;
    border: white;
    cursor: pointer;
}
.navbar {
  background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 40px;
    margin-top: -10px;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    min-height: 50px;
    z-index: 10;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
 }

nav ul li {
    display: inline;
    margin-right: 0;
}

nav ul li a {
    color: blue;
    text-decoration: none;
    font-size: 18px;
}
#welcome-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 90%;         /* ограничаваме ширината, така че да не излиза извън екрана */
  margin: 0 auto;         /* центрира текста хоризонтално */
  padding: 0 1rem;        /* малко вътрешно отстояние */
  box-sizing: border-box; 
    overflow: hidden;
    min-height: 200px;
    max-height: 400px;
}
#welcome-container h1,
#welcome-container p {
  word-wrap: break-word;     
  overflow-wrap: break-word; 
  line-height: 1.4;          /* по-добра четливост */
  text-align: center;
 transition: opacity 0.5s ease;
    min-height: 2.5rem;
}
#welcome-container h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
}
#welcome-container p {
    font-size: clamp(1rem, 4vw, 1.5rem);
}
#animated-text
 {
  position: relative;
  min-height: 3em;  /* според най-високия ред текст */
}

#animated-text span
 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#animated-text span.active 
 {
  opacity: 1;
}

#home {
  background-image: url("hero-desktop.png");
  background-size: cover;
  background-position: center;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    min-height: 80vh;
    box-sizing: border-box;
}
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Полупрозрачен черен фон за подобряване на контраста */
    z-index: -1; /* Поставяме този слой под текста */
}

#home h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Лек сянка за по-добра четимост */
}
#home p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #00aaff;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    border: solid white;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #0088cc; /* Малка промяна при hover ефект */
}

.services-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 45px 25px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-container {
  display: flex;
  gap: 25px;
  margin-top: 35px;
}

.service-card {
  flex: 1;
  background: #f8fafc;
  padding: 30px 22px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.service-card i,
.animated-icon {
  font-size: 42px;
  margin-bottom: 22px;
  color: #023783;
}

.service-card h3 {
  color: #111827;
  margin-bottom: 12px;
}

.service-card p {
  color: #555;
  line-height: 1.5;
}

.svg-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}


.money-icon {
  color: #2a9d8f; /* приятен зелен оттенък */
  margin-left: 5px;
  animation: pulse 2s infinite ease-in-out;
  vertical-align: middle;
}

/* Пулсираща анимация */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

.pricing-section,
.about-section,
.contact-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2, .about-text h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 10px;
}

.section-title p {
    color: #555;
}

/* Prices */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pricing-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: relative;
  transition: 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card h3 {
  margin-bottom: 10px;
  color: #111827;
}

.pricing-card p {
  color: #666;
  margin-bottom: 15px;
}

.pricing-card .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #023783;
}

.pricing-card span {
  font-size: 0.9rem;
  color: #777;
}

/* Highlight карта */
.pricing-card.highlight {
  border: 2px solid #00aaff;
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #00aaff;
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 999px;
}

.info-card {
  background: linear-gradient(135deg, #023783, #00aaff);
  color: white;
}

.info-card h3,
.info-card p {
  color: white;
}

.info-card .contact-btn {
  background: white;
  color: #023783;
}

.info-card .contact-btn:hover {
  background: #f0f0f0;
}

/* About */
.about-us-container {
    max-width: 1100px;
    margin: 0 auto 35px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.about-text, 
.about-features {
    background: #fff;
    border-radius: 16px;
}

.about-text {
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 12px;
    color: #444;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-card {
    background: #111827;
    color: #fff;
    padding: 22px;
    border-radius: 16px;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #023783;
}

.feature-card span {
    display: block;
    margin-top: 8px; 
}

/* Video */
.video-container {
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: 30px auto 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Contact */
.contact-wrapper {
    dispaly: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

#contact-img {
    width: 100%;
    border-radius: 18px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-card {
    background: #f8fafc;
    padding: 22px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-card i {
    fond-size: 1.7rem;
    color: #023783;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: #111827;
    margin-bottom: 8px;
}

.contact-card p {
    color: #555;
    line-height: 1.5;
}

.contact-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: #023783;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: #00aaff;
    transform: translateY(-2px);
}

/* Partners */
#partners {
  padding: 40px 20px;
  text-align: center;
  background: #f5f5f5;
  margin: auto; 
  border-radius: 10px;  
}
#partners h2 {
    margin-bottom: 30px;
}
#partners a {
    text-decoration: none;
}
#partner a:hover {
    color: darkblue;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: auto;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: scroll 25s linear infinite;
}

.logo-track img {
  width: 140px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* спира при hover */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partners-text {
  margin-top: 30px;
  color: #555;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-comment {
  animation: fadeInScale 0.4s ease forwards;
}
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}
h2 {
    text-align: center;
    color: #1f1c1cce;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Създаваме центриране и размер на svg контейнера */
.svg-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

/* Леко люлеене на чинията (група .dish) */
.satellite-svg .dish {
  transform-origin: 58px 60px; /* център на въртене */
  animation: dish-wobble 4s ease-in-out infinite;
}
@keyframes dish-wobble {
  0%,100% { transform: rotate(0deg); }
  30% { transform: rotate(4deg); }
  60% { transform: rotate(-3deg); }
}

/* Леко плаващо движение на цялото SVG за по-жив ефект */
.satellite-svg {
  animation: svg-float 6s ease-in-out infinite;
}
@keyframes svg-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Радиовълните (scale + fade) — стартират при .playing клас */
.waves .wave {
  transform-origin: 0 0;
  transition: opacity 0.3s;
  opacity: 0;
  stroke-dasharray: 4 4;
}
.waves.playing .w1,
.waves.playing .w2,
.waves.playing .w3 {
  animation: wave-pulse 1.8s ease-out infinite;
  opacity: 1;
}
.waves.playing .w2 { animation-delay: 0.25s; }
.waves.playing .w3 { animation-delay: 0.5s; }

@keyframes wave-pulse {
  0% { transform: scale(0.2); opacity: 0.9; stroke-width:2; }
  60% { transform: scale(1.1); opacity: 0.4; stroke-width:1.5; }
  100% { transform: scale(1.7); opacity: 0; stroke-width:1; }
}

/* Антена - леко въртене на връх и вълни */
.antenna-svg .antenna-arc { transform-origin: 90px 30px; animation: arc-wobble 5s ease-in-out infinite; }
@keyframes arc-wobble {
  0%,100%{ transform: rotate(0deg); }
  40%{ transform: rotate(3deg); }
  70%{ transform: rotate(-2deg); }
}
.antenna-waves .a1,
.antenna-waves .a2 {
  opacity: 0;
}
.antenna-waves.playing .a1,
.antenna-waves.playing .a2 {
  animation: wave-pulse 1.6s ease-out infinite;
  opacity: 1;
}
#wifi-background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: -1;
}

.wifi-wave {
  position: absolute;
  border: 2px solid #00aaff;
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse 3s infinite;
}

.wifi-wave:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 100px;
  left: 100px;
  animation-delay: 0s;
}

.wifi-wave:nth-child(2) {
  width: 140px;
  height: 140px;
  top: 80px;
  left: 80px;
  animation-delay: 1s;
}

.wifi-wave:nth-child(3) {
  width: 180px;
  height: 180px;
  top: 60px;
  left: 60px;
  animation-delay: 2s;
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    transform: scale(0.7);
    opacity: 0.6;
  }
}
@media (max-width: 768px) {
    #home {
        background-image: url('hero-image.jpg');
        background-size: cover;
        background-position: center;
    }
    header {
        height: auto;
        padding-bottom: 20px;
        
    }
    .navbar {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        flex-wrap: wrap;
        width: 100%;
        min-height: auto;
        border-radius: 20px;
        padding: 15px 20px;
        gap: 10px;
        
    }
    .menu-toggle {
      width: 60px;
      height: 40px;
      display: block;
      background-color: #00aaff;
      border: none;
      border-radius: 40px;
      cursor: pointer;
    }
    .logo {
        margin: 0 auto;
    }
    .logo-img {
        height: 35px;
    }
  
    .nav-links {
        display: none;
      flex-direction: column;
      width: 100%;
      gap: 15px;
      background-color: transperant;
      position: static;
      padding: 15px 0 0 0;
       margin-top: 10px; 
    }

    .nav-link a {
        color: white;
    }
  
    .nav-links.active {
      display: flex;
    }

    .nav-links.left, 
    .nav-links.right{
        alight-items: center;
        
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        display: block;
        padding: 8px 0;
    }

    
  #welcome-container {
    flex-direction: column;
    min-height: auto;
    padding: 20px 10px;
  }

  #animated-text {
    position: relative; /* не absolute, за да са подредени */
    margin: 0.3rem 0;   /* разстояние между двата текста */
    font-size: clamp(1.5rem, 5vw, 2rem); /* адаптивен размер */
  }
  
  #animated-text {
    margin-bottom: 0.5rem; /* разстояние между основен текст и подтекст */
  }
    #welcome-container h1 {
    font-size: 2rem;
  }
  #welcome-container p {
    font-size: 1rem;
  }

   .service-container{
    flex-direction: column;       
    align-items: center;          
    gap: 20px;                     
  }
    .service-card {
    width: 90%;                    
    max-width: 400px;              
  }
    .social-icons a {
  font-size: 1.2rem;
 }
  .pricing-section,
  .about-section,
  .contact-section {
    margin: 30px 12px;
    padding: 28px 14px;
  }

  .about-us-container,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-features,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px;
    font-size: 0.9rem;
  }
  .service-container {
    flex-direction: column;
  }
  }






































