.site-index {
    background-color: #f8fdf8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jumbotron {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%) !important;
    color: white;
    padding: 4rem 2rem !important;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.jumbotron h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.jumbotron .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
}

.btn-success:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.4);
}

.carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.carousel-item img {
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.carousel-item:hover img {
    filter: brightness(1);
}

.carousel-indicators button {
    background-color: #2e7d32;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-indicators button.active {
    background-color: white;
    border: 2px solid #2e7d32;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(46, 125, 50, 0.8));
    border-radius: 10px;
    padding: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
}

.carousel-caption h5 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    color: #f5f5f0;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 125, 50, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #2e7d32;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem !important;
    }

    .jumbotron h1 {
        font-size: 2rem;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

.body-content {
    position: relative;
}

.body-content::before {
    content: "🌱";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: #f8fdf8;
    padding: 0 20px;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jumbotron {
    animation: fadeInUp 0.8s ease-out;
}

.carousel-item {
    animation: fadeInUp 0.5s ease-out;
}

.display-4 {
    color: white;
}

.lead {
    color: rgba(255, 255, 255, 0.9);
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

h1 {
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    color: #1a1a1a;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.admin-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #2e7d32;
    border-color: #2e7d32;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
    color: white;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.4);
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

.reg {

    padding: 2rem;
    border-radius: 15px;


}

.zagolovok h2,
.zagolovok h3 {
    color: #2e7d32;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.form-horizontal .form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

.custom-control-label {
    color: #1a1a1a;
}

.form-create-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background-color: #2e7d32;
    border-color: #2e7d32;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.4);
}

.form-create-user a {
    color: #2e7d32;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-create-user a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.apps {
    background-color: #f8fdf8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
    margin: 2rem 0;
}

.app {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4caf50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app h5 {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 1rem;
}

.app p {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.app hr {
    border-color: #4caf50;
    margin-top: 1rem;
    opacity: 0.3;
}

.radio-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-list .radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-list input[type="radio"] {
    accent-color: #2e7d32;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

@media (max-width: 768px) {
    .reg {
        padding: 1rem;
    }

    .apps {
        padding: 1rem;
    }

    .app {
        padding: 1rem;
    }

    .radio-list {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
