/* Google Fonts import a fájl tetejére */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
   font-family: "Raleway", sans-serif;
}

body {
    background-color: #263a48;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
    color: #263a48;
}

header.scrolled {
    background: #263a48;
    color: white;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #263a48;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
}

header.scrolled .nav-links a {
    color: white!important;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, #00d2ff 0%, #00acee 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.award-text {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero h1 span {
    text-decoration: underline;
}

.lets-talk-scroll {
    margin-top: 50px;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 10px auto;
    position: relative;
}

.mouse-icon::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Footer */
footer {
    background-color: #263a48;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 12px;
    opacity: 0.6;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Burger menühöz kellene JS */
    }
    .hero h1 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonials {
    position: relative; /* Hogy a hullám hozzá képest igazodjon */
    padding-top: 30px; /* Megnövelt padding, hogy a hullám ne takarja a címet */
    background-color: #30C1F6; /* */
    text-align: center;
    padding-bottom: 50px;
}

.ondebox {
    position: absolute;
    top: -137px;
    left: 0;
    width: 100%;
}

.ondebox--logo-slider-top {
    position: absolute;
    z-index: 99;
    top: 0;
    transform: rotate(180deg);
}

.onde {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.ondebox--logo-slider-top .onde {
    max-height: 5px;
    height: 5vh;
}

/* Animation */

.parallaxonde > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallaxonde > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallaxonde > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallaxonde > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallaxonde > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .onde {
    height:40px;
    min-height:40px;
  }
}

.testimonials .container {
    flex-direction: column;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    align-items: start;
    margin-bottom: 50px;
}

.testimonial-card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card.hidden {
    display: none;
    opacity: 0;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.stars {
    color: #ffcc00;
    font-size: 14px;
}

.review-text {
    line-height: 1.6;
    font-size: 15px;
    color: #444;
}

/* Load More Gomb */
#load-more-wrapper {
    margin-top: 40px;
    opacity: 0; /* Alapból láthatatlan a görgetésig */
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    cursor: pointer;
}

#load-more-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

#load-more-wrapper p {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.load-more-btn {
    width: 50px; /* Kicsit nagyobbra vettem a jobb hatásért */
    height: 50px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: #00acee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    
    /* Itt a lényeg: a kezdeti szabálytalan forma */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    /* Animáció hozzáadása */
    animation: bubble-morph 4s linear infinite alternate;
}

.load-more-btn:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

/* A "buborék" mozgásának fázisai */
@keyframes bubble-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Mobil reszponzivitás */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

.parallax-hero {
    position: relative;
    height: 100vh; /* Megnövelt magasság a görgetési élményhez */
    overflow: hidden;
    background-color: #263a48;
}

/* .parallax-hero::before {
    content: '';
    z-index: 98;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
} */

.parallax-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    bottom: 0; /* Alulról indítjuk a képeket */
    left: 0;
    width: 100%;
    height: 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
}

/* Rétegek sorrendje */
.layer-bg { z-index: 1; }
.layer-hill { z-index: 2; }
.layer-water { z-index: 3; }
.layer-front { 
    z-index: 4; 
    /* Ez a réteg nem fog mozogni a JS-ben, így fix pontként szolgál */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    pointer-events: none; /* Ne zavarja a kattintást */
    z-index: 99;
}

.hero h1 {
    font-size: 2.8rem; /* Kicsit kisebb, hogy a 3 sor kényelmesen elférjen */
    line-height: 1.3;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Jobb olvashatóság a világos háttér előtt */
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Mobilra optimalizált betűméret */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Az új szekció stílusa */
.hero-text-section {
    background-color: #263a48; /* Ugyanaz a sötétkék, mint a testimonials */
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-text-section .container {
    flex-direction: column; /* Egymás alá kerüljenek a szövegek */
}

.small-title {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00acee; /* Kiemelő kék szín */
}

.main-headline {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: lowercase; /* A karakteresebb megjelenésért */
}

.main-headline .highlight {
    color: #00acee;
}

.main-subline {
    padding: 20px 30px;
    border-radius: 50px;
    background-color: #00d2ff;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.hero-text-section-balaton {
    max-width: 768px;
    width: 100%;
    margin-top: 30px;
}

.hero-image-container {
    position: relative;
    display: inline-block; /* Hogy a konténer csak akkora legyen, mint a kép */
}

.pulsing-dot {
    position: absolute;
    /* Állítsd be, hol legyen a pont (példa: kép közepe táján) */
    bottom: 38px;
    right: 196px;
    
    width: 15px;
    height: 15px;
    background-color: #ffffff; /* Fehér pont, de lehet a világoskéked is (#00acee) */
    border-radius: 50%;
    z-index: 10;
}

/* A villogó (lüktető) effekt */
.pulsing-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        width: 15px;
        height: 15px;
        opacity: 0.7;
    }
    100% {
        width: 45px;
        height: 45px;
        opacity: 0;
    }
}

.main-subline span {
    font-size: 1.8rem;
    font-weight: 800;
    margin-right: 7px;
}

.sub-headline {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .main-headline {
        font-size: 2rem;
    }
    .hero-text-section {
        padding: 80px 20px;
    }
}

@media (max-width: 560px) {
    .main-headline {
        font-size: 1.6rem;
    }
}

/* Scroll Indicator Stílus */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: white;
    pointer-events: none; /* Ne akadályozza a görgetést */
}

.scroll-indicator p {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite ease-in-out;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 25px;
        opacity: 0;
    }
}

