/* Contra Creative Agency Business HTML-5 Template */

@media only screen and (max-width: 1400px){

	.journel-two .journel-block_one{
		width:25%;
	}


}

@media only screen and (max-width: 1321px){

	.main-header .main-menu .navigation > li > a{
		font-size: 13px;
	} 
	
	.journel-detail_image{
		padding-right:0px;
	}

}

@media only screen and (max-width: 1240px){

	.banner-one_text-two{
		font-size:20px;
		line-height:30px;
		padding-right:50px;
	}
	
	.banner-one_text{
		font-size:20px;
		line-height:30px;
		padding-right:50px;
	}
	
	.journel-one .journel-block_one {
		width: 25%;
	}
	
	.counter-block_one-inner{
		padding:30px 30px;
	}
	
	.stats-one_contact-inner{
		padding:22px 15px;
	}
	
	.stats-one_contact-content .text{
		font-size:18px;
	}
	
	.counter-block_one-counter{
		font-size:60px;
	}
	
}

@media only screen and (max-width: 1140px){
	
	h1 {
		line-height: 120px;
		font-size: 80px;
	}
	
	.journel-one .journel-block_one {
		width: 33.333%;
	}
	
	.stats-one_contact-content .text {
		font-size: 16px;
	}
	
	.journel-two .journel-block_one{
		width:33.333%;
	}

}
	
@media only screen and (max-width: 1023px){
	
	.main-header .main-box .logo-box {
		position:relative;
		left:0px;
		top:0px;
		right:0px;
		bottom:0px;
		margin:0px;
		text-align:left;
	}
	
	.main-header .outer-box{
		position: static;
		display:block;
	}

	.main-header{
		position:fixed; 
	
	}

	.main-header img
	{
		margin-left: 10px;
		max-width: 30%;
	}
	
	.main-header .mobile-nav-toggler{
		display:block;
		margin-left: 20px;
	}
	
	.main-header .sticky-header .mobile-nav-toggler{
		display:block;
	}
	
	.main-header .nav-outer,
	.main-header .sticky-header .main-menu{
		display:none;
	}
	
	.main-header #navbarSupportedContent{
		display:block;
	}
	
	.main-header .mCSB_inside > .mCSB_container{
		margin-right:0px;
	}

	.main-header .outer-box{
		margin-left: 0px;
	}
	
	.main-header .main-menu{
		display: none;
	}

}

@media only screen and (max-width: 991px){

	.banner-one{
		padding-top:100px;
	}
	
	h3 {
		line-height: 36px;
		font-size: 20px;
	}
	
	.service-block_one-inner {
		padding: 20px 30px;
	}
	
	.journel-one .journel-block_one {
		width: 50%;
	}
	
	.awards-block_one-title{
		font-size:26px;
	}
	
	.main-footer h2{
		font-size:40px;
		line-height:50px;
	}

	.page-title{
		font-size:45px;
		padding-top: 16px;
    	padding-bottom: 13px;
	}
	
	.team-block_one-image{
		position:relative;
		right:0px;
		margin-top:20px;
	}
	
	.team-block_one-inner{
		padding-bottom:0px;
		text-align:center;
		padding-left:0px;
	}
	
	.team-block_one-socials{
		margin-top:30px;
	}
	
	.team-block_one-inner::before{
		top:0px;
	}
	
	.journel-two .journel-block_one{
		width:50%;
	}
	
	.single-work .column:nth-child(2),
	.journel-detail .column:nth-child(2){
		order:1;
	}
	
	.single-work .column:nth-child(1),
	.journel-detail .column:nth-child(1){
		order:2;
	}
	
	.single-work,
	.journel-detail{
		padding-top:100px;
	}
	.stats-one b
	{
		font-size: 15px;
	}
	.stats-one span
	{
		font-size: 12px;
		font-weight: 900;
	}


}
@media only screen and (max-width: 1321px)
{
	.main-header .main-menu .navigation > li{
		position:relative;
		margin-right:25px;
		padding-left:5px;
		display:inline-block;
		transition:all 500ms ease;
		-moz-transition:all 500ms ease;
		-webkit-transition:all 500ms ease;
		-ms-transition:all 500ms ease;
		-o-transition:all 500ms ease;
	}
}

@media only screen and (max-width: 820px){

	.banner-one .down-box{
		display:none;
	}
	
}


