:root {
    --main-color: #ED1D24;
    --white-color: #ffffff;
    --black-color: #2A283E;
    --navber-color: #424155;
    --paragraph-color: #818090;
    --bg-color: #EEF4F8;
    --transition: .4s all ease-in-out;
}

.main-responsive-menu {
    display: flex;
    align-items: center; /* Centers items vertically */
}

.logo {
    width: 200px;
    height: 70px;
    overflow: hidden; /* Hide any overflow */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img.logo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}
@media only screen and (max-width: 1199px) {
    .main-responsive-nav .logo {
        position: relative;
        z-index: 999;
        width: 100%;
    }
}
.copyright_area {
    background-color: #ED1D24;
    padding: 15px 0;
}
.go-top {
    position: fixed;
    cursor: pointer;
    top: 0;
    right: 15px;
    color: #fff;
    background-color: #ED1D24;
    z-index: 4;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .9s;
    transition: .9s;
    border-radius: 50%;
}
.main-navbar .navbar .navbar-nav .nav-item a.active {
    color: #ED1D24;
}
.text-primary {
    color: #ED1D24 !important;
}
a {
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out 0.1s;
    transition: all 0.3s ease-in-out 0.1s;
    outline: 0 !important;
    color: #ED1D24;
}

.breadcrumb .breadcrumb-item.active {
    color: #ED1D24;
}
.info-stats4 .info-icon i {
    font-size: 1.5rem;
    color: #ED1D24;
}
.page-wrapper .sidebar-wrapper .sidebar-menu ul li.active-page-link a i {
    color: #ED1D24;
}
.page-wrapper .sidebar-wrapper .sidebar-brand {
    margin: 0 0 1rem 0;
    background: #ED1D24;
    overflow: hidden;
}
.header .toggle-btns #pin-sidebar i, .header .toggle-btns #toggle-sidebar i {
    font-size: 1rem;
    font-weight: 600;
    color: #ED1D24;
}
.btn-primary {
    color: #ffffff;
    background-color: #ED1D24;
    border-color: #ED1D24;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.search_margin{
    margin-bottom: 50px;
}
.form-control {
    height: 50px;
    border: none;
    box-shadow: 0px 1px 13px 0px #0000000d;
    padding: 10px 22px;
    font-size: 16px;
    background: #e03c3314;
}
.gallery a {
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    display: block;
    margin: 0 0 15px 0;
    opacity: 1;
    padding: 3px;
    color: #ED1D24;
}
.btn-primary:hover {
    color: #ffffff;
    background-color: #ED1D24;
    border-color: #ED1D24;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
blog_card_wrapper{
    height: 100%!important;
}

.contact_info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_contact_item {
    margin-bottom: 10px;
}

.text_spacing {
    display: block;
    margin-top: 5px;
}

.footer_twitter_area {
    /* Add your existing styles here */
}

.footer_line_text {
    /* Add your existing styles here */
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ED1D24 !important;
}
/* Base styles for list items */
.topbar-list li {
    font-size: 16px; /* Default font size */
    padding: 10px; /* Default padding */
}

/* Styles for smaller screens */
@media (max-width: 768px) {
    .topbar-list li {
        font-size: 10px; /* Smaller font size */
        padding: 5px; /* Reduced padding */
    }
}

.Search_height{
    height: 35px!important;
}
@media (max-width: 767.98px) {
    .search-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .search-container {
        display: none;
    }
}

@media (min-width: 992px) {
    .search-container {
        display: block;
    }
}
/* Custom styles for the search input */
.search-container {
    width: 100%;
}

.search-input {
    width: 100%;
}
@media (max-width:768) {
    .search-input {
        padding: 3px 5px!important;
    }
}


@media (max-width: 767.98px) {
    .search-container {
        justify-content: flex-start !important; /* Align to the left */
    }

   
}

@media (min-width: 768px) {
    .search-container {
        justify-content: center !important; /* Center on tablet view */
    }

    .search-input {
        width: auto;
    }
}


.search_input_height{
    margin-top: -14px;
}
/* Responsive Margin and Padding */
.blog_card_wrapper {
    margin-bottom: 20px; /* Default margin between blog cards */
    /* padding: 15px; Padding inside each blog card */
}

@media (min-width: 576px) {
    /* Small devices (576px and up) */
    .blog_card_wrapper {
        margin-bottom: 30px;
        /* padding: 20px; */
    }
}

@media (min-width: 768px) {
    /* Medium devices (768px and up) */
    .blog_card_wrapper {
        margin-bottom: 40px;
        /* padding: 25px; */
    }
}

@media (min-width: 992px) {
    /* Large devices (992px and up) */
    .blog_card_wrapper {
        /* margin-bottom: 50px; */
        /* padding: 30px; */
    }
}

/* Adjustments for blog card heading and description */
.blog_card_heading h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog_card_text p {
    font-size: 1rem;
}

/* Styles for bottom boxed sections */
.blog_bottom_boxed {
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .blog_bottom_boxed {
        margin-bottom: 0;
    }
}
.box_margin{
    margin-bottom: 10px !important;
}
