/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}
/* Full-site background video */
.site-background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1000;
  pointer-events: none;
}

.site-background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional dark overlay for readability */
.site-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.5); /* adjust for brightness */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
/* Header */
/* GENERAL STYLES */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.nav-spacer {
  flex-grow: 2; /* pushes the button to the right */
}
.navbar button{
  margin-right: 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.nav-menu {
  margin-left: auto; /* Mută meniul la capătul din dreapta */
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  gap: 20px;
}

.logo {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.cta-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}



/* Header */
.header {
  background: #0a0f23;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: nowrap; /* Prevent wrapping */
  overflow-x: auto; 
}

.logo {
  height: 60px;
  cursor: pointer;
}

nav ul.nav-menu {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding-left: 6rem;
  list-style: none;
}

nav ul.nav-menu li a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease;
}

nav ul.nav-menu li a:hover,
nav ul.nav-menu li a:focus {
  color: #00b4d8;
  outline: none;
}

.cta-btn {
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  border: none;
  color: #fff;
  background: #00b4d8;
}

.cta-btn:hover,
.cta-btn:focus {
  background: #0288a7;
  outline: none;
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
  font-weight: 600;
}

.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #00b4d8;
  color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav-container {
    gap: 0.5rem;
  }

  .nav-menu {
    display: none; /* optionally hide menu if not used on mobile */
  }

  .logo {
    margin: 0 auto;
    height: 45px; /* Slight reduction on small screens */
  }
}

/* Buttons (Hero & general) */
.btn,
.cta-btn {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn.primary,
.cta-btn {
  background-color: #00b4d8;
  color: #fff;
  border: none;
}

.btn.secondary,
.cta-btn.secondary {
  background-color: transparent;
  color: #00b4d8;
  border: 2px solid #00b4d8;
}

.btn:hover,
.cta-btn:hover,
.btn:focus,
.cta-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
}

.btn.secondary:hover,
.cta-btn.secondary:hover,
.btn.secondary:focus,
.cta-btn.secondary:focus {
  background-color: #00b4d8;
  color: #fff;
  box-shadow: none;
  transform: none;
}

.hero {
  background-image: url("images/back.jpg");
  background-size: cover;        /* Ensures the image covers the entire section */
  background-position: center;   /* Centers the image */
  background-repeat: no-repeat;  /* Prevents repeating */
  background-attachment: fixed;  /* Optional: creates a parallax effect */
  color: #f0f4f8;
  padding: 10rem 0;
}

.hero-overlay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-left {
  flex: 1 1 45%;
}

.hero-left h1 {
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern sans-serif font */
  font-size: 4rem;   /* Large font size for big impact */
  font-weight: 800;
  line-height: 1.1;
  color: #00b4d8;   /* Bright modern blue color */
  margin-bottom: 1rem;

}

