

/* HERO */

#hero {
    width: 100%;
    height: 100vh;
    background: url("{% static 'assets/img/hero-bg.png' %}") top center no-repeat;
    background-size: cover;
    padding: 20px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
}
#hero h1 {
    font-family: 'Rubik', sans-serif;
    white-space: nowrap;
    font-size: 45px;
    font-weight: 700;
    line-height: 50px;
    color: #ffffff;
    margin-top: 100px;
}

#hero h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Button Styles */
.btn-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Custom Button Styling */
.btn-primary, .btn-outline-primary {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    color: #ffffff !important;
    padding: 10px 30px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.btn-primary {
    background-color: #F53838 !important;
    border: none !important;
}

.btn-outline-primary {
    border: 5px solid #F53838 !important;
    color: #ffffff !important;
    background: transparent;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: #d12727 !important;
    color: #ffffff !important;
}

/* Social Media Links */
.hero .social-links {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links .btn {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 27px 27px 0;
    background-color: #F53838;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.social-links .btn:hover {
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 1.0);
    padding: 30px 30px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Stats Item */
.stats-item {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border-right: 1px solid #ddd;
}
.stats-item:last-child {
    border-right: none;
}

/* Icon and Text */
.stats-icon {
    width: 55px;
    height: 55px;
    background-color: #fdecea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-text h3 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #0B132A;
}

.stats-text p {
    margin: 0;
    font-size: 14px;
    color: #4F5665;
}

.row {
    margin-top: 20vh !important;
}

@media (max-width: 1000px) {
    #hero h1, #hero h2, .btn-container {
        text-align: center;
        align-items: center;
    }

    .btn-container a {
        width: 90%;
        max-width: 300px;
    }
    /* Adjust stats section for mobile */
    .stats-section {
        width: 90%;
        padding: 20px 15px;
        bottom: 20px;
    }

    .btn-primary {
        align-self: center;
    }
    #hero h1 {
        font-size: 24px;
        line-height: 36px;
        white-space: normal;
        margin-top: 20px;
    }
    #hero h2 {
        font-size: 18px;
        line-height: 26px;
    }
    .stats-text h3 {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        color: #0B132A;
    }

    .stats-text p {
        margin: 0;
        font-size: 10px;
        color: #4F5665;
    }
    .stats-icon {
        width: 35px;
        height: 35px;
        background-color: #fdecea;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero .container {
        padding-top: 20px;
        padding-left: 70px;
        padding-right: 70px;
    }

    /* Adjust stats section positioning and padding for mobile */
    .stats-section {
        padding: 20px 15px;
    }

    .stats-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-right: none;
        padding: 15px 0;
    }

    /* Adjust button container on mobile */
    .btn-container {
        gap: 10px;
        padding-top: 20px;
    }
}

/* END HERO */
.horizontal-divider {
    display: flex;
    justify-content: center;
    padding: 20px 0; /* Adjust padding as needed */
    background: linear-gradient(to bottom, white 50%, #F8F8F8 50%);
}

/* Contact Us Section */
.contact-us {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px; /* Increased padding for height */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    width: 80%; /* Makes Contact Us section fit within the divider */
    gap: 20px;
}

/* Responsive Contact Us Text Styles */
.contact-text h2 {
    font-size: 2vw; /* Responsive font size for large screens */
    font-weight: 800;
    color: #333;
    margin: 0;
}

.contact-text p {
    font-size: 1vw; /* Responsive font size for description */
    color: #6e6d6d;
    margin-top: 10px;
}

/* Contact Us Button */
.contact-button .btn {
    padding: 25px 60px; /* Extra-large button padding */
    font-size: 2vw; /* Larger font size for button text */
    font-weight: 700;
    background-color: #F53838;
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 12px 25px rgba(245, 56, 56, 0.4); /* Stronger shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-button .btn:hover {
    transform: scale(1.15); /* Slightly larger on hover */
    box-shadow: 0 15px 30px rgba(245, 56, 56, 0.5);
}

/* Responsive styling adjustments for smaller screens */
@media (max-width: 1200px) {
    .contact-text h2 {
        font-size: 32px; /* Fixed size for smaller screens */
    }

    .contact-text p {
        font-size: 18px; /* Fixed size for smaller screens */
    }

    .contact-button .btn {
        font-size: 20px;
        padding: 20px 50px;
    }
}

/* Further adjustments for mobile screens */
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .contact-text h2 {
        font-size: 28px;
    }

    .contact-text p {
        font-size: 16px;
    }

    .contact-button .btn {
        width: 100%;
        font-size: 18px;
        padding: 15px 0; /* Center the button and adjust padding on mobile */
    }
}
      
      
/* INDEX */      
      /* Publications in Media Section */
        .media-section {
            padding: 60px 0;
            background-color: #f8f9fa;
            text-align: center;
        }
    
        .media-carousel {
    display: flex;
    overflow-x: scroll; /* Change from hidden to scroll */
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for a clean look */
}
.media-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Webkit browsers */
}
    
        .media-card {
            flex: 0 0 calc(33.333% - 20px);
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: left;
            cursor: pointer;
            border: 2px solid transparent;
            scroll-snap-align: start;
        }
    
        .media-card:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
            border: 2px solid #F53838;
        }
    
        .media-card img {
            width: 100%;
            border-radius: 15px 15px 0 0;
            height: 180px;
            object-fit: cover;
        }
    
        .media-card h3 {
            font-size: 18px;
            margin: 15px;
            font-weight: bold;
        }
    
        .media-card p {
            margin: 0 15px 15px 15px;
            font-size: 14px;
            color: #555;
        }
    
        .carousel-controls {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 10px;
            padding-right: 10px;
        }
    
        .carousel-button {
            background: #fff;
            border: 2px solid #F53838;
            padding: 8px;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
            color: #F53838;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .carousel-button:hover {
            background: #F53838;
            color: #fff;
        }
    
        .indicator {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-top: 10px;
        }
        .contact-us {
  display: flex;
  flex-direction: row; /* Горизонтальне вирівнювання за замовчуванням */
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 20px auto; /* Центрування секції */
  gap: 20px;
}

