* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Vollkorn', serif; */
    font-family: 'Noto Sans', sans-serif;
	  background-color: white; 
    color: #222;
    margin: 0;
    overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}


.video-tile {
  position: fixed;        
  top: 0;
  left: 0;
  width: 100vw;           
  height: 100vh;          
  z-index: -1;            
  overflow: hidden;
}
.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;      
}


.cloud-container .box,
.how-it-works-container .box,
.tooltip-box,
.team-member,
.access-container form{

    background-color: #1d0f3b;

}

header,
#nav-menu{

        background: linear-gradient(135deg, #1d0f3b, #ca0166) ;

}

.access-container form{
    border: 3px solid #002d28; 
}

.access-container button,
.modal button,
 .popup-content button {

    background: #8000FF;
}

.access-container button:hover,
.modal button:hover,
.popup-content button:hover  {

    background: #6A00CC;
}

.popup {

        background: linear-gradient(180deg, #FF69B4, #9370DB);
}

.team-member:hover {

  background-color: #1b0c38;
}

.team-member img {
  border: 2px solid #FFC145;
}

.card-front {
    background-color: #002d2800;
}

.card-back {
    background-color: #0008fc00;
}

.timeline-bar {
  background-color: #0f5c55;
}

.timeline-fill {
  background-color: #FFC145;
}

.heroteam {

	background: linear-gradient(135deg, #1d0627, #711599);
    background-image: url('../assets/TeamBackground.jpeg'); 
    background-size: cover;
    background-position: center;
    height: 55vh;
    font-weight: bold;
    color: white;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 3rem;
	  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Css for the section about.php / aboutMain.php */


.about {
    /* background: linear-gradient(135deg, #1d0627, #4a1563); */
    color: white;
    padding: 0px;
	margin-top: 0px;
    font-size: 1rem;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Global parameters  */

/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Global p */

p {
    line-height: 1.8; 
    max-width: 1000px;          
    margin: 0 auto;          
    padding: 0 20px; 
    font-size: larger;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Global h3 */

h3 {

    color: #FFC145; 
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Global h2 */


h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFC145; 
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* Global footer */

footer {
    text-align: center;
    padding: 20px;
    color: white;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* home.php / homeMain.php specyfic css - carusel */

.hero {

	/* background: linear-gradient(135deg, #1d0627, #711599); */
    height: 50vh;
    font-weight: bold;
    color: white;
    /* margin-top: 60px; */
    margin-top: 0px;
    margin-bottom: 4vh;
    font-size: 3rem;
	  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;


}

.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.slides {
  position: relative;
  height: 400px;
}

.slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slides img.active {
  opacity: 1;
  z-index: 1;
}


.swiper {
  width: 100%;
  max-width: 100%;
  height: 400px;
  margin: auto;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.swiper-pagination-bullet {
  background-color: #321777 !important; 

}

.swiper-pagination-bullet-active {
  background-color: #ffffff !important; 
}


.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(0,0,0,0);
  border-radius: 50%;
  padding: 10px;
  color: #ffffff !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ffffff; 
  transform: scale(1.5); 
  transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
  transform: scale(1.5);
  transition: all 0.3s ease;
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* header.php specyfic css - przyciski nawigacyjne, zmiana w burgera*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    z-index: 1000;
    align-items: center;
	
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}


nav ul li a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    color: rgb(102, 89, 89);
    border-radius: 5px;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;

}

.burger span {
  height: 3px;
  width: 25px;
  margin: 4px 0;
  background: white;
}


#nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px 2px;
  z-index: 100;
}

#nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#nav-menu.active {
  display: block;
}


@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  nav {
    display: none; 
  }
}
@media (min-width: 769px) {
  #nav-menu {
    display: block !important;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  #nav-menu ul {
    flex-direction: row;
    gap: 20px;
  }
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px; 
    margin-right: 10px;
}



.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */


/* problems.php section specyfic css */

.problems-container {
    color: white;
    padding: 50px;
    text-align: center;

}

.problems-content {
    display: flex;
    justify-content: space-around;
    text-align: left;
    padding-bottom: 20px;
    max-width: 1000px;          
    margin: 0 auto; 
    font-size: larger;
}

.column {
    width: 45%;
}

.problems-container ul {
    list-style-type: none;
}

.problems-container li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.problems-container ul li::before {
    content: "★";
    color: #E85A4F;
    position: absolute;
    left: 0;
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* how-it-works.php specyfic css */


.how-it-works-container {
    color: white;
    padding: 50px;
    text-align: center;
}

.data-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.how-it-works-container .box {
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    width: 300px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s; 
}

.box:hover {
    transform: translateY(-5px); 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5); 
}



.box p {
    margin-top: 15px; 
}



/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* cloud.php specyfic css */


.cloud-container {
    color: white;
    padding: 50px;
    text-align: center;
}

.cloud-container .box {
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    width: 300px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s; 
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* access.php and earlyaccess.php specyfic css */



.access-container,
.modal-content {
    color: white;
    padding: 50px;
    text-align: center;
}



.access-container form {
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    margin: auto;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); 
}

.access-container label {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
    margin-top: 4px;
    text-align: left;
}

.access-container input,
.modal-content input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
}

.access-container button,
.modal button {
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 20px;
}


.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
}

