body {
    font-family: 'Montserrat', sans-serif;
    min-width: 320px;
    color: #1d1d1d;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

h3 {
    font-style: italic;
    font-size: 42px;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

h4 {
    font-weight: 600;
    font-size: 44px;
    margin-bottom: 20px;
}

.scrollToTop {
    position: fixed;
    bottom: 60px;
    right: 50px;
    border-radius: 4px;
    display: none;
    font-size: 32px;
    height: 50px;
    width: 50px;
    z-index: 10001;
    color: #fff;
    transition: all 0.5s;
    background-color: #da1757;
    border: 0;
    cursor: pointer;
}
.scrollToTop:hover {
    background-color: #fff;
    text-decoration: none;
    outline: none;
    color: #da1757;
    border: 1px solid #da1757;
}

/* ===============================header=====================================*/

.main-header {
    background: url(../images/main.png) center no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 700px;
    position: relative;
}

.main-header .navbar-toggler {
    color: #fff;
}
.main-header .navbar-brand,
.main-header ul li a {
    color: #fff;
    font-weight: 600;
}
.main-header .navbar-brand {
    font-size: 41px;
}
.main-header ul li a {
    font-size: 17px;
}

.main-header ul li a::after {
    content: '';
    display: block;
    width: 100%;
    background-color: #fff;
    height: 1px;
    transform: scale(0);
}
.main-header ul li a:hover::after {
    transform: scale(100%);
    transition: all 0.5s;
}

.main-header-text {
    position: absolute;
    top: 25%;
    left: 12%;
    max-width: 600px;
    color: #fff;
    padding: 20px;
}

.main-header-buttons {
    padding-left: 30px;
}

.btn {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.main-header-buttons .btn {
    height: 60px;
    padding-left: 40px;
    padding-right: 40px;
    margin-right: 20px;
    margin-top: 30px;
    opacity: 0.8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.5s;
}
.main-header-buttons .btn:hover {
    color: #fff;
    opacity: 1;
}

.btn-pink {
    background-color: #f42267;
}

.btn-violet {
    background-color: #69328e;
}

/*================================section watch=========================================*/

.section-watch {
    background: url(../images/world.png) center no-repeat;
    background-size: cover;
}

.section-watch h3,
.section-watch h4 {
    color: #484848;
}

.section-tabs .nav-pills .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 30px;
    color: #484848;
}
.section-tabs .nav-pills {
    margin-bottom: 20px;
}
.section-tabs .nav-pills .nav-item .nav-link.active {
    background-color: #f42267;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-shadow {
    box-shadow: 0 10px 0 #ff5990;
    border-radius: 10px;
    padding: 10px 25px;
    transition: all 0.5s;
}
.btn-shadow:hover {
    box-shadow: 0 5px 0 #ff5990;
    color: #fff;
    background-color: #da1757;
}

/*================================section progress===============================*/
.section-progress {
    background-color: #4b2d7f;
    color: #fff;
    font-size: 15px;
    padding: 0;
}
.section-progress i {
    font-size: 70px;
}

.section-progress .num {
    font-size: 50px;
    font-weight: 600;
    margin: 30px 0 20px;
}

.section-progress h4 {
    font-size: 30px;
    height: 72px;
    overflow: hidden;
}
.section-progress .progress-item {
    padding-top: 80px;
    padding-bottom: 80px;
    transition: all 0.5s;
}
.section-progress .progress-item:hover {
    background-color: #40286a;
}
/*==================================== section-leta =============================*/

.section-leta {
    background: url(../images/big2.png) center no-repeat;
    background-size: cover;
    color: #fff;
}

/*=====================================section-design==================================*/

.section-design h3,
.section-design h4 {
    color: #484848;
}

.section-design h3 {
    font-size: 33px;
}

.section-design span i {
    font-size: 60px;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 32, 0.7) 0%,
        rgba(68, 26, 130, 0.8) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 15px;
}

.section-design h2 {
    font-size: 25px;
    font-weight: 600;
    color: #484848;
    margin: 10px 0;
}

.section-design p {
    font-size: 14px;
}

.embed-responsive {
    position: relative;
    border-radius: 10px;
}

/* Small Devaces,Tablets*/
@media only screen and (max-width: 768px) {
    .main-header-text {
        left: 0;
        margin: 0 20px;
    }
    h3,
    h4 {
        font-size: 30px;
    }

    .section-progress .progress-item {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/**====================================section work============================*/

.section-work {
    background-color: #f1f1f1;
}
.section-work .nav-pills {
    margin: 30px 0;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery a img {
    transition: all 0.5s;
}
.gallery a:hover img {
    box-shadow: 0 14px 30px -15px rgba(0, 0, 0, 0.75);
}
.gallery-item img {
    width: 100%; /* Полная ширина контейнера */
    height: 100%; /* Полная высота контейнера */
    object-fit: cover; /* Обрезка изображения для покрытия контейнера без искажений */
    display: block; /* Убирает нижние отступы изображения в некоторых браузерах */
}

/**====================================section review============================*/

.section-reviews {
    background: url(../images/testimonial_bg.png) center no-repeat;
    background-size: cover;
    padding-top: 20px;
    padding-bottom: 0;
}

.section-reviews .carousel-caption {
    top: 5%;
    bottom: auto;
    text-align: left;
}

.section-reviews .blockquote {
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    position: relative;
    padding-left: 40px;
    margin-top: 70px;
}

.section-reviews .blockquote::before {
    content: '\201C';
    float: left;
    font-size: 150px;
    font-weight: 500;
    font-style: italic;
    color: #f42267;
    position: absolute;
    top: -80px;
    left: -33px;
}
.carousel-item img {
    width: 100%; /* Полная ширина контейнера */
    height: 100%; /* Full height of the carousel container */
    max-height: 555px; /* Set the maximum height to match the tallest image */
    object-fit: contain; /* Adjust image within container without cropping */
    display: block;
    margin: 0 auto; /* Center image horizontally if there’s any extra space */
}
/*=====================================section-form==================================*/
.section-form {
    background: url(../images/help_bg.png) center no-repeat;
    background-size: cover;
    color: #fff;
}

.section-form h5 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-form form {
    margin-top: 50px;
}
.section-form .btn-violet {
    background-color: #4b2d7f;
}
.btn-violet .btn-shadow {
    box-shadow: 0 7px 0px #a57ee9;
}

.btn-violet .btn-shadow:hover {
    background: #3a2362;
    box-shadow: 0 5px 0px #a57ee9;
}

.section-form .form-control {
    height: 51px;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 20px;
}

.section-form .form-control::placeholder {
    color: #fff;
}

.section-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}
/*=====================================footer==================================*/

.footer {
    background: url(../images/world.png) center no-repeat;
    background-size: cover;
    padding: 100px 0;
}
.footer h5 {
    font-size: 25px;
    color: #4b2d7f;
    font-weight: 700;
}
.footer ul {
    list-style: none;
    padding-left: 10px;
}
.footer ul li a {
    font-size: 15px;
    font-weight: 600;
    color: #171717;
}
.footer-images img {
    margin-bottom: 20px;
    border-radius: 15px;
}

.copyright {
    background-color: #f6f6f6;
    padding: 50px 0;
}

.copyright a,
.copyright span {
    color: #171717;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.copyright a:hover {
    text-decoration: underline;
}

.copyright a::after,
.copyright span::after {
    content: '\00B7';
    position: absolute;
    right: -3px;
}
.copyright li:last-child a::after,
.copyright li:last-child span::after {
    content: '';
}

/*==============================Blog page====================================*/
/* Set a consistent size for all thumbnail images */
.section-content {
    padding: 40px 0;
}

.thumb {
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 150px; /* Set the width as desired */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images cover the given area without stretching */
    margin-left: 0 20px 20px 0; /* Add spacing between image and text */
    float: left; /* Align image to the right of the text */
}

/* Style for article preview */
.article-preview {
    border: 1px solid #ccc;
    padding: 20px;
    transition: all 0.5s;
    margin-bottom: 30px; /* Add spacing between articles */
}

.article-preview:hover {
    box-shadow: 0 14px 30px -15px rgba(0, 0, 0, 0.75);
}

.article-preview h2 {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 600;
}
.article-preview a {
    color: #484848;
    transition: all 0.5s;
}

.article-preview a:hover {
    color: #f42267;
    text-decoration: none;
}
.article-excerpt p {
    margin-bottom: 0;
}

.article-date {
    color: #da1757; /* Light color for date text */
    font-size: 13px;
    font-weight: 600;
}

.article-excerpt a {
    text-decoration: none;
    color: #da1757;
}

.article-excerpt a:hover {
    text-decoration: underline;
    color: #f42267;
}
.widget-categories ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget-categories ul li a {
    padding-left: 10px;
    font-size: 14px;
    color: #2f2f2f;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.5s;
}
.widget-categories ul li a:hover {
    color: #da1757;
}

.widget-title {
    color: #484848;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}
.widget-title::after {
    content: '';
    height: 2px;
    position: absolute;
    left: 0;
    top: 30px;
    width: 110px;
    background-color: #da1757;
}

/*=====================================media query==================================*/
/* Large Devaces, Wide Screnns*/
@media only screen and (max-width: 1200px) {
}

/* Medium Devaces, Desctops*/
@media only screen and (max-width: 992px) {
    .main-header-text {
        background-color: rgba(0, 0, 0, 0.3);
    }
    .main-header .navbar-nav {
        background: linear-gradient(45deg, #ed1b33 0%, #442e82 100%);
        position: relative;
        z-index: 1;
        padding: 0 15px;
        align-items: center;
    }
    .section-watch .nav-pills {
        justify-content: center;
    }

    section,
    .footer {
        padding: 50px 0;
    }

    .copyright {
        padding: 25px 0;
    }
    .section-reviews h3,
    .section-reviews h4 {
        font-size: 25px;
    }
    .section-reviews .blockquote {
        font-size: 17px;
        padding-left: 20px;
        margin-top: 40px;
    }

    .section-reviews .blockquote::before {
        font-size: 100px;
        top: -40px;
    }
}

@media only screen and (max-width: 770px) {
}

@media only screen and (max-width: 600px) {
    .main-header-text {
        top: 90px;
    }
    .main-header-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .main-header-buttons .btn:last-child {
        margin-top: 0;
    }

    .btn-shadow {
        box-shadow: 0 5px 0 #ff5990;
        border-radius: 10px;
        padding: 10px 15px;
        transition: all 0.5s;
    }
    .section-reviews .carousel-caption {
        position: static;
    }
}
@media only screen and (max-width: 576px) {
}

/* Extra small Devaces, Phones*/
@media only screen and (max-width: 480px) {
    .section-tabs .nav-pills .nav-link {
        padding: 8px 16px;
        text-align: center;
    }
    .section-tabs .nav-pills .nav-item {
        width: 100%;
    }
}
@media only screen and (max-width: 380px) {
    .main-header .navbar-brand {
        font-size: 30px;
    }
}
