
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;1,400&family=Raleway:wght@500&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;1,400;1,700&family=Raleway:wght@500&display=swap');

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #222;
}

img {
    max-width: 100%;
}

.italic {
    font-style: italic;
}

.heading {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}


.header {
    /* background-color: #f8f9fa; */
    background-image: linear-gradient(#372723, #58423c);
    padding: 15px;
    border-bottom: 2px solid #e9ecef;
}

.header .phone{
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .phone:hover {
    color: #3498db;
    text-decoration: none;
}

.header .phone i {
    margin-right: 8px;
    color: #fff;
}

.header .logo {
    max-width: 196px;
}

.hero .title {
    font-size: 27px;
    margin: 25px 0;
    line-height: normal;
    font-weight: bold;
}

/* .hero . */

.hero .hero_image {
    background-image: url('../images/hero_image.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 200%;
    width: 200%;
    position: relative;
    left: -200px;
    top: -200px;
}

@media screen and (max-width: 768px) {
    .hero .hero_image {
        background-image: url(../images/hero_image.png);
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        width: 100%;
        left: 0;
        top: 20px;
    }
}

/* .line_bg {
    height: 6px;
    background-color: #636061;
    width: 100%;
    position: relative;
    top: 50%;
}
.line_bg .line {
    height: 6px;
    background-color: #636061;
    width: 100%;
    position: relative;
    top: 50%;
} */



.heading_line {
    overflow: hidden;
    text-align: center;
    font-size: 29px;
    position: relative;
    z-index: 9;
}
  
.heading_line span {
    display: inline-block;
    vertical-align: middle;
}

.heading_line:before,
.heading_line:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 3px;
    background-color: #636061;
    position: relative;
}

.heading_line:before {
    margin-left: -100%;
    left: -11px;
}

.heading_line:after {
    margin-right: -100%;
    right: -11px;
}

.heading_line .order_btn {
    background-color: #46342f;
    background-image: linear-gradient(#856c66, #46342f);
    padding: 20px 80px;
    font-size: 40px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    border-radius: 15px;
}

@media screen and (max-width: 768px) {
    .heading_line {
        font-size: 18px;
    }
    .heading_line .order_btn {
        padding: 8px 35px;
        font-size: 33px;
    }
}

.slider .slide {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Современные стрелки для всех слайдеров */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 0;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

/* Создаем стрелки через CSS */
.slick-prev:before, .slick-next:before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    display: block;
}

.slick-prev:before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.slick-next:before {
    transform: rotate(45deg);
    margin-right: 3px;
}

/* Старые стили для slick-dots удалены - заменены на современные линии ниже */

/* Минималистичный дизайн блока "Почему нас выбирают" */
.icon_split {
    padding: 40px 0;
    background: #f8f9fa;
}

.icon_box {
    padding: 20px 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.icon_box .icon {
    font-size: 32px;
    color: #372723;
    margin-bottom: 12px;
    display: block;
}

.icon_box .icon_text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #6c757d;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .icon_split {
        padding: 30px 0;
    }
    
    .icon_box {
        margin-bottom: 15px;
        padding: 15px 12px;
    }
    
    .icon_box .icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .icon_box .icon_text {
        font-size: 14px;
    }
}

.angle_bg {
    width: max-content;
    padding: 35px;
    background-image: url('../images/angle_left.png'), url('../images/angle_right.png');
    background-position: top left, bottom right;
    background-repeat: no-repeat, no-repeat;
    background-size: 80px 80px, 80px 80px;
}

.top-left-angle {
    position: relative;
    top: 0;
    left: 0;
}

.bottom-right-angle {
    position: relative;
    bottom: 0;
    right: 0;
}

@media screen and (max-width: 768px) {
    .angle_bg {
        max-width: 100%;
    }
}

.welcome_text {
    max-width: 600px;
    margin: auto;
    font-weight: bold;
}

/* Футер в стиле сайта */
.site-footer {
    background-image: linear-gradient(#372723, #58423c);
    color: #fff;
    position: relative;
}

/* .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8c00 100%);
} */

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 50px 0 30px;
    align-items: start;
}

/* Секция бренда */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 140px;
    height: auto;
    filter: brightness(1.1);
}

.footer-description {
    color: #f8f9fa;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* Заголовки секций */
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
}

/* Контакты */
.footer-contacts {
    
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    color: #fff;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-link {
    color: #f8f9fa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

/* Социальные сети */
.footer-social {
    
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    color: #e9ecef;
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 25px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
        padding: 30px 0 20px;
    }
    
    .footer-logo-img {
        width: 120px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

#imgModal .modal-header {
    border-bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
}
#imgModal .modal-content {
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    border: none;
}

/* Полупрозрачный фон модального окна */
#imgModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* #imgModal.modal {
    background-color: rgba(0, 0, 0, 0.5) !important;
} */
#imgModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
}