/* Адаптивність для маленьких екранів */
@media (max-width: 768px) {
  .contact-us {
    flex-direction: column; /* Стає вертикальною на малих екранах */
    text-align: center;
  }

  .contact-button {
    width: 100%; /* Кнопка розтягується на всю ширину */
  }

  .btn {
    width: 100%; /* Кнопка займає всю ширину блоку */
  }
}



/* END INDEX */
/* HEADER */


.header.fixed-top {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)) !important; /* Transparent with gradient */
    z-index: 99;
    height: 226px; /* Set fixed height */
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    /* vertical-align: middle; */
    padding: 0;
}
.offcanvas-logo {
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 240px; /* Adjust width */
        height: auto;
    }
/* Updated padding for navbar items */
.navbar-nav .nav-link {
    color: #000000 !important; /* Set text color to black */
    font-weight: bold;
    padding: 10px 20px; /* Adjusted padding for better spacing */
}

/* Add padding/margin to the nav items around the logo */
.navbar-nav .nav-item:nth-child(3) {
    margin-right: 120px; /* Adds space before the logo */
}
.navbar-nav .nav-item:nth-child(4) {
    margin-left: 200px; /* Adds space after the logo */
}
.nav-item {
    margin-top: 35px; /* Adds space after the logo */
}

/* Ensure navbar items are centered around the logo */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center; /* Ensure vertical alignment with the logo */
    width: 100%;
}
.navbar-brand-center {
visibility:hidden;
}
/* Adjust padding and position for the logo */
.navbar-brand {
    position: relative;
    left: 0;
    transform: translateX(0);
    z-index: 100; /* Ensure the logo remains on top */
    height: auto; /* Maintain aspect ratio */
}
.navbar-brand-center {
    display: none;
}
.navbar-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 240px;
    height: auto;
}
/* Adjust for small screens */
@media (max-width: 1000px) {
    .navbar-brand-center {
visibility:visible;
}
    
    .navbar-brand {
        display:flex !important; /* Hide logo in mobile offcanvas mode */
    }
    .navbar-brand-center {
        display: flex;
    }

    /* Remove margins for mobile */
    .navbar-nav .nav-item:nth-child(3),
    .navbar-nav .nav-item:nth-child(4) {
        margin: 0 !important;
    }

    /* Properly display offcanvas menu */
    .offcanvas.offcanvas-start {
        width: 100%;
    }

    /* Center navigation items in offcanvas */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%; /* Full height */
    }

    /* Move the navbar-toggler (hamburger) button to the left */
    .navbar-toggler {
        position: fixed;
        left: 15px; /* Move the button to the left */
        top: 30px;
        z-index: 101; /* Ensure the button stays on top */
    }

    /* Align the close button to the left */
    .offcanvas-header .btn-close {
        position: absolute;
        left: 15px;
        top: 15px;
        z-index: 102;
    }

    /* Transimpex logo at the top of the menu */
    .offcanvas-logo {
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px; /* Adjust width */
        height: auto;
    }
}
/* Make the offcanvas fullscreen */
.offcanvas.offcanvas-start {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fix navbar-toggler button overlap issue with logo */
.navbar-toggler {
    z-index: 101; /* Ensure the button stays on top */
}

.dropdown-menu {
background-color: rgba(0, 0, 0, 0.3) !important; /* Semi-transparent dark gray */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
border: none; /* Remove border if needed */
backdrop-filter: blur(5px); /* Optional blur for modern browsers */
text-align: center; /* Center text inside the dropdown */
}

.dropdown-menu .dropdown-item {
color: #ffffff !important; /* White text */
text-align: center; /* Center text for each dropdown item */
padding: 10px 20px; /* Add padding for better spacing */
}

.dropdown-menu .dropdown-item:hover {
background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent light background for hover */
color: #e63946 !important; /* Red hover text */
}

/* END HEADER */

/* ABOUT */

#about {
    padding: 50px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    text-align: center;
}