@media only screen and (max-width: 767px){
	
	.main-header .sticky-header .outer-box{
		display:block;
		right: 0px;
		left: auto;
		top:0px;
	}

	.main-header .main-menu{
		width:100%;
		display:none;
	}
	
	.main-header .main-menu .navbar-collapse > .navigation li.dropdown:after,
	.main-header .main-menu .navigation > li > ul:before{
		display:none !important;	
	}
	
	.main-header .main-box .logo-box{
		float:none;
		text-align:center;
		padding-bottom:0px;
	}

	.main-header .header-lower .outer-box{
		position:relative;
		z-index:12;
		display:block;
	}
	
	.main-header .main-menu .navbar-header .navbar-toggler{
		display: inline-block;
		z-index: 12;
		width: 50px;
		height: 40px;
		float: none;
		padding: 0px;
		text-align: center;
		border-radius: 0px;
		background: none;
		border: 1px solid #ffffff;
	}
	
	.main-header .main-menu .navbar-header .navbar-toggler .icon-bar{
		position: relative;
		background: #ffffff;
		height: 2px;
		width: 26px;
		display: block;
		margin:0 auto;
		margin:5px 11px;
	}
	
	.main-header .nav-outer .mobile-nav-toggler{
		display: block;
	}
	
	.main-header #navbarSupportedContent{
		display:block;
	}
	
	.main-header .mCSB_inside > .mCSB_container{
		margin-right:0px;
	}
	
	h1 {
		line-height: 80px;
		font-size: 80px;
	}
	
	.banner-one_text{
		padding-right:0px;
		margin-bottom:30px;
	}
	
	.counter-block_one-counter {
		font-size: 40px;
	}
	
	.stats-one_contact-inner {
		padding: 10px 10px;
	}
	
	.stats-one_contact-content{
		padding:20px 20px;
	}
	
	.awards-block_one-arrow,
	.stats-one_contact-icon{
		display:none;
	}
	
	.footer-bottom{
		padding:15px 0px;
	}
	
	.go-top_top,
	.footer_copyright{
		font-size:16px;
	}
	
	.page-title_heading{
		font-size:40px;
		line-height:80px;
	}
	
	.team-one .title-box h2{
		font-size:26px;
		line-height:36px;
	}
	
	.stats-one.style-two{
		padding-top:60px;
	}
	
	.journel-detail_title{
		font-size:40px;
		line-height:50px;
	}
	
	.journel-detail p{
		font-size:16px;
		line-height:26px;
	}
	
}

@media only screen and (max-width: 599px){

	.banner-one_text-two,
	.banner-one_text{
		padding-right: 0px;
	}

	.banner-one_text-two br,
	.banner-one_text br{
		display:none;
	}
	
	.journel-one .journel-block_one {
		width: 100%;
	}
	
	.stats-one .stats-one_contact-column,
	.stats-one .counter-block_one{
		width:100%;
	}
	
	.counter-block_one-inner{
		border-right:0px;
	}
	
	.awards-block_one-content{
		font-size: 25px;
		padding:0px 0px;
	}
	
	.awards-block_one-number{
		position:relative;
		margin-bottom:20px;
	}
	
	.go-top_top{
		margin-top:15px;
	}
	
	.journel-two .journel-block_one{
		width:100%;
	}
	
	.contact-one_heading{
		font-size:30px;
		line-height:40px;
	}
	
	

}

@media only screen and (max-width: 479px) {
	
	h1 {
		line-height: 40px;
		font-size: 40px;
	}
	
	.single-work_title,
	h2 {
		line-height: 38px;
		font-size: 28px;
	}
	
	.service-block_one-heading a br{
		display:none;
	}
	
	.gallery-block_one-content {
		padding: 15px 15px;
	}
	
	.service-block_one-inner {
		padding: 20px 20px;
	}
	
	.single-work_list li span,
	.single-work p,
	.banner-one_text-two,
	.banner-one_text {
		font-size: 16px;
		line-height: 26px;
	}
	
	.testimonial-block_one-content {
		padding: 15px 15px;
	}
	
	.contact-one_heading{
		font-size:20px;
		line-height:30px;
	}
	
	.counter-block_one-text{
		font-size:16px;
	}
	
	.main-footer h2 {
		font-size: 26px;
		line-height: 36px;
	}

	.page-title_heading {
		font-size: 30px;
		line-height: 60px;
		margin-top: 25px;
	}
	
	.team-one .title-box h2 {
		font-size: 20px;
		line-height: 30px;
	}

	.journel-detail_title{
		font-size:24px;
		line-height:34px;
	}
	
	.contact-one_list li{
		font-size:18px;
		line-height:28px;
	}

}