/* A teljes indikátor lebegő animációja */
@keyframes floating-mouse {
    0% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); } /* 15 pixelt mozog lefelé */
    100% { transform: translate(-50%, 0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: white;
    pointer-events: none;
    /* Alkalmazzuk a lebegő animációt */
    animation: floating-mouse 2s infinite ease-in-out;
    transition: opacity 0.3s ease-out; /* Simább eltűnéshez */
}

.stats-section {
    background-color: #263a48; /* Ez a bázis kék színed */
    padding: 0px 0 0 0;
    text-align: center;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Az ikon gradiens beállítása */
.stat-icon i {
    font-size: 5rem;
    
    /* Gradiens létrehozása: fehérről a háttér kékjére */
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        rgba(0, 172, 238, 0.5) 100%);
    
    /* Ez vágja rá a gradienst magára az ikon formájára */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Opcionális: egy pici lágyság az aljára */
    display: inline-block;
}

.stat-icon img {
    width: 70px;

}

.stat-title {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 10px 0 10px 0;
    text-transform: uppercase;
    color: #00acee;
    letter-spacing: 2px;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 200px;
    line-height: 1.4;
    color: white;
}

.stat-item ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    list-style: none;
}

.stat-item ul li {
    /* A kért betűtípus beállítás */
    color: white;
    position: relative;
    padding-left: 25px; /* Hely kihagyása a pipának */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* A kék pipa (Font Awesome ikon használatával) */
.stat-item ul li::before {
    content: "\f00c"; /* Font Awesome 'check' ikon kódja */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%);
    color: #00acee; /* A te kék színed */
    font-size: 0.9em;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.feature-slider {
    background-color: #263a48; /* Világosabb kék háttér a kontraszthoz */
    padding: 50px 0 100px 0;
}

.featureSwiper {
    padding: 50px 20px !important;
}

.card-item {
    height: auto;
}

.card-content {
    background-color: #00acee; /* Sötétkék kártya háttér, mint a képen */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 350px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: white;
}

.card-image {
    width: 45%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-text {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    align-items: flex-start;
}

.card-author {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: white;
    text-decoration: none;
    transition: all .3s;
    border: 1px solid #fcb94a;
    background-color: #fcb94a;
    border-radius: 50px;
    padding: 15px 20px;
    margin-top: auto;
}

.card-author:hover {
    color: white;
    transition: all .3s;
    border-color: #263a48;
    background-color: #263a48;
}

.card-author i {
    margin-left: 10px;
}

.card-text h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    margin-top: 15px;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #00acee; /* Kiemelő kék */
    font-weight: 700;
    margin-bottom: 15px;
}

.card-desc {
    font: 500 1rem/1.667em 'Raleway', sans-serif; /* A korábban kért tipográfia */
    opacity: 0.9;
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
    text-align: justify;
    margin-top: 15px;
}

.card-desc::before {
    font-size: 2rem;
    position: absolute;
    top: 0px;
    left: -0;
    width: 30px;
    height: 24px;
    background: url(./img/icon-quotes-2.svg) no-repeat left top / contain;
    content: '';
}

.card-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.card-link:hover {
    color: #00acee;
}

/* Swiper navigáció testreszabása */
.featureSwiper .swiper-button-next, .featureSwiper .swiper-button-prev {
    color: black!important;
    background: white!important;
    width: 50px!important;
    height: 50px!important;
    border-radius: 50%!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    top: 40%!important;
    transform: translateY(-40%)!important;
    left: auto!important;
    right: -25px!important;
}

.featureSwiper .swiper-button-prev {
    top: 40%!important;
    transform: translateY(-40%)!important;
    right: auto!important;
    left: -25px!important;
}

.featureSwiper .swiper-button-next::after, .featureSwiper .swiper-button-prev::after {
    display: none;
}

.featureSwiper .swiper-button-disabled {
    display: none!important;
}

.featureSwiper .swiper-slide:not(.swiper-slide-active) .swiper-button-next,
.featureSwiper .swiper-slide:not(.swiper-slide-active) .swiper-button-prev {
    display: none!important;
}

.swiper-pagination-bullet-active {
    background: white;
}

/* Mobil reszponzivitás */
@media (max-width: 992px) {
    .card-content { flex-direction: column; }
    .card-image { width: 100%; height: 200px; }
    .card-text { width: 100%; padding: 30px; }
}

.faq-section {
    background-color: #263a48; /* Sötétkék háttér */
    padding: 100px 0;
    color: white;
}

.faq-container {
    flex-direction: column;
    max-width: 900px !important;
}

/* Új cím stílusa */
.faq-header-text {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
}

.faq-header-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    width: 100%;
    border: 1.5px solid white;
    border-radius: 50px; /* Erősen kerekített sarkok a kép alapján */
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.faq-icon {
    font-size: 1.4rem;
    transform: rotate(45deg); /* Átlós nyíl alaphelyzetben */
    transition: transform 0.4s ease;
}

/* Nyitott állapot: világoskék háttér */
.faq-item.active {
    background-color: #00acee; 
    border-color: #00acee;
}

.faq-item.active .faq-icon {
    transform: rotate(225deg); /* Fordított nyíl nyitott állapotban */
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content {
    padding: 0 50px 40px 50px;
}

.faq-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 560px) {
    .faq-header {
        padding: 20px 40px;
    }
}

.logo-slider {
    width: 100%;
    height: 160px;
    background: #263a48; /* Vagy fehér, ha ki akarod emelni */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    width: calc(250px * 12); /* Kép szélessége * képek száma (eredeti + másolt) */
    animation: scroll-logos 30s linear infinite;
    height: 100%;
}

.slide {
    width: 250px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* Csak az eredeti képek számával toljuk el */
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .logo-slider { height: 120px; }
    .slide { width: 180px; }
    .slider-track { width: calc(180px * 12); }
    @keyframes scroll-logos {
        100% { transform: translateX(calc(-180px * 6)); }
    }
}