/*=============================================
  Global Styles
=============================================*/
html {
  scroll-behavior: smooth;
}

article.page {
    margin-bottom: 0;
}

/*=============================================
  Layout Container
=============================================*/
.container {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

/*=============================================
  Hidden Elements
=============================================*/
header#masthead,
footer,
#pagetitle,
.under-header {
  display: none;
}

/*=============================================
  Typography
=============================================*/
/* Base headings */
h1 {
  color: var(--wp--preset--color--white);
  font-size: 2rem;
  font-weight: 800;
  line-height: 2.5rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

/* Larger screens */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

/*=============================================
  Button Styles
=============================================*/
.cta-button .wp-block-button__link {
  font-size: 1.17em;
  font-weight: 700;
  line-height: 40px;
  padding: 15px 40px;
  position: relative;
  z-index: 1;
  background: var(--mple);
  cursor: pointer;
}

.cta-button .wp-block-button__link::after {
  content: "";
  background: var(--mauro);
  position: absolute;
  width: 80px;
  height: 60px;
  border-radius: 50px;
  margin-left: -56px;
  margin-top: -10px;
  z-index: -1;
  transition: all 0.7s ease;
}

.cta-button .wp-block-button__link:hover {
  color: var(--wp--preset--color--white) !important;
}

.cta-button .wp-block-button__link:hover::after {
  margin-left: -82%;
  width: 96%;
}

/*=============================================
  Section 1: Hero
=============================================*/


.page-subtitle {
	color: #fff;
	margin-bottom: 0;	
}


.hero-section {
  background-color: var(--mple);
  color: white;
}

.hero-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-content > .wp-block-group__inner-container:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-headline {
	margin-top: 11px;
}

.hero-subheadline {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: #dbeafe;
}

.wp-block-buttons.cta-button {
	padding: 0!important;
} 

.hero-cta .wp-block-button__link,
.hero-cta .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--mauro);
}

.hero-cta .wp-block-button__link::after {
  background-color: var(--mple);
}

.hero-cta .wp-block-button__link:hover::after {
    margin-left: -85%;
}

.hero-video {
  margin-top: 2rem;
  width: 100%;
}

/* Κύριο container για όλο το στοιχείο */
.loved-by-component {
    display: flex;
    align-items: center;
    gap: 16px; 
    margin-top: 30px;
}

/* Container για τα avatars */
.loved-by-avatars {
    display: flex;
    flex-shrink: 0;
}

/* Στυλ για κάθε avatar ξεχωριστά */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 0 2px white;
}

/* Κανόνας για την αλληλοεπικάλυψη των avatars */
.loved-by-avatars .avatar:not(:first-child) {
    margin-left: -12px;
}

/* Container για τα αστέρια και το κείμενο */
.loved-by-details {
    display: flex;
    flex-direction: column;
}

/* Container για τα εικονίδια των αστεριών */
.loved-by-stars {
    display: flex;
    color: #FBBF24; /* Χρώμα αστεριών */
}

/* ---- ΑΛΛΑΓΗ ΕΔΩ ---- */
/* Μέγεθος για κάθε αστέρι SVG */
.loved-by-stars svg {
    width: 24px;  /* Αυξήθηκε από 20px */
    height: 24px; /* Αυξήθηκε από 20px */
}

/* ---- ΑΛΛΑΓΗ ΕΔΩ ---- */
/* Στυλ για το κείμενο κάτω από τα αστέρια */
.loved-by-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF; /* Άλλαξε σε λευκό */
}

/*=============================================
  Section 2: Key Benefits
=============================================*/
.benefits-section {
  background-color: var(--bg-white);
  padding: 5rem 0;
}

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

.benefits-grid > .wp-block-group__inner-container:first-child {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  padding: 1rem;
  text-align: center;
}

.benefit-icon-wrapper {
  display: inline-block;
  padding: 0.9rem 1rem;
  background-color: var(--mple);
  border-radius: 50%;
}

.benefit-icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-blue);
  stroke: var(--wp--preset--color--white);
}

.benefit-item h3 {
  margin-top: 1rem;
}

/*=============================================
  Section 3: Testimonials
=============================================*/
.testimonials-section {
  background-color: var(--mple);
  color: white;
  padding: 5rem 0;
}

.testimonials-section .section-title {
  color: var(--wp--preset--color--white);
  text-align: center;
}