@media (max-width: 767px) {
    .single-work .column.col-lg-6:nth-child(3) {
        margin-left: 0;
    }
    input[type="number"], select {
        width: 100%;
        margin-bottom: 10px;
    }
}
/*
=================================
Gallery Block only for fdm
=================================
*/
@media only screen and (max-width: 1167px)
{
	.gallery-block_two-heading{
		font-size: 20px;
	}
}
@media only screen and (max-width: 990px)
{
	.gallery-block_two-heading{
		font-size: 25px;
	}
}


/*
==================================================
	Industries that use 3d print tech for medical and healthcare industry
==================================================
*/

@media only screen and (max-width: 1265px)
{
	.testimonial-block_two-name{
		font-size: 18px;
	}
}


/*
===============================================
		Img responsive
===============================================
*/

/* Adjustments for medium screens */
@media only screen and (max-width: 991px) {
    .single-work {
        padding: 40px 20px; /* Reduced padding for medium screens */
    }

    .single-work_image img {
        width: 100%; /* Ensure image takes full width */
    }
}

/* Adjustments for small screens */
@media only screen and (max-width: 479px) {
    .single-work {
        padding: 30px 15px; /* Further reduced padding for small screens */
    }

    .single-work_image img {
        width: 100%; /* Ensure image takes full width */
    }
}



/*
=====================================================
		Awards ONE (INDEX FAQ)
=====================================================
*/

@media only screen and  (max-width: 768px) 
{
	.awards-block_one
	{
		font-size: 15px;

	}
	.awards-block_one-title
	{
		font-size: 15px;
	}
}


/*
=====================================================
=====================================================
*/

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .counter-block_one-inner {
        padding: 20px 30px; /* Adjusted padding for medium screens */
        font-size: 60px; /* Adjusted font size */
    }

    .stats-one_contact-content {
        padding: 15px 20px 15px 60px; /* Adjusted padding for medium screens */
    }
}

@media only screen and (max-width: 767px) {
    .counter-block_one-inner {
        padding: 15px 20px; /* Adjusted padding for small screens */
        font-size: 50px; /* Adjusted font size */
    }

    .stats-one_contact-column {
        width: 100%; /* Ensure columns stack vertically */
        float: none; /* Clear float */
    }

    .stats-one_contact-content {
        padding: 10px 15px 10px 50px; /* Adjusted padding for small screens */
    }

    .stats-one_contact-icon {
        left: 20px; /* Adjusted position for small screens */
        top: 30px; /* Adjusted position for small screens */
    }

    .stats-one_contact-content h3 {
        font-size: 24px; /* Adjusted font size */
    }

    .stats-one_contact-content .text {
        font-size: 16px; /* Adjusted font size */
    }
}

@media only screen and (max-width: 479px) {
    .counter-block_one-inner {
        padding: 10px 15px; /* Adjusted padding for extra small screens */
        font-size: 40px; /* Adjusted font size */
    }

    .stats-one_contact-content {
        padding: 8px 10px 8px 40px; /* Adjusted padding for extra small screens */
    }

    .stats-one_contact-icon {
        left: 15px; /* Adjusted position for extra small screens */
        top: 25px; /* Adjusted position for extra small screens */
    }

    .stats-one_contact-content h3 {
        font-size: 20px; /* Adjusted font size */
    }

    .stats-one_contact-content .text {
        font-size: 14px; /* Adjusted font size */
    }
}


/* 
=======================================
		Table Responsive
=======================================
 */

 @media (max-width: 768px) {
    table {
        font-size: 14px; /* Reduce font size */
    }

    th, td {
        padding: 8px; /* Adjust padding */
    }

    th, td:nth-child(1) {
        text-align: left; /* Left-align the first column */
    }

    th:nth-child(2),
    th:nth-child(3),
    td:nth-child(2),
    td:nth-child(3) {
        text-align: center; /* Center-align other columns */
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    table {
        font-size: 12px; /* Further reduce font size for small screens */
    }

    th, td {
        padding: 6px; /* Minimize padding */
    }
}


/* Default Modal Styles */
.modal-dialog {
    max-width: 500px; /* Default max-width */
    margin: 1.75rem auto;
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 992px) {
    .modal-dialog {
        max-width: 800px; /* Wider max-width for large screens */
    }
}

/* Extra Large Devices, Large Screens */
@media only screen and (min-width: 1200px) {
    .modal-dialog {
        max-width: 1000px; /* Even wider max-width for extra-large screens */
    }
}


/* Blog Responsive */

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .blog-card {
        padding: 30px 20px;
    }

    .blog-card_title {
        font-size: 28px;
    }

    .blog-card p {
        font-size: 14px;
    }

    .blog-card_list li {
        font-size: 18px;
    }

    .blog-card_list li span {
        font-size: 16px;
    }
}