#about .container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

.about img {
    min-width: 300px;
    width: 100% !important;
    height: auto !important;
    max-width: 900px !important; /* Larger image for desktop */
    border-radius: 10px !important;
    object-fit: cover !important;
}

.about .content {
    text-align: left !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.about .content h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #0B132A !important;
    margin-bottom: 20px !important;
    font-family: 'Rubik', sans-serif !important;
    text-align: left;
}

.about .content p {
    text-align: left;
    font-size: 14px !important;
    color: #4F5665 !important;
    margin-bottom: 20px !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
}

.about .service-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    text-align: left !important;
}

.about .service-list li {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #4F5665 !important;
    margin-bottom: 15px !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 400 !important;
}

.about .service-list li img {
    min-width: 20px;
    margin-right: 10px !important;
    width: 20px !important;
    height: 20px !important;
}

.details-btn {
    margin-top: 20px !important;
    padding: 18px 62px !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 85, 0, 1) 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Rubik', sans-serif !important;
    text-decoration: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    text-align: left !important; /* Align left on desktop */
}

.details-btn:hover {
    background: linear-gradient(90deg, rgba(255, 85, 0, 1) 0%, rgba(255, 140, 0, 1) 100%) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}
        /* Responsive Layout */
        @media (max-width: 992px) {
            #about {
                flex-direction: column !important;
                text-align: left !important;
            }

            .about .content {
                text-align: left !important;
                padding: 10px !important;
            }

            .about .service-list {
        text-align: left !important;
    }
    .details-btn {
        margin: 20px auto !important; /* Center button on mobile */
        text-align: center !important;
        padding: 12px 12px !important;
        width: 100%; /* Full width button on mobile */
    }
    .about img {
        max-width: 100% !important; /* Full width image on mobile */
    }

            .about .content h2 {
                font-size: 32px !important;
            }

            .details-btn {
                margin: 0 auto !important;
            }
        }

        @media (max-width: 576px) {
            .about .content h2 {
                font-size: 28px !important;
            }

            .about img {
                max-width: 100% !important;
            }
        }
        /* Container Styles */
        #certificates {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
    position: relative; /* Allows absolute positioning inside */
}

        #certificates h2 {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #1a1a1a;
        }
        .certificate-slider {
    max-width: 90%;
    max-height: 70%;
    margin: 0 auto;
    padding-bottom: 60px !important; /* Space for pagination */
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 20px; /* Adjusts the distance from the bottom of the section */
    left: 0;
    right: 0;
    margin: 0 auto;
}

.swiper-slide {
    padding: 0 10px; /* Ensure consistent padding within each slide */
}

.certificate-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block; /* Ensures the card size matches the image */
    width: auto;
}

.certificate-card img {
    display: block; /* Removes any whitespace below the image */
    width: 100%;
    height: auto; /* Makes the image height responsive to its width */
    border-radius: 10px;
    object-fit: cover;
    max-height: 580px; /* Max height constraint to keep layout balanced */
}



/* Custom Indicators */
.swiper-pagination-bullet {
    width: 20px !important;
    height: 20px !important;
    background-color: #000000c4 !important;
    border: 2px solid #fff !important;
    opacity: 1;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #E42320, #FFD500) !important; /* Gradient for active state */
    transform: scale(1.2);
}

        /* Modal Styling */
        .modal-backdrop {
            background: rgba(0, 0, 0, 0.8);
        }

        .fullscreen-modal .modal-content {
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fullscreen-modal img {
            max-height: 90vh;
            width: auto;
            display: block;
            margin: 0 auto;
        }

        .fullscreen-modal .close {
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 30px;
            color: white;
            cursor: pointer;
        }

        /* Map Section */
        #past-projects {
            padding: 60px 0;
            text-align: center;
            background-color: #ffffff;
        }

        #past-projects h2 {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #1a1a1a;
        }

        .map-container {
            position: relative;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .map-container img {
            width: 100%;
            height: auto;
        }

        .map-marker {
            position: absolute;
            transform: translate(-50%, -50%);
            background-color: rgba(230, 57, 70, 0.8);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            transition: transform 0.2s;
        }

        .map-marker:hover {
            transform: scale(1.2);
        }
    
/* END ABOUT */

/* BLOG */

.media-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.media-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.media-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.media-card {
    min-width: 280px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    cursor: pointer;
}

.media-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.media-card img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.media-card h3 {
    font-size: 18px;
    margin: 15px;
    font-weight: bold;
}

.media-card p {
    margin: 0 15px 15px 15px;
    font-size: 14px;
    color: #555;
}

.media-card a {
    display: block;
    margin: 0 15px 15px 15px;
    color: #e63946;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.media-card a:hover {
    color: #d62828;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-button {
    background: #e63946;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    color: #fff;
}

.carousel-button:hover {
    background: #d62828;
}

/* Sidebar */
/* Sidebar */
.sidebar {
    padding: 2rem;
    margin: 0 0 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #555;
    background: #f9f9f9;
    border-radius: 8px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #e63946;
}

.sidebar-item {
    margin-bottom: 30px;
}

.sidebar-item.search-form form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 3px 10px;
    position: relative;
    border-radius: 4px;
}

