/*
* ----------------------------------------------------------------------------------------
Author       : DuezaThemes
Author URL   : https://themeforest.net/user/duezathemes
Template Name: TRIBUNAL -  Lawyer, Law Firm and Legal Attorney Template
Version      : 1.0                                          
* ----------------------------------------------------------------------------------------
*/

/* Medium Layout: 1280px. */

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .align-items-center{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

    }
}


/* Tablet Layout: 768px. */

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .align-items-center{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

    }
    .mainmenu .navbar-nav li a {
        padding: 30px 11px;
        font-size: 12px;
    }
    .navbar-right {
        float: left !important;
        left: 50px;
        position: relative;
    }
    .single-blog-heading h2 {
        margin-top: 50px;
    }
    .menu-bg .mainmenu .navbar-nav li a {
        padding: 30px 11px;
        font-size: 12px;
    }
    .logo {
        text-align: center;
    }
    .single-logo {
        margin-top: 30px;
    }
    .single-blog img {
        width: 100%;
    }
    .pricing-box {
        margin-top: 30px;
    }
    .have-a-project-idea-white .project-idea h2,
    .have-a-project-idea-white .project-idea p {
        font-size: 22px;
    }
    .project-idea h2,
    .project-idea p {
        font-size: 22px;
    }
    .single-logo {
        width: 160px;
        margin: 0 auto;
    }
    .single-project-complete {
        margin-top: 30px;
    }
    .content-grid:hover {
        transform: scale(1.05, 1.05);
    }
    .single-project-complete:hover{
        transform: scale(1.05, 1.05);
    }
    .single-service:hover {
        transform: scale(1.05, 1.05);
    }
    .single-team:hover {
        transform: scale(1.05, 1.05);
    }
    .pricing-table:hover {
        transform: scale(1.05, 1.05);
    }
    .single-blog:hover {
        transform: scale(1.05, 1.05);
    }
    .single-contact-details:hover {
        -ms-transform: scale(1.05, 1.05); /* IE 9 */
        -webkit-transform: scale(1.05, 1.05); /* Safari */
        transform: scale(1.05, 1.05);
    }
    .blog-description p {
        padding: 0 10px;
    }
    .why-image img {
        margin-bottom: 20px;
    }
    .single-blog {
        margin-bottom: 35px;
    }
    .blog-description p {
        padding: 0 10px;
    }
    .single-team {
        margin-top: 30px;
    }
    .last-service-item {
        margin-top: 30px;
    }
    .pricing-area .active {
        margin: 35px 0;
    }
}


/* Mobile Layout: 320px. */

