* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
  }
  
  :root {
    --blue: #2058ff;
    --light-yellow: #ffee80;
    --black: #130f40;
    --light-color: #666;
    --primary: #130f40;
    --secondary: #2058ff;
    --light-grey: #666;
    --white: #fff;
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --card-width: 250px;
    --card-border-radius: 16px;
    --row-increment: 10px;
    --card-small: 26;
    --card-medium: 33;
    --card-large: 45;
  }
  
  html,
  body {
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
  }
  
  section {
    padding: 2rem 9%;
  }

.container-title {
  text-align: center;
}

.container-title h2 {
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 10px;
  font-family: "Poltawski Nowy", serif;
}

.container-title2 {
  text-align: center;
  margin-bottom: 50px;
}

.container-title2 h2 {
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 10px;
  font-family: "Poltawski Nowy", serif;
}
.jumbotron img {
  width: 100%;
  max-height: 680px;  
  filter: brightness(0.5);
}

.text p{
  width: 70%;
}

.text h1{
  color: #C23838;
  margin-bottom: 10px;
}

.wrapper-about {
  align-items: center;
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

.started-wrapper p{
  text-align: center;
}

.text-started {
  margin-bottom: 100px;
}

.visi{
  align-items: center;
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

.misi{
  align-items: center;
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

.text-vision h1{
  color: #C23838;
  margin-bottom: 10px;
  font-size: 3rem;
}

.text-vision p{
  width: 70%;
}

.mission-container {
  display: flex;
  align-items: center;
  gap: 280px; 
  margin-top: 100px;
  margin-bottom: 200px;
}

.image-mission img {
  width: 400px; 
  border-radius: 8px; 
}

.text-mission {
  max-width: 600px; 
  text-align: left;
}

.text-mission h1 {
  color: #383880;
  margin-bottom: 10px;
  font-size: 3rem;
}

.text-mission p {
  font-size: 16px; 
  line-height: 1.6; 
}

.container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.title span {
  color: #e74c3c;
}

.description p {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-bottom: 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1000px; 
}


.card {
  width: 200px;
  height: 250px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}


.card .front {
  position: absolute;
  backface-visibility: hidden; 
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 10px;
}

.card .back {
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  width: 110%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e74c3c;
  color: white;
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 10px;
}

.card:hover {
  transform: rotateY(180deg);
}


.grid .card:nth-child(2),
.grid .card:nth-child(5) {
  transform: translateY(-20px);
}

.grid .card:nth-child(3):hover,
.grid .card:nth-child(4):hover,
.grid .card:nth-child(5):hover,
.grid .card:nth-child(6):hover {
  transform: rotateY(180deg); 
}

.grid .card:nth-child(2):hover,
.grid .card:nth-child(5):hover {
  transform: translateY(-20px) rotateY(180deg);
}




@media (max-width: 768px) {
.navbar {
  flex-direction: column;
  align-items: flex-start;
}

.nav-links {
  flex-direction: column;
  gap: 10px;
}

.burger {
  display: block;
}

.logo {
  margin: 0 auto;
}
}

.started-wrapper {
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}