@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero-parallax {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px 15px;
    height: 100vh; /* Pełna wysokość widoku */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ciemniejszy overlay dla lepszej widoczności */
    z-index: 1;
}

.hero-parallax .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.video-column .video-container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.video-column video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.description-column .description-content {
    padding: 15px;
    background: rgba(0, 0, 0, 0.6); /* Tło dla lepszej czytelności */
    color: white;
    border-radius: 10px;
    text-align: left;
    height: auto;
    width: 100%; /* Rozciągnięcie na całą szerokość kolumny */
}

.description-column h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.description-column p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description-column ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.description-column ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.description-column .btn-primary {
    background-color: #4f4fdb;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.description-column .btn-primary:hover {
    background-color: #3a3abf;
}

/* Navbar Custom Styles */
.navbar-custom {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-custom.scrolled {
    background-color: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container Überschriften */
.container h2 {
    font-weight: 500;
    color: #4f4fdb !important;
    padding: 25px;
    font-size: 55px;
}

/* Karten-Stile */
.card {
    border: solid 1px #FAFAFA !important;
    box-shadow: 0px 45px 33px -58px rgba(183, 183, 183, 1);
    padding-bottom: 25px !important;
}

.card-body {
    border: none !important;
}

.button {
    border: solid 1px #4f4fdb;
    padding: 10px;
    background: #4f78db;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    margin-top: 25px !important;
    display: block;
    max-width: 50%;
    margin: 0 auto;
    text-align: center;
}

.card-title {
    color: #4f4fdb !important;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}

.card-body img {
    max-width: 100%;
    border-radius: 10px;
}

.col-md-6 img {
    max-width: 100%;
    border-radius: 10px;
}

.c1 {
    color: #4f4fdb !important;
}

.toptext {
    color: var(--e-global-color-accent);
    font-family: "Poppins", Sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3em; 
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-parallax {
        height: auto; /* Dynamiczna wysokość na mniejszych ekranach */
        padding: 40px 15px;
    }

    .description-column .description-content {
        text-align: center; /* Centruj tekst na mniejszych ekranach */
    }

    .video-column .video-container {
        margin-bottom: 20px; /* Większy odstęp między elementami */
    }
}
.cwhite
{
    color: white!important;
}

.wave-section {
    width: 100%;
    height: 10vh;
    background-image: url('Wave@1x-4.2s-3000px-181px.svg');
    background-position: center;
    background-size: cover; /* Dopasowanie obrazu */
    background-repeat: no-repeat;
}

.wave-section2 {
    width: 100%;
    background-image: url('avioner2.svg');
    background-position: center;
    background-size: cover; /* Dopasowanie obrazu */
    background-repeat: no-repeat;
}

.wave-section3 {
    width: 100%;
    background-image: url('avioner3.svg');
    background-position: center;
    background-size: cover; /* Dopasowanie obrazu */
    background-repeat: no-repeat;
}

/* Statyczny Hero Section */
.hero-static {
    position: relative;
    height: 70vh; /* Zmniejszona wysokość */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #357dff; /* Statyczny niebieski kolor */
    overflow: hidden;
}

/* Kontener dla treści Hero */
.hero-static .container {
    position: relative;
    z-index: 2;
}

.hero-static .hero-text {
    color: white;
}

.hero-static .hero-text h1 {
    font-size: 2rem;
}

.hero-static .hero-text p {
    font-size: 1rem;
}

/* Parallax Fala */
.parallax-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('avioner.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    z-index: 1;
}

/* Efekt Parallax */
@media (prefers-reduced-motion: no-preference) {
    body, html {
        scroll-behavior: smooth;
    }
}

.hero-static .parallax-wave {
    background-attachment: fixed; /* Parallax Efekt */
}

/* Responsywność */
@media (max-width: 768px) {
    .hero-static {
        height: 40vh; /* Wysokość dynamiczna dla mniejszych ekranów */
    }
}
.card-text
{
    min-height: 11vh!important;
}

/* Nowe Sekcje */
#sections h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #4f4fdb;
}

#sections h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
}

#sections p {
    font-size: 1rem;
    color: #555;
}

#sections .btn-primary {
    background-color: #4f4fdb;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#sections .btn-primary:hover {
    background-color: #3a3abf;
}

#sections img {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

#sections img:hover {
    transform: scale(1.05);
}

/* Footer */
footer#footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer#footer p, footer#footer ul, footer#footer a {
    font-size: 0.9rem;
    color: #ddd;
}

footer#footer ul {
    list-style: none;
    padding: 0;
}

footer#footer ul li {
    margin-bottom: 0.5rem;
}

footer#footer ul li a:hover {
    text-decoration: underline;
}

/* Animacje Oscylacji */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition-property: opacity, transform;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

[data-aos-delay="600"] {
    transition-delay: 0.6s;
}

/* Dodatkowe style dla lepszej prezentacji */
#sections .row {
    margin-bottom: 2rem;
}

#sections .row:last-child {
    margin-bottom: 0;
}
/* Top Students Section */
#top-students h2 {
    color: #4f4fdb; /* Kolor tytułu */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#top-students p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
}

#top-students .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#top-students .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#top-students .card-img-top {
    height: 250px;
    object-fit: cover;
}
/* Our Most Popular Courses Section */
#popular-courses h2 {
    color: #4f4fdb; /* Kolor tytułu */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#popular-courses p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
}

#popular-courses .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#popular-courses .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#popular-courses .card-img-top {
    height: 200px;
    object-fit: cover;
}

#popular-courses .btn-primary {
    background-color: #4f78db;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#popular-courses .btn-primary:hover {
    background-color: #3a3abf;
}