@media only screen and (max-width: 767px) {
   
   
    .about-us-area {
        /* Adjusted top position for smaller screens */
        top: 30px;
    }

    .slider-wrapper {
        width: 100%; /* Adjusted width to full width of viewport */
        height: 100vh;
        position: relative;
    }

    .mobi{
        
    }
    

    .data {
        padding-top: 30px; 
    }

    .align-items-center {
        /* Removed unnecessary styles for flexbox alignment */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjustments for navigation bar */

    .navbar-toggle .icon-bar {
        background: #f8f8f8; /* Adjusted background color */
    }

    .menu-bg .navbar-toggle .icon-bar {
        background: #fff; /* Adjusted background color */
    }

    .navbar-toggle {
        margin-right: 0px;
        margin-top: -43px !important; /* Adjusted negative margin for toggle button */
        padding: 9px 0px;
    }

    .navbar {
        min-height: 0px; /* Adjusted minimum height */
    }

    .mainmenu .navbar-nav li a {
        padding: 10px 15px; /* Adjusted padding for menu items */
    }

    .menu-bg .mainmenu .navbar-nav li a:hover {
        color: #fff; /* Adjusted hover color */
    }

    .navbar-fixed-bottom .navbar-collapse,
    .navbar-fixed-top .navbar-collapse {
        max-height: 320px; /* Reduced max height for collapsible navbar */
    }

    .navbar-toggle {
        margin-top: -40px; /* Adjusted margin for toggle button */
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, .9); /* Adjusted background color */
    }

    .menu-bg .navbar-collapse {
        background: rgba(0, 0, 0, .9); /* Adjusted background color */
    }

    /* Adjustments for specific elements */

    .welcome-image-area h2,
    .single-slide-item h2,
    .welcome-video-area h2 {
        font-size: 24px; /* Reduced font size for headings */
    }

    .mob-div {
        margin: 0 auto; /* Centered the element horizontally */
        padding-left: 10px; /* Reduced padding for smaller screens */
        padding-right: 10px; /* Added padding for better spacing */
        
        
    }
    .header-text h2 {
        color: #fff;
        font-size: 50px;
        letter-spacing: 3px;
        margin: 0;
        font-weight: 100px;
        text-transform: uppercase;
    }
    .header-text p {
        font-size: 10px;
    }


    .slider-nav {
        padding-left: 10px; /* Adjusted padding for navigation */
        padding-right: 10px; /* Added padding for better spacing */
        padding-bottom: 50px;
    }

    .container {
        
    }

    .footer-area img {
        margin-bottom: 0px;
        width: 100%; /* Adjusted image width for full width on mobile */
    }

    .footer-area {
        padding: 30px 10px; /* Adjusted padding for smaller screens */
    }

    .section-padding {
        padding: 30px 10px; /* Adjusted padding for smaller screens */
    }

    /* Additional adjustments as needed for other sections */

    /* General adjustments */

    .single-blog {
        margin-bottom: 20px; /* Reduced margin between blog items */
    }

    .blog-description p {
        padding: 0 5px; /* Reduced padding around blog content */
    }

    .single-team {
        margin-top: 20px; /* Reduced margin for team items */
    }

    .last-service-item {
        margin-top: 20px; /* Reduced margin for service items */
    }

    /* Ensure elements are still readable and usable on smaller screens */
    .col-md-4 {
        max-width: 100%; /* Take full width on smaller screens */
        margin: 0 0 20px 0; /* Adjust margin for spacing between elements */
    }
    .row {
        flex-direction: column; /* Ensure items stack vertically */
        padding-bottom: 0; /* Remove padding-bottom on mobile */
        margin-bottom: 0; /* Remove margin-bottom on mobile */
    }

    .col-md-4:last-child {
        margin-bottom: 20px; /* Remove bottom margin for the last element */
    }
    
    .footer-area{
        visibility: visible !important;
        position:relative;
    }


    .slide-btn {
        display: inline-block;
        padding: 10px 20px; /* Adjust padding as needed */
        margin-bottom: 10px; /* Add vertical spacing between buttons */
        background-color: #645045; /* Example background color */
        color: #fff; /* Example text color */
        text-decoration: none;
        border-radius: 5px; /* Example border radius */
        transition: background-color 0.3s ease; /* Example transition effect */
    }
    
    .hire-us-slide-btn {
        display: inline-block;
        padding: 10px 20px; /* Adjust padding as needed */
        margin-top: 10px; /* Add vertical spacing between buttons */
        background: transparent;
        color: #fff; /* Example text color */
        text-decoration: none;
        border-radius: 5px; /* Example border radius */
        transition: background-color 0.3s ease; /* Example transition effect */
    }
    .welcome-image-area{
    position: relative;
    height: 100vh; /* Set height to full viewport height */
    background: url(/assets/images/bg/background11.jpg) no-repeat center center;
    background-size: cover; /* Ensures the background image covers the entire div */
    z-index: 1;
}

.welcome-image-area1 {
    position: relative;
    height: 100vh; /* Set height to full viewport height */
    background: url(/assets/images/bg/background22.jpg) no-repeat center center;
    background-size: cover; /* Ensures the background image covers the entire div */
    z-index: 1;
}

.welcome-image-area2 {
    position: relative;
    height: 100vh; /* Set height to full viewport height */
    background: url(/assets/images/bg/background33.jpg) no-repeat center center;
    background-size: cover; /* Ensures the background image covers the entire div */
    z-index: 1;
}
    

    .single-testimonial {
        padding: 10px 10px;
    }

   

    .testimonial-area {
        background: url(/assets/images/bg/mob_bg.png);
        background-size: cover;
        background-position: center;
    }
    
}



/* Wide Mobile Layout: 480px. */

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .single-logo {
        margin-bottom: 20px;
    }
}