#imgModal #modalImage {
    max-height: calc(100vh - 60px);
    object-fit: contain;
    width: auto !important;
    height: auto !important;
}

/* Navigation buttons for modal */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: none;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background-color: rgba(255, 255, 255, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev-btn {
    left: 20px;
}

.modal-next-btn {
    right: 20px;
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-nav-btn:disabled:hover {
    transform: translateY(-50%);
}

/* White close button for modal */
#imgModal .btn-close {
    background: none;
    border: none;
    color: white !important;
    font-size: 1.5rem;
    opacity: 1;
    filter: invert(1);
}

#imgModal .btn-close:hover {
    opacity: 0.8;
}

/* Стили для всех слайдеров с центральным выделением */
.slider .slick-slide {
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.slider .slick-slide.slick-center {
    opacity: 1;
    transform: scale(1);
}

/* Удалены старые стили - используются новые универсальные стрелки */

/* Современная навигация слайдеров - линии */

/* Основные стили для контейнера точек */
.slick-dotted.slick-slider .slick-dots {
    position: absolute !important;
    bottom: -20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    gap: 8px !important;
}

.slick-track {
    display: flex;
}
.slick-slide {
    height: auto;
}

/* Стили для элементов списка */
.slick-dotted.slick-slider .slick-dots li {
    position: relative !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

/* Стили для кнопок */
.slick-dotted.slick-slider .slick-dots li button {
    font-size: 0 !important;
    line-height: 0 !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: transparent !important;
    border: 0 !important;
    outline: none !important;
    background: rgba(51, 51, 51, 0.5) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

/* Состояние при наведении */
.slick-dotted.slick-slider .slick-dots li button:hover,
.slick-dotted.slick-slider .slick-dots li button:focus {
    outline: none !important;
    background: rgba(51, 51, 51, 0.8) !important;
    transform: scale(1.2) !important;
}

/* Активное состояние */
.slick-dotted.slick-slider .slick-dots li.slick-active button {
    background: #333 !important;
    transform: scale(1.3) !important;
}

/* Убираем псевдоэлементы ::before */
.slick-dotted.slick-slider .slick-dots li button:before {
    display: none !important;
}

/* Call to Action Section with Parallax */
.cta-section {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 100px;
}

.cta-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.cta-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.cta-subtitle {
    color: #f8f9fa;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}



.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: #000;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ff8c00, #ffc107);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-section {
        min-height: 50vh;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .cta-contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-section {
        min-height: 40vh;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Workflow Section Styles */
.workflow-section {
    background: #f8f9fa;
}

.workflow-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.workflow-number {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #372723;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.75rem;
}

.workflow-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem;
    background: #372723;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-icon i {
    font-size: 1.2rem;
    color: white;
}

.workflow-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.workflow-description {
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .workflow-card {
        padding: 0.8rem;
    }
    
    .workflow-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.6rem;
    }
    
    .workflow-icon i {
        font-size: 1rem;
    }
    
    .workflow-number {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        top: 6px;
        right: 6px;
    }
    
    .workflow-title {
        font-size: 0.8rem;
    }
    
    .workflow-description {
        font-size: 0.7rem;
    }
}

/* Responsive slider styles for tablets */
@media (max-width: 1024px) {
    .slider .slick-slide {
        margin: 0 !important;
        padding: 0 5px !important;
        transform: scale(0.85) !important;
        transition: all 0.3s ease !important;
    }
    
    .slider .slick-slide.slick-center {
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 2 !important;
        position: relative !important;
    }
    
    .slider .slick-list {
        overflow: hidden !important;
    }
    
    .slick-dotted.slick-slider .slick-dots {
        bottom: -40px !important;
    }
}

/* Responsive slider styles for mobile devices */
@media (max-width: 768px) {
    .slider .slick-slide {
        margin: 0 !important;
        padding: 0 3px !important;
        opacity: 0.3 !important;
        transform: scale(0.8) !important;
        transition: all 0.3s ease !important;
    }
    
    .slider .slick-slide.slick-center {
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 2 !important;
        position: relative !important;
    }
    
    .slider .slick-list {
        overflow: hidden !important;
    }
    
    .slick-dotted.slick-slider .slick-dots {
        bottom: -35px !important;
        gap: 6px !important;
    }
    
    .slick-dotted.slick-slider .slick-dots li button {
        width: 10px !important;
        height: 10px !important;
    }
    
    .slick-dotted.slick-slider .slick-dots li.slick-active button {
        transform: scale(1.2) !important;
    }
}

/* Responsive slider styles for small mobile devices */
@media (max-width: 480px) {
    .slider .slick-slide {
        margin: 0 !important;
        padding: 0 2px !important;
        opacity: 0.25 !important;
        transform: scale(0.75) !important;
        transition: all 0.3s ease !important;
    }
    
    .slider .slick-slide.slick-center {
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 2 !important;
        position: relative !important;
    }
    
    .slider .slick-list {
        overflow: hidden !important;
    }
    
    .slick-dotted.slick-slider .slick-dots {
        bottom: -30px !important;
        gap: 4px !important;
    }
    
    .slick-dotted.slick-slider .slick-dots li button {
        width: 8px !important;
        height: 8px !important;
    }
    
    .slick-dotted.slick-slider .slick-dots li.slick-active button {
        transform: scale(1.2) !important;
    }
    
    /* Hide arrows on very small screens */
    .slider .slick-prev,
    .slider .slick-next {
        display: none !important;
    }
}

/* Before After Sliders Styles */
.before-after-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
}

.before-after-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.before-after-slide {
    position: relative;
    /* border-radius: 15px; */
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
    margin: 20px 10px;
    transition: all 0.3s ease;
    background: #fff;
}

.before-after-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.before-after-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.before-after-slide:hover .before-after-label {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Специальные стили для меток "ПОСЛЕ" */
.before-after-slide .before-after-label[data-label="after"] {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
/* Поддержка метки ПОСЛЕ в модальном окне */
#imgModal .before-after-label[data-label="after"] {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.before-after-slide:hover .before-after-label[data-label="after"] {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Стили для изображений в слайдерах "до и после" */
.before-after-slide .slide-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.before-after-slide:hover .slide-img {
    transform: scale(1.02);
}

/* Заголовки секций */
.before-after-section h3 {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.before-after-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
    border-radius: 2px;
}

/* Адаптивные стили для слайдеров "до и после" */
@media (max-width: 768px) {
    .before-after-slide .slide-img {
        height: 300px;
    }
    
    .before-after-label {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .before-after-slide .slide-img {
        height: 250px;
    }
    
    .before-after-label {
        top: 8px;
        left: 8px;
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .before-after-section h3 {
        font-size: 1.3rem;
    }
}

/* Portfolio Slider Styles */
.portfolio-section {
    background-color: #f8f9fa;
}

.portfolio-slide {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.portfolio-slide .slide-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s ease;
}

/* Removed hover filter effect */

/* Removed portfolio overlay styles */

/* Center Mode Styles for Portfolio Slider */
.slider_portfolio .slick-slide {
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.slider_portfolio .slick-center {
    opacity: 1;
    transform: scale(1);
}

.slider_portfolio .slick-center .portfolio-slide {
    transform: scale(1);
}

.slider_portfolio .slick-center .portfolio-slide:hover {
    transform: scale(1.05);
}

/* Portfolio Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.portfolio-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-gallery {
    width: 100%;
    max-height: 80vh;
}

.portfolio-gallery .slide {
    text-align: center;
}

.portfolio-gallery .slide-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 5px;
}

.portfolio-modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.portfolio-modal .close:hover {
    color: #ccc;
}

.portfolio-modal-title {
    position: absolute;
    top: 20px;
    left: 35px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 10000;
}

/* Responsive styles for portfolio */
@media (max-width: 768px) {
    .portfolio-slide .slide-img {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h5 {
        font-size: 1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.8rem;
    }
    
    .portfolio-modal .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .portfolio-modal-title {
        top: 10px;
        left: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-slide .slide-img {
        height: 200px;
    }
    
    .portfolio-overlay {
        padding: 10px;
    }
    
    .portfolio-overlay h5 {
        font-size: 0.9rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.7rem;
    }
}



@media (min-width: 1025px) {
    .slider_portfolio {
        margin-bottom: 72px !important;
    }
    .slider_portfolio .slick-dots {
        bottom: -60px !important;
    }
}