.testimonials-grid > .wp-block-group__inner-container:first-child {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* Video cards */
.testimonial-card-video > .wp-block-group__inner-container:first-child {
  background-color: var(--wp--preset--color--white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: center;
}

.testimonial-card-video .video-placeholder {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testimonial-card-video .play-button-outer {
  width: 60px;
  height: 60px;
}

.testimonial-card-video .play-button-inner {
  width: 45px;
  height: 45px;
}

.testimonial-card-video .play-button-inner svg {
  height: 1.25rem;
  margin-left: 2px;
  width: 1.25rem;
}

.testimonial-card-video .author {
  font-weight: 700;
  margin-top: 1rem;
  text-align: left;
}

.testimonial-card-video .rating {
  color: #facc15;
  display: block;
  text-align: left;
}

/* Text cards */
.testimonial-card-text > .wp-block-group__inner-container:first-child {
  background-color: var(--wp--preset--color--white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  height: 100%;
}

.testimonial-card-text .quote-text {
  flex-grow: 1;
  font-style: italic;
}

.testimonial-card-text .author {
  margin-top: 1rem;
  font-weight: 700;
}

/*=============================================
  Section 4: Moved CTA
=============================================*/
.moved-cta-section {
  background-color: #063E83;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.moved-cta-section h2 {
  color: white;
  font-weight: 800;
}

.moved-cta-section p {
  font-size: 1.125rem;
  margin-top: 1rem;
  color: white;
}

.moved-cta-section .cta-button {
  justify-content: center;
  margin-top: 2rem;
}

/*=============================================
  Section 5: Data Visualization
=============================================*/
.data-viz-section {
  background-color: var(--bg-white);
  padding: 5rem 0;
}

.data-viz-item > .wp-block-group__inner-container:first-child {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 5rem;
}

.data-viz-item:last-child > .wp-block-group__inner-container:first-child {
  margin-bottom: 0;
}

.data-viz-text,
.data-viz-chart {
  width: 100%;
}

.data-viz-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.data-viz-text p {
  margin-top: 1rem;
  color: var(--text-gray);
}

.data-viz-chart img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1);
  width: 100%;
}

.data-viz-cta-wrapper {
  padding-top: 2rem;
  text-align: center;
}

.data-viz-cta-wrapper .cta-button {
  background-color: var(--primary-blue);
  color: white;
}

.data-viz-section .wp-block-button__link {
  color: #fff;
}

.data-viz-section .cta-button .wp-block-button__link:hover::after {
  margin-left: -86%;
}

.second-part {
	background-color: #f9fafb;
}

/*=============================================
  Section 6: Features
=============================================*/
.features-section {
  background-color: #f9fafb;
  padding: 5rem 0;
}

.features-section .section-title {
  margin-bottom: 4rem;
  text-align: center;
}

.features-grid > .wp-block-group__inner-container:first-child {
  display: grid;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
}

.feature-box {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-box:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1);
}

.feature-box p {
  color: var(--text-gray);
  margin-top: 0.5rem;
}

/*=============================================
  Section 7: FAQ
=============================================*/
.faq-section {
  padding: 5rem 0;
}

.faq-section .section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.faq-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 768px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.faq-question {
	width: 100%;
}

.faq-question .wp-block-button__link {
  	position: relative; /* Απαραίτητο για το ::after */
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    text-align: left; 
    font-size: 1.125rem; 
    font-weight: 600; 
    padding: 1.25rem; 
    background: none; 
    border: none; 
    cursor: pointer;
    color: #000;
}

.faq-question svg {
  height: 1.5rem;
  transition: transform 0.3s ease;
  width: 1.5rem;
}

.faq-question .rotate-180 {
  transform: rotate(180deg);
}

.faq-answer {
  color: #4b5563;
  padding: 0 1.25rem 1.25rem;
}

.hidden {
  display: none;
}


.faq-question span {
    padding-right: 2rem;
}

.faq-question .wp-block-button__link::after {
    content: '+'; /* Το σύμβολο για την κλειστή ερώτηση */
    position: absolute;
    right: 1.25rem; /* Ίδια απόσταση με το padding */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.75rem;
    font-weight: 300; /* Πιο λεπτό για κομψό αποτέλεσμα */
    color: #000;
    transition: transform 0.2s ease;
}

/* Όταν η ερώτηση είναι ανοιχτή (έχει την κλάση .is-open) */
.faq-question.is-open .wp-block-button__link::after {
    content: '−'; /* Το σύμβολο για την ανοιχτή ερώτηση (σωστό σύμβολο μείον) */
}

/*=============================================
  Section 8: Final Pricing
=============================================*/
.pricing-section {
  background-color: var(--mple);
  padding: 6rem 0;
}

.pricing-section .cta-button .wp-block-button__link {
    color: #fff;
}

.pricing-section .section-title,
.pricing-section .section-subtitle {
  color: white;
  text-align: center;
}

.pricing-section .section-subtitle {
  color: #dbeafe;
  font-size: 1.125rem;
  font-weight: 600;
}

.pricing-box > .wp-block-group__inner-container:first-child  {
  align-items: center;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1),
              0 8px 10px -6px rgba(0,0,0,0.1);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem auto 0;
  max-width: 64rem;
  padding: 2rem;
}

.pricing-details {
  text-align: center;
}

.price {
  margin-bottom: 1rem;
}

.price .amount {
  font-size: 3rem;
  font-weight: 800;
}

