/* Main CSS file for the landing page */
body {
  font-family: "Arial", sans-serif;
  background-color: white;
  color: #333;
  margin: 0;
  padding: 0;
}
.wrapper {
  position: relative;
  overflow: hidden;
}
header {
  position: relative;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
h2 {
  color: #2f7e9f;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  padding: 0px 20px;
}
.cta-button {
  display: inline-block;
  background: #2f7e9f;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background: #1e5a6e;
}
.about-section {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
}
.about-section img {
  border-radius: 50%;
  width: 170px;
  height: 170px;
  object-fit: cover;
  margin-bottom: 20px;
}
.about-section ul {
  text-align: left;
  padding-left: 40px;
}
.full-width {
  width: 100%;
  background: #f9f9f9;
  padding: 40px 0;
  position: relative;
}
.services ul {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}
.services li {
  display: flex;
  align-items: center;
  background: white;
  margin: 15px 0;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}
.services li::before {
  content: "";
  position: relative;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  border: 2px solid #2f7e9f;
  background-image: url("./images/checkmark.svg");
  margin-right: 15px;
  font-size: 1.2rem;
  filter: brightness(0.95);
}
.image-section {
  margin: 80px 0;
  text-align: center;
}
.splide img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  background: #f2f3f4;
  padding: 10px;
}
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 80px;
}
.section-spacing {
  margin: 80px 0;
}
/* Scroll-to-Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2f7e9f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.scroll-to-top:hover {
  background: #1e5a6e;
}
/* Popup Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
}
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.modal-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  width: 120px;
}
.modal-buttons .whatsapp {
  background: #25d366;
}
.modal-buttons .telegram {
  background: #0088cc;
}
.modal-buttons i {
  margin-right: 5px;
  font-size: 20px;
}
.speciality {
  isolation: isolate;
  padding: 100px 0;
}
.speciality::before {
  content: "";
  background-image: url("./images/background-image-2.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* Adjust opacity here */
  position: absolute;
  background-attachment: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; /* Place it behind the content */
}
.circle {
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #2f7e9f;
  color: white;
}
.card-text:last-child {
  margin-bottom: 20px;
}

/* Add styles for old and new prices */
.old-price {
  text-decoration: line-through;
  color: #999;
}
.new-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2f7e9f;
}

.discount-label {
  font-size: 1.1rem;
  color: white;
  margin-right: 10px;
  margin-top: 20px;
  text-decoration: underline;
  cursor: pointer;
}

discount-label-grey {
  font-size: 0.9rem;
  color: #999;
  margin-right: 10px;
}

/* Add styles for the image modal */
#imageModal .modal-content {
  max-height: 96vh;
  width: auto;
}
#imageModal img {
  width: auto;
  max-height: 96vh;
  min-height: 50vh;
}
.contact-modal .modal-content {
  max-width: 400px;
  margin: 0 auto;
}
.free-materials {
  margin-top: 150px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
}

.free-materials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.2"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.4"/><circle cx="10" cy="60" r="1" fill="%23ffffff" opacity="0.3"/><circle cx="90" cy="40" r="1" fill="%23ffffff" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.resource-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(47, 126, 159, 0.1);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f7e9f, #45a29e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(47, 126, 159, 0.15);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2f7e9f, #45a29e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.resource-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7e9f, #45a29e);
  opacity: 0.2;
  transform: scale(1.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.resource-icon i {
  color: white;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.resource-content h3 {
  color: #2f7e9f;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.resource-content p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2f7e9f;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #2f7e9f;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent;
}

.resource-link:hover {
  background: #2f7e9f;
  color: white;
  transform: translateX(5px);
}

.resource-link i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.resource-link:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .free-materials {
    padding: 60px 0;
    margin-top: 100px;
  }
  
  .resource-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
  }
  
  .resource-icon i {
    font-size: 1.5rem;
  }
  
  .resource-content h3 {
    font-size: 1.2rem;
  }
}
.result-box {
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%; /* Make height fit content */
}
.result-box p {
  margin-top: 0; /* Remove margin-top to align text with top of box */
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col-md-6, .col-lg-3, .col-lg-4 {
  display: flex;
  flex-direction: column;
}
.col-md-6 .result-box, .col-lg-3 .result-box, .col-lg-4 .result-box {
  flex: 1;
}
.pricing{
  padding-top: 80px;
  margin-top: 0px;
}
.euro-price {
  font-size: 1.2rem;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}
.no-discount{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.no-discount .euro-price{
  margin-top: 0px;
}
@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
/* Add styles for cards to be the same height on desktop */
@media (min-width: 768px) {
  .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* Mobile-only styles */
@media (max-width: 767px) {
  .services {
    padding-left: 0px;
  }
  .services li{
    text-align: left;
  }
  #imageModal img{
    max-width: 100%;
    min-height: auto;
  }
  .cta-button{
    width: 310px;
  }
  .card-content{
    text-align: left;
  }
  .card-title{
    margin-left: 10px !important;
  }
}
