/* 1. SABLON TISZTÍTÁS - Eltüntetjük a képen látható listapöttyös menüt */
.pill-nav ul:not(.nav-list), 
.pill-nav li::before,
.header-menu, .mobile-nav-container {
    display: none !important;
}

/* 2. PC-S NÉZET ÉS HOVER JAVÍTÁSA */
@media (min-width: 769px) {
    .hamburger { display: none !important; }

    .pill-nav {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        background: transparent !important;
        position: relative;
        z-index: 999; /* Minden sablon-elem fölé emeljük */
    }

    .nav-list {
        display: flex !important;
        gap: 15px;
        list-style: none !important;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        display: inline-block !important;
        padding: 10px 25px !important;
        border: 2px solid rgba(138, 201, 230, 0.8) !important;
        border-radius: 50px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        background: rgba(255, 255, 255, 0.1) !important; /* Nagyon áttetsző alap */
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
    }

    /* VILÁGOSABB, ÁTTETSZŐBB HOVER */
    .nav-item:hover {
        background: rgba(0, 210, 255, 0.3) !important; /* Világos kék derengés */
        border-color: #ffffff !important; /* Fehérre váltó szegély */
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
        transform: translateY(-2px);
    }
}

/* 3. MOBIL NÉZET JAVÍTÁSA */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        margin: 10px auto;
        z-index: 1001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #ffffff !important; /* Fehér hamburger vonalak */
    }

    /* A mi egyedi ovális listánk mobilon */
    .nav-list {
        display: none;
        flex-direction: column !important;
        position: absolute;
        top: 360px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95) !important;
        padding: 30px 0 !important;
        z-index: 1000;
        align-items: center;
        gap: 30px !important; /* EZ adja meg a távolságot a gombok KÖZÖTT */
        list-style: none !important; /* Pöttyök ellen */
    }

    .nav-list.active {
        display: flex !important;
    }

    .nav-item {
        margin: 8px auto !important;
        width: 80% !important;
        text-align: center;
        border: 1.5px solid #00d2ff !important;
        border-radius: 50px !important;
        color: #ffffff !important;
        text-decoration: none !important;        
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    .nav-item, .nav-item:active, .nav-item:focus, .nav-item:visited {
        text-decoration: none !important; /* Tiltja az aláhúzást minden állapotban */
        outline: none !important;        /* Eltünteti a kattintáskori kék keretet */
        -webkit-tap-highlight-color: transparent; /* Eltünteti a mobilos szürke/kék villanást kattintáskor */
    }
}






.information{
  background-color: #001f33;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size:30px;
  color:white;

}
#cim{
    color:red;
    font-size:40px;
}

.card-img-top{
    border-radius:15px;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 15px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
    background: rgba(255,255,255,0.70);

}
.arrow{
    width:25px;
}



#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.custom-card {
      text-align:center;
    }
    @media (min-width: 992px) {
      .custom-card .card-body {
        justify-content: space-between;
      }
    }


    @media (min-width: 768px) {
      .custom-card {
        margin: 10px;
      }
    }

    .conn_btns {
      display: flex;
      justify-content: center;
      margin-top:10px;
    }
.card-title
{
    text-align:center;
    font-size: 30px;
}
    .ico {
      margin-right: 10px;
    }

body {
    background-image:url('../img/920.jpg');
    color: white;
    font-family: 'Roboto', sans-serif;
}

.card {
    border: none;
    background: transparent;
    margin-bottom: 20px;
    border-radius:12px;
}

.bimg{
    border-radius:10px;
    width:90%;
}
.bimg1{
    border-radius:10px;
    width:100%;
}

.mainlogo{
    margin: 20px;
}
.dekorgyar{
    text-align:center;
    
}
.topic{
    text-align:center;
    
}

h2 {
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 50px;

}

.ilogo {
    width: 40px;
    margin-left:5px;
    margin-right:5px;
    margin-bottom:15px;
}
.ilogo1 {
    width: 35px;
}
.conn_btns {
        text-align: center !important;
}

.footer {
    text-align: center;
    margin-top: 50px !important;
}

.ilogo:hover {
    transform: scale(1.1);
}