.price .decimal {
  font-size: 1.875rem;
  font-weight: 700;
}

.price .period {
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 500;
}

.discount {
  color: var(--mple);
  font-size: 1.125rem;
  font-weight: 600;
}

.total-cost {
  color: #4b5563;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.pricing-cta {
  background-color: var(--mple);
  border-radius: 0.5rem;
  color: white;
  display: inline-block;
  font-weight: 700;
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

.pricing-cta:hover {
  background-color: #16a34a;
}

.features-list {
  text-align: left;
}

.features-list .list-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.features-list ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.features-list li {
  align-items: center;
  display: flex;
  margin-bottom: 0.75rem;
}

.features-list svg {
  color: var(--mple);
  flex-shrink: 0;
  height: 1.25rem;
  margin-right: 0.5rem;
  width: 1.25rem;
}

.pricing-divider {
  border-top: 1px solid #e5e7eb;
  width: 100%;
}

.pricing-section .cta-button .wp-block-button__link:hover::after {
    margin-left: -76%;
    width: 93%;
}


.solution-section {
            background-color: var(--white);
            padding: 5rem 0;
        }

        .solution-container > .wp-block-group__inner-container{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3rem;
        }
        
        .solution-text-wrapper {
            width: 100%;
        }

        
        
        .solution-text-wrapper h2 span {
            color: var(--primary-blue);
        }

        .solution-text-wrapper .lead-paragraph {
            font-size: 1.15rem;
            color: var(--text-gray);
            margin: 1.5rem 0 2.5rem 0;
            max-width: 550px;
        }
        
        .cta-button {
            display: inline-block;
            font-weight: 700;
            padding: 0.9rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s ease;
            background-color: var(--primary-blue);
            color: var(--white);
        }
        
        .cta-button:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-2px);
        }

        .video-wrapper {
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* --- STYLES FOR THE SIMPLE FEATURES LIST --- */
        .solution-features-list > .wp-block-group__inner-container {
            margin-top: 2rem;
            margin-bottom: 2.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .solution-feature-item > .wp-block-group__inner-container > .wp-block-group{
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .solution-feature-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #eef2ff;
            color: var(--primary-blue);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .solution-feature-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--mple);
        }

        .solution-feature-text h4 {
            margin: 0 0 0.25rem 0;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark-text);
        }

        .solution-feature-text p {
            margin: 0;
            color: var(--text-gray);
            font-size: 0.95rem;
        }

        /* Responsive adjustments */
        @media (min-width: 1024px) {
            .solution-container > .wp-block-group__inner-container {
                flex-direction: row;
                align-items: flex-start;
                gap: 4rem;
            }
            .solution-text-wrapper, .video-wrapper-container {
                width: 50%;
            }
        }

/*=============================================
  Responsive Layout Tweaks
=============================================*/
@media (min-width: 768px) {
  /* Hero layout */
  .hero-content .wp-block-group__inner-container:first-child {
    flex-direction: row;
  }

  .hero-text {
    text-align: left;
  }

  .hero-video {
    margin-top: 0;
  }

  /* Benefits grid */
  .benefits-grid > .wp-block-group__inner-container:first-child {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Data viz items */
  .data-viz-item > .wp-block-group__inner-container:first-child {
    flex-direction: row;
  }

  .data-viz-item.reverse > .wp-block-group__inner-container:first-child {
    flex-direction: row-reverse;
  }

  .data-viz-text,
  .data-viz-chart {
    width: 50%;
  }

  /* Features grid */
  .features-grid > .wp-block-group__inner-container:first-child {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing layout */
  .pricing-box > .wp-block-group__inner-container:first-child  {
    display: flex;
    flex-direction: row;
    padding: 2.5rem;
  }

  .pricing-details,
  .features-list {
    width: 50%;
  }

  .pricing-divider {
    display: none;
  }

  .features-list {
    border-left: 1px solid #e5e7eb;
    padding-left: 2rem;
  }
}

@media (min-width: 960px) {
  .testimonials-grid > .wp-block-group__inner-container:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card-text > .wp-block-group__inner-container:first-child,
  .testimonial-card-video > .wp-block-group__inner-container:first-child {
    height: 360px;
  }

  .testimonials-section iframe {
    max-height: 192px;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .benefits-grid > .wp-block-group__inner-container:first-child {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid > .wp-block-group__inner-container:first-child {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-video iframe {
    height: 53vw;
    width: 100%;
  }

  .testimonial-card-video iframe {
    height: 43vw;
  }
}

@media screen and (max-width: 586px) {
	.video-wrapper-container iframe {
		    max-height: 156vw;
	}
	
	.wp-block-buttons.cta-button .wp-block-button__link  {
		font-size: 1rem;
	}
}

@media screen and (max-width: 479px) {
	.loved-by-component {
		flex-direction: column;
		align-items: flex-start;
	}
}
