@font-face {
    font-family: 'BernierDistressed';
    src: url('../fonts/BERNIERDISTRESSED-REGULAR.OTF');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: black;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar-light .nav-link {
    color: rgb(43, 43, 43) !important
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'BernierDistressed', serif;
}

.navbar-nav {
    font-size: 1.2rem;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

/* мобилки ----------------------------------- */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        border: 1px solid grey;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 5px;
        padding: 10px;
    }

    .section-main .display-1 {
        font-size: 6rem !important;
    }
    .section-main .display-2 {
        font-size: 4.9rem !important;
    }
    
    .navbar-nav {
        align-items: center;
    }
    .top-bar-icons {
        justify-content: center;
        padding-right: 15px;
    }
    
    .top-bar-icons img {
        margin-left: 0;
        margin-right: -17px;
    }

    .brushes-img {
        position: absolute !important;
        bottom: -10px !important;
        left: 60px !important; 
        height: 150px !important;
        z-index: 10 !important;
    }
    .course-info {
        margin-top: -73px !important;
    }
    .info-card {
        height: 80px !important;
    }
    .info-card h5 {
        font-size: 1.1rem !important;
        margin-top: -15px !important;
    }
    
    .info-card p {
        font-size: 1rem !important;
    }
    
}
/* мобилки END ----------------------------------- */

.section-main .display-1 {
    margin-bottom: 0 !important;
    line-height: 1 !important;
    font-size: 7vw;
}
.section-main .display-2 {
    margin-bottom: 0 !important;
    line-height: 1 !important;
}
.section-main img {
    transform: scale(1.15) !important;
    margin-bottom: 50px;
}
.section-main ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.section-main ul li {
    position: relative;
    padding-left: 25px;
    color: black;
    margin-bottom: 10px;
}

.section-main ul li::before {
    content: "•";
    color: #f68147;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}
.pl-custom {
    padding-left: 80px;
    padding-top: 90px;
}

.brushes-img {
    position: absolute;
    bottom: -10px;
    left: 45px; 
    height: 220px;
    z-index: 10;
}

/* 2k ---------------------------------*/
@media (min-width: 2560px) {
    .section-main .container {
        min-height: calc(100vh - 200px);
        display: flex;
        align-items: center;
    }


    .section-main .display-1 {
        font-size: 7.9rem;
    }
    .section-main .display-2 {
        font-size: 6.5rem;
    }
    .section-main img {
        transform: scale(2.2) !important;
    }
    .section-main ul{
        font-size: 1.5rem;
    }
    .pl-custom {
        padding-left: 220px;
        padding-top: 120px;
    }
    .brushes-img {
        position: absolute !important;
        bottom: -110px !important;
        left: 60px !important; 
        height: 150px !important;
        z-index: 10 !important;
    }
    .course-info {
        margin-top: -290px !important;
    }
    
    .info-card {
        height: 140px;
    }
    
    .info-card h5 {
        font-size: 1.5rem;
    }
    
    .info-card p {
        font-size: 1.4rem;
    }
}
/* 2k ---------------------------------*/

/* планшеты ------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .section-main .row {
        padding-top: 150px !important;
        padding-bottom: 100px !important;
    }
    .course-info {
        margin-top: -117px !important;
    }
}
/* планшеты ------------------------- */

.btn-gradient {
    background: linear-gradient(to right, #f78e0c, #cf6029e3);
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    color: white;
}

.text-pale-blue {
    color: rgb(10, 106, 147);
    font-weight: normal;
}

.text-orange-darker {
    color: #c16d08;
}

/* блоки с инфой */
.course-info {
    position: relative;
    margin-top: -70px;
    z-index: 100;
    padding-bottom: 50px;
}

.info-card {
    border: 5px solid #f0c27d;
    background: url(../images/d.png);
    background-size: 100% 100%;
    padding: 20px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 120px;
}

.info-card h5 {
    font-size: 1.3rem;
}

.info-card p {
    font-size: 1.2rem;
    margin: -10px;
    color: #333;
}

/* для кого будет полезен курс ------------------------------------- */
.for-who-section {
    padding-bottom: 50px;
}

.text-block {
    background: url(../images/bg.jpg) center/cover no-repeat;
    border: 5px solid #f0c27d;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.text-block p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: black;
    margin: 0;
}

.sobor-block {
    border: 5px solid #f0c27d;
    overflow: visible;
    position: relative;
    z-index: 1;
    margin-left: -5px;
}

.sobor-block img {
    width: 100%;
    height: 80%;
    display: block;
}


.paints-popup {
    background: white;
    border: 2px solid rgb(10, 106, 147);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: calc(200% + 30px); /* ширина двух col-lg-3 + отступ между ними */
    margin-top: 15px;
}

.paints-header {
    background-color: rgb(238, 255, 255);
    padding: 8px 20px;
    font-size: 1.1rem;
    border: 2px solid rgb(10, 106, 147);
    border-radius: 20px;
    display: inline-block;
    margin: 15px 0 10px 30px;
}

.paints-body {
    padding: 20px;
}

.paints-list {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    text-align: left;
}

.paints-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: black;
}

.paints-list li::before {
    content: "•";
    color: #f68147;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

.material-item-p {
    font-weight: 550;
    font-size: 1.1rem;
}

.recommendations-only {
    text-align: center;
}

.recommendations-text {
    text-align: center; 
    font-weight: 550;
    padding-top: 10px;
    border-top: 5px solid #f4c8b2;;
    display: inline-block;
    width: 100%;
}

/* Тарифы ----------------------------------------------------*/
.tariffs-section {
    padding-bottom: 50px;
}

.tariff-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.tariff-header {
    background-color: rgb(10, 106, 147);
    color: white;
    padding: 20px;
    text-align: center;
}

.tariff-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.tariff-body {
    padding: 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tariff-list {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.tariff-list li {
    position: relative;
    padding-left: 25px;
    color: black;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tariff-list li::before {
    content: "•";
    color: #f68147;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.tariff-list li.strikethrough {
    text-decoration: line-through;
    color: #999;
}

.tariff-prices {
    text-align: center;
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.new-price {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.currency-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.currency-badge-rub {
    background-color: #c28051;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
}

.currency-badge-dollar {
    background-color: #d9ac8d;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
}

.currency-badge-rub,
.currency-badge-dollar {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.currency-badge-rub:hover,
.currency-badge-dollar:hover {
    opacity: 0.8;
}

.currency-badge-rub.active,
.currency-badge-dollar.active {
    background-color: #f68147;
    transform: scale(1.1);
}

.tariff-card .btn {
    margin-top: auto;
}

/* Тарифы ----------------------------------------------------*/


/* фак */
.faq-section {
    background: white;
}

.faq-item {
    border: 5px solid #edad82;
    margin-bottom: 20px;
    padding: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question-text {
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-question-text {
    color: #f68147 !important;
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(90deg);
    color: #f68147 !important;
}

.faq-answer {
    padding: 0 25px 20px;
}

.faq-answer p {
    color: black;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section h3 {
    font-family: 'BernierDistressed', serif;
    color: black;
    font-size: 2rem;
}

.privacy-section p {
    color: black;
    font-size: 1rem;
    margin-bottom: 10px;
}

.privacy-section a {
    color: rgb(10, 106, 147);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

.privacy-section {
    margin-bottom: 0;
    padding-bottom: 0;
}