h2,
p,
h5 {
    text-align: center;
}
.conn_btns {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start;
    justify-content: center;
}

.ico {
    flex: 0 1 auto; 
}

@media (max-width: 600px) {
    .conn_btns {
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .ico {
        flex: 0 1 30%;
        margin: 1px; 
    }
}


/* From Uiverse.io by imtausef */ 

/* 1. A szülő konténer: Ez teszi középre a kártyákat */
.event-parent-wrapper {
  display: flex;
  flex-wrap: wrap;        /* Ha sok kártya van, új sorba törnek */
  justify-content: center; /* Vízszintes középre igazítás */
  align-items: stretch;   /* Ettől lesznek egyforma magasak egy soron belül */
  gap: 30px;              /* Távolság a kártyák között */
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 2. A kártya egyedi mérete és stílusa */
.event-parent {
  width: 300px;           /* Fix szélesség */
  perspective: 1000px;
  display: flex;          /* Kell a magasság átadásához */
}

.event-card {
  padding-top: 50px;
  border: 3px solid #0A0D42;
  transform-style: preserve-3d;
  /* Mintás háttér a te színeiddel (#8AC9E6 és #0A0D42) */
  background: linear-gradient(135deg, #0000 18.75%, #8AC9E6 0 31.25%, #0000 0),
              repeating-linear-gradient(45deg, #8AC9E6 -6.25% 6.25%, #0A0D42 0 18.75%);
  background-size: 60px 60px;
  background-color: #0A0D42;
  width: 100%;
  display: flex;          /* Függőleges elrendezés a belső elemeknek */
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 30px 30px -10px;
  transition: all 0.5s ease-in-out;
}

.event-card:hover {
  background-position: -100px 100px, -100px 100px;
  transform: rotate3d(0.5, 1, 0, 30deg);
}

/* 3. A tartalom doboz színe és nyújtása */
.event-content-box {
  background: #FAFAFA;    /* Világos háttérszín */
  transition: all 0.5s ease-in-out;
  padding: 60px 25px 25px 25px;
  transform-style: preserve-3d;
  flex-grow: 1;           /* Kitölti a maradék helyet -> egyforma magasság */
  display: flex;
  flex-direction: column;
}

.event-content-box .event-card-title {
  display: inline-block;
  color: #0A0D42;         /* Sötétkék cím */
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 50px);
}

.event-content-box .event-card-content {
  text-align: left;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0A0D42;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 30px);
  flex-grow: 1;           /* Eltolja a gombot az aljára */
}

/* 4. A gomb ("részletek") stílusa */
.event-content-box .event-see-more {
  cursor: pointer;
  margin-top: 1.5rem;
  display: inline-block;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none !important; /* NINCS ALÁHÚZÁS */
  color: #FAFAFA;
  background: #0A0D42;    /* Sötétkék gomb */
  padding: 0.6rem 1rem;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
  width: fit-content;
  border: 2px solid rgba(138, 201, 230, 0.8) !important;
  border-radius: 50px !important;
}

.event-content-box .event-see-more:hover {
  background: #8AC9E6;    /* Világoskék hover */
  color: #0A0D42;
  transform: translate3d(0px, 0px, 60px);
}

/* 5. A dátum doboz */
.event-date-box {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  background: #FAFAFA;
  border: 2px solid #0A0D42;
  padding: 10px;
  transform: translate3d(0px, 0px, 80px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 10px -5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-date-box .event-month {
  color: #0A0D42;
  font-size: 9px;
  font-weight: 800;
  display: block;
}

.event-date-box .event-date {
  font-size: 13px;
  font-weight: 900;
  color: #0A0D42;
  display: block;
}


/* Partnerek beállítása */
.partners-section {
    margin-top: 80px; /* Távolság az eseményektől */
    padding: 40px 20px;
    text-align: center;
}

.partners-title {
    color: #FAFAFA;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Távolság a logók között */
}

.partner-logo-box {
    width: 250px; /* Logók mérete */
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%) opacity(0.7); /* Alapból szürke és áttetsző a profi hatásért */
    margin: auto; 
    padding: 4rem;
    color: #0A0D42;
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;    
    
}

.partner-logo-box:hover {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1); /* Hoverre színes lesz és felerősödik */
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Megőrzi a logó arányait */
}

/* Mobil nézetre vonatkozó szabályok (768px szélesség alatt) */
@media (max-width: 768px) {
.partners-logos {
    gap: 15px; /* Kisebb hely a dobozok között mobilon */
}

.partner-logo-box {
    /* Mobilon legyen szélesebb a doboz a kijelzőhöz képest */
    width: 45%;         /* Így 2 logó fér el egymás mellett */
    min-width: 140px;   /* De ne legyen kisebb 140px-nél */
    height: 180px;      /* Kicsit alacsonyabb doboz */
    padding: 10px;      /* Kevesebb belső margó, több hely a logónak */
}

.partner-logo-box img {
    max-width: 90%;     /* A logó töltse ki majdnem a teljes fehér dobozt */
    max-height: 80%;
}
}

/* Nagyon kicsi telefonokhoz (opcionális) */
@media (max-width: 380px) {
    .partner-logo-box {
        width: 90%;         /* Itt már csak 1 logó lesz egy sorban, de nagyban */
    }
}




/* Konténer beállítása */
.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    flex-wrap: wrap; /* Mobilon engedi az egymás alá kerülést */
}

/* Egyedi kártya stílus (Glassmorphism) */
.service-box {
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    color: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effekt */
.service-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Ikonok és feliratok */
/* Ikonokat tartalmazó div stílusa */
.service-icon {
    height: 100px; /* Fix magasságot adunk az ikon területének */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Magának a PNG képnek (ikonnak) a stílusa */
.service-icon img {
    /* Az ikon magassága ne legyen nagyobb, mint 80px */
    max-height: 80px; 
    
    /* Szélességét automatikusan állítja a magassághoz, 
       de maximum a doboz szélességének 80%-a lehet */
    max-width: 80%; 
    
    width: auto;
    height: auto;
    
    /* Biztosítja, hogy az ikon ne torzuljon */
    object-fit: contain; 
}

.service-box h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(138, 201, 230, 0.3);
    padding-bottom: 10px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-box ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

/* Kis pont a listaelemek elé */
.service-box ul li::before {
    content: "•";
    color: #8ac9e6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Mobilos nézet --- */
@media (max-width: 768px) {
    .service-box {
        width: 100%; /* Teljes szélesség mobilon */
        max-width: 400px;
    }
}


/* Konténer az igazításhoz */
.cta-container {
    display: flex;
    justify-content: center;
    padding: 50px 0; /* Megfelelő távolság a blokkok és események között */
    width: 100%;
}

/* Ajánlatkérő gomb */
.cta-container {
    display: flex;
    justify-content: center;
    padding: 60px 0;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 800;
    /* Aláhúzás minden állapotban kikapcsolva */
    text-decoration: none !important; 
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Kevésbé áttetsző fehér háttér */
    background-color: rgba(255, 255, 255, 0.85); 
    
    /* Sötétebb szövegszín a jó olvashatóságért a fehér alapon */
    color: #0A0D42; 
    
    border-radius: 50px;
    /* A menü színvilágához igazított keret */
    border: 3px solid #8AC9E6; 
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

/* Interakció (Hover) */
.cta-button:hover {
    /* Biztosítjuk, hogy hovernél se jöjjön vissza az aláhúzás */
    text-decoration: none !important; 
    
    /* Teljesen fedett fehér háttér */
    background-color: rgba(255, 255, 255, 1);
    
    /* A keret színe élénkül, ahogy a menüpontoknál */
    border-color: #40e0d0; 
    
    /* Világosabb kék ragyogás */
    box-shadow: 0 0 25px rgba(138, 201, 230, 0.6);
    
    transform: translateY(-3px);
    color: #008080;
}

.cta-button:active {
    transform: translateY(1px);
}


/* Tudásbázis kártya*/
.knowledge-card {
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 600px; margin: auto; margin-top: 5vh;
    padding: 2rem; border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    color: #ffffff;
}

.knowledge-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #8AC9E6; /* Kiemelő szín hoverre */
}

.card-tag {
    color: #8AC9E6;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.knowledge-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.knowledge-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: left;
}

.read-more {
    color: #8AC9E6;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}