.popup-content p {
    font-size: 1.2rem;
    color: #333;
}

.popup-content button,
.modal button {
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/* team.php section  */


.team-container {
    color: white;
    padding: 4vh 20px;
    text-align: center;
}




.team-grid {
  grid-template-columns: 1fr; 
  gap: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 20px;

  max-width: 700px;    
  margin: 0 auto;       
  width: 100%; 
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.team-member img {
  width: 100%;
  max-width: 600px;
  height: 100%;
  max-height: 900;
  object-fit: cover;
  border-radius: 10%;

  transition: transform 0.3s;
}


.team-member h3 {
  margin: 0;
  font-size: 2rem;
  color: #FFD776;
}

.team-member h2 {
  margin: 5px 0;
  font-size: 1.2rem;
  color: #e3d5b4;
}

.team-member p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.team-member-text {
  flex: 1; 
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */


/*sekcja contact handle*/

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding: 60px 20px;

}

.contact-left, .contact-right {
    flex: 1;
    min-width: 280px;
}

.contact-left h2, .contact-right h2 {
    color: #FFC145;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding: 5;
    font-size: 1.1rem;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    text-align: center;
    color: white;

    background-image: url('../assets/team.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-bottom: 5px;

    backdrop-filter: brightness(0.7); 
}




.contact-left, .contact-right {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}


.contact-left h2, .contact-right h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000000;
}

/* Informacje kontaktowe */

.contact-info {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 1px;
    border-radius: 20px;
    font-size: 1.1rem;
}


.contact-info li {
    margin-bottom: 10px;
}

/* Ikony social media i efekt hover */
.icons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.icon img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}


.icon:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #FFC145);
}

.icon:hover span {
    color: #ffffff;
}


/*cards section*/

.card-section {
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.card-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #FFC145;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-content: center;
}



#card-sections-container {
  display: contents; 
}

@media screen and (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card:hover .hover-text {
    opacity: 1;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}


.card-back {
    transform: rotateY(180deg);

}

.card-inner.flipped {
    transform: rotateY(180deg);
    
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* efekt dla napisu po najechaniu na karte */

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #FFD776;
    background-color: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 1.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/*follow us*/

.contact-center {
    padding: 60px 20px;
    text-align: center;
    color: white;
    background-image: url('../assets/team.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    backdrop-filter: brightness(0.7);
}

.contact-center h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFC145;
    text-shadow: 1px 1px 2px #000;
}

/*roadmap*/



.roadmap-section {
  padding: 60px 10px 10px;
  text-align: center;
  color: white;
}

.roadmap-section h2 {
  color: #FFC145;
  font-size: 2.5rem;
  margin-bottom: 70px;
}

.timeline-bar {
  position: relative;
  height: 8px;
  max-width: 1000px;
  margin: 50px auto 40px;
  border-radius: 4px;
  overflow: visible;
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #FFC145;
  width: 0%;
  border-radius: 4px;
  transition: width 1s ease;
  z-index: 1;
}

.milestone {
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  z-index: 2;
}

.milestone img {

  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.milestone:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #FFC145);
}


.tooltip {
  position: relative;
  display: inline-block;

}

.tooltip-box {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  width: 220px;
  z-index: 100;
  text-align: left;
  

}

@media screen and (max-width: 600px) {
  .tooltip-box {
    width: auto;
    right: 0;
    left: auto;
    transform: none;
  }
}


.tooltip:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}

.tooltip-box h4 {
  margin: 0 0 6px;
  color: #FFC145;
  font-size: 1rem;
}

.tooltip-box p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}


.tooltip img {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

/* Label below the icon */
.milestone span {
  display: block;
  margin-top: 3px; 
  margin-bottom: 15px; 
  font-size: 0.9rem;
  color: #FFD776;
}


@media (max-width: 768px) {
  .milestone span {
    font-size: 0.75rem;
  }
}

.milestone::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background-color: #4561ff;
}

.tooltip h4 {
  text-align: center;
  color: #FFC145;
  font-size: 1rem;
}

.tooltip p {
  text-align: center;
  color: white;

}

iframe {
  display: block;
  max-width: 800px;     
  width: 100%;
  height: 400px;
  margin: 0 auto;       
  border: none;         
}


.txt{
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 1px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;          
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */

/*banner*/
.banner-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.banner-section img {
  max-width: 1000px;
  width: 100%;
  height: auto;
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
  cursor: pointer;
  transition: transform 0.3s ease;
}

.banner-section img:hover {
  transform: scale(1.02); 
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------- */


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  background: #1d0f3b;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

#verifyMessage {
  margin-top: 10px;
  font-weight: bold;
}