.hero-left p {
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-size: 1.6rem; /* Larger paragraph text */
  line-height: 1.6;
  color: #777777; /* Light color for contrast */
  margin-bottom: 2rem;
  max-width: 480px;  /* Control max width for readability */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* --- Modern Form Styles --- */
.hero-form {
  flex: 1 1 45%;
  background-color: #0d1a3a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid #2c3e60;
  border-radius: 8px;
  background-color: #132347;
  color: #e0e6f0;
  font-size: 1rem;
}

.modern-form input:focus,
.modern-form textarea:focus {
  border-color: #00b4d8;
  outline: none;
  background-color: #1a2d5a;
}

.modern-form textarea {
  resize: vertical;
}

.modern-form .cta-btn {
  width: 100%;
  padding: 0.9rem;
  background-color: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modern-form .cta-btn:hover {
  background-color: #0293b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-overlay {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-left,
  .hero-form {
    flex: 1 1 100%;
  }
}


/* Features Section */
.features {
  padding: 0rem 0 3rem;
  text-align: center;
}

.features h2 {
  font-size: 5rem;
  color: #00b4d8;
  margin-bottom: 2rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* All feature cards at 60% width */
.feature-card {
  flex: 0 0 80%;
  max-width: 80%;
  background: #0a0f23;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

/* First two side by side */
.feature-card:nth-child(1),
.feature-card:nth-child(2) {
  margin-left: auto;
  margin-right: auto;
}

/* Third card on a new row and centered */
.feature-card:nth-child(3) {
  margin: 0 auto;
}

/* Hover effect */
.feature-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

/* Bounce animation */
.feature-card.clicked {
  animation: bounce 0.4s ease;
}

@keyframes bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.95); }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Card image */
.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

/* Card heading */
.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* Card text */
.feature-card p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

/* How It Works */
.how-it-works {
  border-radius: 12px;
  margin-bottom: 3rem;
  padding: 4rem 0 3rem;
  background: #eef6fb;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  max-width: 300px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0077b6;
}

.step p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.custom-review-carousel {
  padding: 8rem 4rem;
  background: #f5f8fa;
  text-align: center;
}

.custom-review-carousel h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.review-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.review-carousel-btn {
  background-color: transparent;
  color: rgb(8, 8, 8);
  border: none;
  font-size: 3rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.review-carousel-btn:hover {
  color: rgba(87, 87, 87, 0.8);
}

.review-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
}

.review-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 25%;
  padding: 1.2rem;
  box-sizing: border-box;
  background: white;
  border-radius: 12px;
  margin: 0 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.review-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #007bff;
}

.review-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-info {
  font-size: 0.95rem;
  color: #333;
}

.review-info span {
  display: block;
  font-size: 0.85rem;
  color: #777;
}
/* Tableta */
@media (max-width: 992px) {
  .review-card {
    flex: 0 0 50%; /* 2 pe tabletă */
  }
}

/* Telefon */
@media (max-width: 600px) {
  .review-card {
    flex: 0 0 100%; /* 1 pe telefon */
  }
}


/* Review Section Styles */
.reviews {
  padding: 10% 10px;
  background-color: transparent;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

/* Swiper wrapper styling */
.reviews-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Each slide */
.swiper-slide {
  width: auto !important; /* override inline styles */
  max-width: 300px;
  display: flex;
  justify-content: center;
}

/* Individual review card */
.review {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Review image */
.review-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  flex-shrink: 0;
}

/* Review text */
.review p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
  flex-grow: 1;
}

/* Customer name */
.customer-name {
  font-weight: bold;
  color: #333;
  margin-top: auto;
}

/* Featured review styling */
.featured {
  background-color: #eaf5fe;
  border-left: 5px solid #4e89f0;
}

/* Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #4e89f0;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  cursor: pointer;
  transition: color 0.3s ease;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #3b73d1;
}

/* Swiper pagination dots */
.swiper-pagination {
  text-align: center;
  margin-top: 20px;
  color: #4e89f0;
}

/* Plus icon in "Read More Reviews" button */
.plus {
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}

/* Responsive: Adjust slides per view */
@media (max-width: 1024px) {
  .swiper-slide {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    max-width: 90vw; /* almost full width on mobile */
  }

  .reviews-cards {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .reviews h2 {
    font-size: 1.5rem;
  }
}


/* Make sure swiper slides take equal space */
.swiper-slide {
  width: auto !important;
  max-width: 300px;
}

/* Override review max-width to fit nicely */
.review {
  max-width: 300px;
  margin: 0 auto;
}

/* Position navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #4e89f0;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
}

.swiper-pagination {
  text-align: center;
  margin-top: 20px;
  color: #4e89f0;
}

.custom-carousel {
  text-align: center;
  padding: 4rem 1rem;
  background: transparent;
}

.custom-carousel h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 2rem;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: auto;
  margin: 0 auto;
}

.carousel-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  color: rgba(168, 168, 168, 0.8);
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 2000px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  flex: 0 0 25%; /* 4 cards per view */
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
}

.carousel-card img {
  width: 100%;
  max-width: 1000px;
  border-radius: 25px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.carousel-card:hover img {
  transform: scale(1.05);
}


/* FAQ Section */
.faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #0b2a4a;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #f0f4f8;
}
.faq .bordered-box{
  background-color: #1f3347;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #00b4d8;
  position: relative;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  background-color: #09233d;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background-color: #0d2f53;
}

.faq-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.faq-item h4::after {
  content: "+";
  font-size: 1.5rem;
  color: #00b4d8;
  transition: transform 0.3s ease;
}

.faq-item.open h4::after {
  transform: rotate(45deg);
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0.5rem;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  color: #dce6f2;
  line-height: 1.5;
}

.faq-item.open .answer {
  max-height: 300px;
  opacity: 1;
}

/* About Us */
.about {
  padding: 10rem 0;
  background: url('images/team.jpg') center/cover no-repeat fixed;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 400px;
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000c;
}

.bordered-box {
  background: rgba(249, 250, 255, 0.925);
  border: 2px solid rgba(0, 100, 140, 0.5);
  box-shadow: 0 4px 8px rgba(0, 100, 140, 0.1);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 1rem auto;
  color: #000c;
}

.about-content img {
  flex: 1 1 400px;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* Contact Section Heading */
.contact h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
}

/* Contact Form Base Styles */
.contact-form {
  max-width: 900px;
  margin: 0 auto;
  background-color: #061d36;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Group fields side by side */
.contact-form .form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Input & Textarea */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  flex: 1 1 100%;
  padding: 15px;
  border: 1px solid #2c3e50;
  border-radius: 10px;
  background-color: #0b2a4a;
  color: #fff;
  font-size: 16px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00b4d8;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.5);
}

/* Textarea full width */
.contact-form textarea {
  width: 100%;
  resize: none;
}

/* Submit Button */
.contact-form input[type="submit"] {
  width: 100%;
  background-color: #00b4d8;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
  background-color: #0077b6;
}

.payments {
  border-radius: 25px;
  text-align: center;
  padding: 6rem 2rem;
  background: #0b2a4a;
}

.payments h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #bdbdbd;
}

.payments p {
  font-size: 1.1rem;
  color: #797979;
  margin-bottom: 3rem;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.payment-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 120px;
  height: 80px;
}

.payment-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.payment-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}


/* Footer */
.footer {
    margin-bottom: 0;
  margin-top: 100px;
  background: #0a0f23;
  color: #cbd5e1;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  user-select: none;
}

.footer a {
  color: #00b4d8;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid,
  .steps,
  .testimonial-cards,
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
} 