/* Landing New Styles */
/* Note: Header navigation is handled by nav_landing.html template */

/* Ensure proper spacing and compatibility with Bootstrap */
.landing-new-content {
    padding-top: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4aa851 0%, #2d6b32 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 80px; /* Offset for fixed-top navigation */
    position: relative;
    z-index: 1;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #4aa851;
    padding: 1rem;
    border-radius: 1rem;
    border-style: dashed;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Hero background image will be set inline in HTML */

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #4aa851;
    position: relative;
    padding-bottom: 1rem;
}

.service-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #4aa851;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 0;
}

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-link {
    color: #4aa851;
    text-decoration: none;
    font-weight: 500;
}

.service-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-section {
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 6vw;
}

.contact-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

@media all and (min-width: 1500px) {
    .contact-container {
        margin-left: 2vw;
        max-width: 1500px;
        margin: 0 auto;
    }
}

@media all and (max-width: 1023px) {
    .contact-container {
        margin: 0 5vw;
        padding: 0;
    }
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #4aa851;
}

.contact-form p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #4aa851;
    box-shadow: 0 0 0 0.2rem rgba(74, 168, 81, 0.25);
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: #4aa851;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #3d8a42;
}

/* Procedure Section - стили определены ниже */

.procedure-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.procedure-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #4aa851;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-description {
    color: #666;
    font-size: 0.9rem;
}

/* Advantages Section */
.advantages-section {
    background-color: #f8f9fa;
    padding: 2.5rem 0;
}

.advantages-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 6vw;
}

@media all and (min-width: 1500px) {
    .advantages-container {
        margin-left: 2vw;
        max-width: 1500px;
        margin: 0 auto;
    }
}

@media all and (max-width: 1023px) {
    .advantages-container {
        margin: 0 5vw;
        padding: 0;
    }
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.advantage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-content {
    flex: 1;
    padding-right: 1rem;
}

.advantage-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.advantage-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.advantage-image-wrapper {
    flex-shrink: 0;
}

.advantage-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advantage-item:hover .advantage-image img {
    transform: scale(1.15);
}

/* Team Section */
.team-section {
    margin-bottom: 1rem;
}

.team-container {
    max-width: 1500px;
    margin: 0 auto;
}

.block-team-title {
    margin: 2rem 0 0 1rem;
    font-size: 26px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: #444042;
}

.team-slider {
    position: relative;
    height: 700px;
}

.team-slide {
    padding: 0 15px;
}

.bg-image {
    height: auto;
    width: auto;
    border-radius: 0.5rem;
    overflow: hidden;
}

.bg-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.block-team-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 1rem;
    color: #333;
}

.block-team-text {
    height: 21rem;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.block-team-position {
    font-weight: 600;
    margin-bottom: 10px;
    height: 5rem;
    color: #4aa851;
}

.green-text {
    color: #4aa851;
}

/* Team slider arrows - иконки загружаются через основной CSS файл landing/css/style.css */
.team-slider .slick-arrow {
    position: absolute;
    top: 38%;
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
}

.team-slider .slick-prev {
    left: -50px;
}

.team-slider .slick-next {
    right: -50px;
}

.team-slider .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.team-slider .slick-dots li {
    margin: 0 15px;
}

/* Responsive for team */
@media all and (max-width: 1499px) {
    .block-team-text {
        height: 320px;
    }
}

@media all and (max-width: 1199px) {
    .block-team-text {
        height: 380px;
    }
    .block-team-position {
        margin-bottom: 10px;
        height: 5rem;
    }
    .team-slider .slick-prev {
        left: -30px;
    }
    .team-slider .slick-next {
        right: -30px;
    }
}

@media all and (max-width: 960px) {
    .block-team-text {
        height: 420px;
    }
}

@media all and (max-width: 768px) {
    .block-team-text {
        height: 260px;
    }
    .block-team-position {
        height: 65px;
    }
    .team-slider {
        height: auto;
    }
    .team-slider .slick-prev {
        left: -20px;
    }
    .team-slider .slick-next {
        right: -20px;
    }
}

@media all and (max-width: 540px) {
    .block-team-text {
        height: 180px;
    }
    .block-team-position {
        height: 45px;
    }
}

@media all and (max-width: 430px) {
    .block-team-text {
        height: 280px;
    }
    .block-team-position {
        height: 65px;
    }
}

/* Survey Section */
.survey-section {
    padding: 0;
    margin: 2.5rem 0;
}

/* Subscribe/Survey Section */
.subscribe-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.subscribe-item_dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.subscribe-item__content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 2.5rem 6vw;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.subscribe-item__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: white;
    font-family: Montserrat, sans-serif;
}

.subscribe-item__illustration {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    overflow: hidden;
}

.subscribe-item__pic {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.link-color-protected {
    color: inherit;
    text-decoration: none;
}

.btnComponent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
}

.btnComponent_darkSecondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btnComponent_darkSecondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btnComponent_iconRight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btnComponent svg {
    flex-shrink: 0;
}

/* Procedure Section */
.procedure-section {
    padding: 2.5rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.bg-block-5 {
    margin: 0;
    padding: 10px 0;
    background-color: #4aa851;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bg-block-5 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.collapse-lg {
    display: block;
}

@media all and (max-width: 768px) {
    .bg-block-5 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

@media all and (max-width: 1023px) {
    .subscribe-item {
        flex-direction: column;
        min-height: auto;
    }

    .subscribe-item__content {
        padding: 2rem 5vw;
    }

    .subscribe-item__illustration {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .subscribe-item__pic {
        position: relative;
        opacity: 0.5;
    }

    .subscribe-item__title {
        font-size: 22px;
    }
}

@media all and (max-width: 768px) {
    .subscribe-item__content {
        padding: 2rem 1.5rem;
    }

    .subscribe-item__title {
        font-size: 18px;
        margin-bottom: 1.5rem;
    }

    .btnComponent {
        padding: 0.75rem 1.5rem;
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #4aa851;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #4aa851;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        margin-top: 60px; /* Smaller offset for mobile navigation */
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .advantage-content {
        padding-right: 0;
    }

    .advantage-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-container {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Bootstrap compatibility overrides */
.landing-new-content .container {
    max-width: 1200px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure sections don't get hidden behind fixed nav */
section[id] {
    scroll-margin-top: 100px;
}


