:root {
    --primary-blue: #007bff;
    --accent-teal: #20c997;
    --light-gray: #f8f9fa;
    --dark-charcoal: #212529;
    --dark-gray: #343a40;
    --white: #ffffff;
}

.swiper{
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
}
.portfolioSwiper{
    padding-bottom: 70px;
}
.termsCaveBox{
    padding: 20px 20px 40px 20px;
}

.noUi-marker-horizontal.noUi-marker-large, .noUi-value-large{
    display: none;
}

#hero .col-lg-8 > div{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;

}

#hero .col-lg-8 > div a{
    margin: 0px !important;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-charcoal);
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-accent-teal {
    color: var(--accent-teal) !important;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-dark-blue {
    background-color: var(--primary-blue);
}

.bg-dark-charcoal {
    background-color: var(--dark-charcoal);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: transparent;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Header/Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    color: var(--dark-charcoal);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/content/online-it-gusher-screens-pc-software-coding-developer-development-on-working.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    padding-top: 100px; /* Adjust for fixed header */
}

.hero-section h1 {
    color: var(--white);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* About Us Section */
.about-section .about-values li {
    margin-bottom: 10px;
    font-weight: 500;
}

.about-section img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.feature-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.feature-card i {
    font-size: 3.5rem;
}

/* How It Works Section */
.how-it-works-section .process-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
}

.how-it-works-section .process-card i {
    font-size: 3.5rem;
}

.howItWorksSwiper .swiper-slide {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.howItWorksSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-blue);
}

.howItWorksSwiper .swiper-button-next, .howItWorksSwiper .swiper-button-prev {
    color: var(--primary-blue);
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.portfolio-item img {
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.85); /* Primary blue with transparency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolioSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolioSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-blue);
}

.portfolioSwiper .swiper-button-next, .portfolioSwiper .swiper-button-prev {
    color: var(--primary-blue);
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
}

.testimonial-card .avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.testimonialSwiper .swiper-slide {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-blue);
}

.testimonialSwiper .swiper-button-next, .testimonialSwiper .swiper-button-prev {
    color: var(--primary-blue);
}

/* Pricing Section */
.nouislider-range {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 15px;
}

.noUi-connect {
    background: var(--primary-blue);
}

.noUi-handle {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    box-shadow: none;
}

.noUi-handle::before, .noUi-handle::after {
    display: none;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: var(--light-gray);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 0.25rem;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--white);
}

.accordion-body {
    background-color: var(--white);
    color: var(--dark-gray);
}

/* Contact Section */
.contact-section .card {
    border: none;
}

.contact-section .form-control {
    border-radius: 0.3rem;
    padding: 0.75rem 1rem;
}

.contact-section .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-charcoal);
    color: rgba(255, 255, 255, 0.7);
}

.footer-section h5 {
    color: var(--white);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section .social-icons a {
    font-size: 1.8rem;
    margin-right: 15px;
}

/* Utility classes for text color */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        margin-top: 10px;
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .hero-section {
        height: auto;
        min-height: 70vh;
        padding-top: 120px; /* More space for collapsed nav */
        padding-bottom: 60px;
    }

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

    .hero-section p {
        font-size: 1.1rem;
    }

    .display-5 {
        font-size: 2.5rem;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important; /* Hide nav buttons on small screens */
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .portfolio-item img {
        height: 300px;
    }

    .footer-section .col-md-4 {
        text-align: center;
    }

    .footer-section .social-icons {
        text-align: center;
        margin-top: 1rem;
    }

    .footer-section .list-unstyled {
        padding-left: 0;
    }

    .footer-section .list-unstyled li {
        text-align: center;
    }
}/* --- Новые стили для .termsCaveBox --- */

.termsCaveBox {
    padding-top: 50px; /* Отступ сверху */
    padding-left: 15px; /* Отступ слева */
    padding-right: 15px; /* Отступ справа */
    margin-bottom: 50px; /* Отступ снизу, чтобы следующий блок не прилипал */
    background-color: var(--white); /* Предполагаем, что белый фон для этого блока */
    border-radius: 0.5rem; /* Небольшой радиус скругления углов */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Легкая тень */
}

/* --- Новые стили для заголовков внутри .termsCaveBox --- */

.termsCaveBox h1 {
    font-size: 1.8rem; /* Меньше, чем стандартный h1, но заметный */
    margin-top: 0; /* Убираем стандартный верхний отступ, так как есть у .termsCaveBox */
    margin-bottom: 20px; /* Отступ после заголовка */
    color: var(--dark-charcoal); /* Цвет для заголовка */
}

.termsCaveBox h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--dark-charcoal);
}

.termsCaveBox h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.termsCaveBox h4 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--dark-gray); /* Чуть светлее, чем h1-h3 */
}

.termsCaveBox h5 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* --- Новые стили для параграфов внутри .termsCaveBox --- */

.termsCaveBox p {
    font-size: 1rem; /* Стандартный размер шрифта для текста */
    margin-bottom: 15px; /* Отступ после параграфа */
    color: var(--dark-gray); /* Цвет текста */
}

/* Убираем нижний отступ у последнего параграфа, если он идет перед другим блоком */
.termsCaveBox p:last-child {
    margin-bottom: 0;
}

/* --- Новые стили для списков внутри .termsCaveBox --- */

.termsCaveBox ul,
.termsCaveBox ol {
    padding-left: 25px; /* Отступ для маркеров/нумерации */
    margin-bottom: 15px; /* Отступ после списка */
}

.termsCaveBox ul li,
.termsCaveBox ol li {
    margin-bottom: 10px; /* Отступ между элементами списка */
    color: var(--dark-gray); /* Цвет текста элементов списка */
}

/* Убираем нижний отступ у последнего элемента списка, если он идет перед другим блоком */
.termsCaveBox ul li:last-child,
.termsCaveBox ol li:last-child {
    margin-bottom: 0;
}

/* Стиль для вложенных списков */
.termsCaveBox ul ul,
.termsCaveBox ol ol {
    margin-top: 10px; /* Отступ перед вложенным списком */
    margin-bottom: 10px;
}