.sidebar-item.search-form form input[type="text"] {
    border: 0;
    padding: 4px;
    border-radius: 4px;
    width: calc(100% - 40px);
    color: #555;
}

.sidebar-item.search-form form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: #e63946;
    color: #fff;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s;
}

.sidebar-item.search-form form button:hover {
    background: #d62828;
}

.sidebar-item.categories ul {
    list-style: none;
    padding: 0;
}

.sidebar-item.categories ul li + li {
    padding-top: 10px;
}

.sidebar-item.categories ul a {
    color: #e63946;
    transition: color 0.3s;
}

.sidebar-item.categories ul a:hover {
    color: #d62828;
}

.sidebar-item.categories ul a span {
    padding-left: 5px;
    color: #555;
    font-size: 14px;
}

.sidebar-item.recent-posts .post-item + .post-item {
    margin-top: 15px;
}

.sidebar-item.recent-posts img {
    width: 80px;
    float: left;
    border-radius: 4px;
}

.sidebar-item.recent-posts h3 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    color: #e63946;
}

.sidebar-item.recent-posts h3 a {
    color: #e63946;
    transition: color 0.3s;
}

.sidebar-item.recent-posts h3 a:hover {
    color: #d62828;
}

.sidebar-item.recent-posts time {
    display: block;
    margin-left: 95px;
    font-style: italic;
    font-size: 14px;
    color: #555;
}

.sidebar-item.tags ul {
    list-style: none;
    padding: 0;
}

.sidebar-item.tags ul li {
    display: inline-block;
}

.sidebar-item.tags ul a {
    color: #e63946;
    font-size: 14px;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid #d7e6ff;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-item.tags ul a:hover {
    color: #fff;
    background: #d62828;
    border-color: #d62828;
}

/* Blog Section */
.blog {
    padding: 40px 0 20px 0;
    color: #555;
    background: #f9f9f9;
}

.blog .entry {
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
}

.blog .entry .entry-img {
    max-height: 440px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blog .entry .entry-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #e63946;
}

.blog .entry .entry-title a {
    color: #e63946;
    text-decoration: none;
    transition: color 0.3s;
}

.blog .entry .entry-title a:hover {
    color: #d62828;
}

.blog .entry-meta {
    margin-bottom: 15px;
    color: #555;
}

.blog .entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .entry-meta ul li {
    padding-left: 20px;
}

.blog .entry-content p {
    line-height: 24px;
    color: #555;
}

.blog .entry-content .read-more a {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 6px 20px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.blog .entry-content .read-more a:hover {
    background: #d62828;
}

.blog .blog-pagination ul {
    display: flex;
    padding: 0;
    list-style: none;
}

.blog .blog-pagination li {
    margin: 0 5px;
    transition: background-color 0.3s;
}

.blog .blog-pagination li a {
    color: #e63946;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
    background: #e63946;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
    color: #fff;
}

/* Layout */
.container {
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.blog .col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.blog .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

/* Carousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-button {
    background: #e63946;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background: #d62828;
}

/*SERVICES DETAILS*/

/* Services Details */
.services-details {
    padding: 40px 0 20px 0;
    background: #f9f9f9;
    color: #555;
}

.services-details .entry {
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
}

.services-details .entry .entry-img {
    max-height: 440px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.services-details .entry .entry-title {
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0;
    color: #e63946;
}

.services-details .entry .entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.services-details .entry .entry-meta ul li {
    margin-right: 15px;
    color: #777;
}

.services-details .sidebar {
    padding: 2rem;
    margin: 0 0 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #555;
    background: #fff;
    border-radius: 8px;
}

.services-details .sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e63946;
}

.services-details .sidebar .categories ul {
    list-style: none;
    padding: 0;
}

.services-details .sidebar .categories ul li + li {
    margin-top: 10px;
}

.services-details .sidebar .categories ul li a {
    color: #e63946;
    text-decoration: none;
    transition: color 0.3s;
}

.services-details .sidebar .categories ul li a:hover {
    color: #d62828;
}


