/* Header Styles */
#main-header {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000; /* Wysoki z-index, aby menu było na wierzchu */
}

.navbar {
    padding: 15px 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #9F89D1;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}



.navbar-light .navbar-nav .nav-link.active {
    background-color: #9F89D1;
    color: white;
    border-radius: 5px;
    padding: 5px 15px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #9B51E0;
    background-color: rgba(155, 81, 224, 0.1);
}

/* Stylizacja menu mobilnego */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 24px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #9F89D1;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 6px;
}

.navbar-toggler-icon::after {
    bottom: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 10px;
        border-radius: 5px;
        
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        padding: 10px 15px;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f9f9f9;
    }

    .dropdown-item {
        padding: 10px 20px;
    }

    /* Map Section na telefonach */
    .map-container {
        text-align: center;
        margin-top: 20px; /* Resetowanie przesunięcia na telefonach */
    }

    .form-container {
        margin-bottom: 20px; /* Dodanie marginesu pod formularzem na telefonach */
    }
}

/* Hero Section Styles */



.hero-section {
    background-color: #9F89D1; /* Fioletowe tło */
    color: white;

    padding: 80px 20px;
    position: relative;
	overflow: hidden;
    z-index: 5;
}

.hero-section h1 {
    font-size: 2.5rem;
}

.hero-section h3 {
    font-size: 1.8rem;
}

.hero-section p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.woman-img {
    right: -20px;
    bottom: -325px;
    max-height: 500px;
    z-index: 1;
}

/* Map Section */
.map-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    position: relative;
}

.map-container {
    text-align: center;
    margin-top: -120px; /* Przesunięcie mapy na górę na większych ekranach */
}

.form-container {
    border-radius: 10px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-container p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

form label {
    font-weight: bold;
}

form .btn-primary {
    background-color: #9F89D1;
    border-color: #9F89D1;
}

form .btn-primary:hover {
    background-color: #9B51E0;
    border-color: #9B51E0;
}

footer {
    background-color: #f1f1f1;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.footer {
    background: linear-gradient(145deg, #1a1c23, #242730);
    color: #ffffff;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #9F89D1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #b4b6bb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6c5ce7;
    transform: translateY(-3px);
}

.newsletter-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.newsletter-input:focus {
    border-color: #6c5ce7;
    color: #ffffff;
    box-shadow: none;
}

.btn-subscribe {
    background: #6c5ce7;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(159, 137, 209, 0.2);
}

.footer-bottom a {
    color: #9F89D1;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* Instructor Section */
.instructor-section {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.instructor-section img {
    border-radius: 15px;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.instructor-section h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #9F89D1;
}

.instructor-section .text-muted {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555;
}

.instructor-section ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.instructor-section ul li i {
    font-size: 1.2rem;
    color: #9F89D1;
}

.instructor-section p {
    font-size: 1rem;
    line-height: 1.8;
}

.instructor-section .btn-primary {
    background-color: #9F89D1;
    border-color: #9F89D1;
}

.instructor-section .btn-primary:hover {
    background-color: #7D6DB5;
    border-color: #7D6DB5;
}

.instructor-section .btn-outline-primary {
    color: #9F89D1;
    border-color: #9F89D1;
}

.instructor-section .btn-outline-primary:hover {
    background-color: #9F89D1;
    color: white;
}



