:root {
    --active-link: #cc0033;
    --link-color: #cc0033;
    --red-custom: #cc0033;
    --light-gray-custom: #ebebeb;
    --navigation-link-color: #dedede;
}

.custom-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Horizontal, vertical, blur, color */
}

.open > a, 
.open > a:focus, 
.open > a:hover {
    color: var(--link-color);
    background-color: transparent !important; 
}

.product-image {
    width: 200px !important; 
    height: 200px; 
    border-radius: 20px 0 20px 0 !important;
}

body, html {
    font-family: 'Roboto', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #777;
    font-weight: 300;
    width: 100% !important;
    height: 100% !important;
}

h2 {
    margin: 0 0 20px 0;
    font-weight: 500;
    font-size: 30px;
    color: #333;
    text-transform: uppercase;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    color: #333;
}

h4 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    color: #333;
}

h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
}

p {
    font-size: 17px;
}

p.intro {
    margin: 12px 0 0;
    line-height: 24px;
}

a {
    color: #333;
    font-weight: 400;
}

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

ul, ol {
    list-style: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

ul, ol {
    padding: 0;
    webkit-padding: 0;
    moz-padding: 0;
}

hr {
    height: 4px;
    width: 70px;
    text-align: start;
    position: relative;
    background: #cc0033;
    margin: 0;
    margin-bottom: 20px;
    border: 0;
}

.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: none;
}

.isotope-item {
			z-index: 2
		}
	
		.isotope-hidden.isotope-item {
			z-index: 1
		}
	
		.isotope,
		.isotope .isotope-item {
			/* change duration value to whatever you like */
			-webkit-transition-duration: 0.8s;
			-moz-transition-duration: 0.8s;
			transition-duration: 0.8s;
		}
	
		.isotope-item {
			margin-right: -1px;
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
		}
	
		.isotope {
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
			-webkit-transition-property: height, width;
			-moz-transition-property: height, width;
			transition-property: height, width;
		}
	
		.isotope .isotope-item {
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
			-webkit-transition-property: -webkit-transform, opacity;
			-moz-transition-property: -moz-transform, opacity;
			transition-property: transform, opacity;
		}
	
		.portfolio-item {
			margin: 15px 0;
		}
	
		.portfolio-item .hover-bg {
			overflow: hidden;
			position: relative;
		}
	
		.portfolio-item img {
			border-radius: 0 20px 0 20px;
		}
	
		.hover-bg .hover-text {
			position: absolute;
			text-align: center;
			margin: 0 auto;
			color: #333;
			background: rgba(255, 255, 255, 0.75);
			padding: 30% 0 0 0;
			height: 100%;
			width: 100%;
			opacity: 0;
			transition: all 0.5s;
			border-radius: 0 20px 0 20px;
		}
	
		.hover-bg .hover-text>h4 {
			opacity: 0;
			color: #333;
			-webkit-transform: translateY(100%);
			transform: translateY(100%);
			transition: all 0.3s;
			font-size: 18px;
			font-weight: 400;
		}
	
		.hover-bg:hover .hover-text>h4 {
			opacity: 1;
			-webkit-backface-visibility: hidden;
			-webkit-transform: translateY(0);
			transform: translateY(0);
		}
	
		.hover-bg:hover .hover-text {
			opacity: 1;
		}
	

#menu {
    padding: 0px;
    transition: all 0.8s;
}

#menu.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
}

#menu a.navbar-brand {
    font-size: 22px !important;
    color: #eee;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#menu.navbar-default .navbar-nav>li>a {
    text-transform: uppercase;
    color: var(--navigation-link-color);
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    margin: 10px 15px 0 15px;
}

#menu.navbar-default .navbar-nav>li>a:hover {
    color: #eee;
}

.on {
    background-color: #363636 !important;
    padding: 10px 0 !important;
}

.logo {
    height: 50px;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #eee !important;
    background-color: transparent;
}

.navbar-toggle {
    border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #cc0033;
    border-color: #cc0033;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
    background-color: #FFF;
}

.section-title {
    margin: 20px 0 10px 0;
}

.section-title p {
    font-size: 18px;
}

.btn-custom {
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 3px #859c3c;
    background-color: #cc0033;
    padding: 14px 20px;
    margin: 0;
    border: 2px solid #cc0033;
    font-size: 17px;
    border-radius: 12px 0 12px 0;
    margin-top: 20px;
    transition: all 0.5s;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
    color: #cc0033;
    background-color: transparent;
    text-shadow: none;

}

/* Header Section */
.intro {
    display: table;
    width: 100%;
    padding: 0;
    background: url(../img/intro-bg.jpg) no-repeat center bottom;
    background-color: #e5e5e5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.intro .overlay {
    background: rgba(0, 0, 0, 0.40);
}

.intro h1 {
    color: #fff;
    font-size: 68px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.intro span {
    color: #cc0033;
    font-weight: 600;
}

.intro p {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 40px;
}

header .intro-text {
    padding-top: 300px;
    padding-bottom: 200px;
    text-align: center;
}

/* About Section */
#about {
    padding: 60px 0;
    background: #f6f6f6;
}

#about h3 {
    font-size: 20px;
    text-transform: uppercase;
}

#about .about-text {
    margin-left: 10px;
    margin-top: 20px;
}

#about .image-stack {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    margin-inline: auto;
}

#about img {
    width: 95%;
    display: inline-block;
    border-radius: 30px 0 30px 0;
    box-shadow: -8px 0 #cc0033;
}

#about ul, #portfolio ul {
    list-style-type: disc;
    font-size: larger;
}

#services {
    padding: 120px 0;
}

#profile-services, #product-imformation, #project-detail-services {
    padding: 20px 0;
}

#profile-services .service, #product-imformation .service {
    padding-left: 40px;
}




#services .service {
    padding-left: 40px;
}



#product-imformation img, #project-detail-services img, #portfolio img, #project-detail-services img {
    width: 350px !important;
    border-radius: 15px 0 15px 0;
}



#item-details-services h2 {
    padding-top: 80px;
}

#profile-services h3{
    padding: 10px 0;
    text-transform: uppercase;
}

#services h3 {
    padding: 10px 0;
    text-transform: uppercase;
}

/* Portfolio Section */
#portfolio, #profile-services, #contact, #product-imformation, #project-detail-services {
    padding: 100px 0 50px 0;
}


	
		ul.cat li {
			display: inline-block;
		}
		
		#about ul,
        #portfolio ul, #profile-services ul {
	        list-style-type: disc;
	        font-size: larger;
	        line-height: 30px;
	        /* padding: 10px; */
        }

        #about ul, #profile-services ul {
	        padding-left: 30px;
        }

        #about ul ul, #profile-services ul ul {
    	    font-size: 15px;
        }

		

		ol.type li {
			display: flex;
			flex-direction: column;
			margin-right: 20px;
		}
	
		ol.type li a {
			color: #cc0033;
			font-weight: 400;
			font-size: 12px;
			padding: 10px 8px;
			border: 2px solid #cc0033;
			border-radius: 10px 0 10px 0;
			text-transform: uppercase;
			letter-spacing: 0.5px;
		}
	
		ol.type li a.active {
			background: #cc0033;
			color: #fff;
		}
	
		ol.type li a:hover {
			background: #cc0033;
			color: #fff;
		}
	
		.isotope-item {
			z-index: 2
		}
	
		.isotope-hidden.isotope-item {
			z-index: 1
		}
	
		.isotope,
		.isotope .isotope-item {
			/* change duration value to whatever you like */
			-webkit-transition-duration: 0.8s;
			-moz-transition-duration: 0.8s;
			transition-duration: 0.8s;
		}
	
		.isotope-item {
			margin-right: -1px;
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
		}
	
		.isotope {
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
			-webkit-transition-property: height, width;
			-moz-transition-property: height, width;
			transition-property: height, width;
		}
	
		.isotope .isotope-item {
			-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
			-webkit-transition-property: -webkit-transform, opacity;
			-moz-transition-property: -moz-transform, opacity;
			transition-property: transform, opacity;
		}

/*.categories {*/
/*    padding-bottom: 40px;*/
/*    text-align: center;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 30px;*/
/*    margin-bottom: 30px;*/
/*}*/

#profile-services .service, #product-imformation .service {
    padding: 20px;
}



@media (min-width: 992px) {
    /* Large devices (desktop, etc.) */
    #header {
        position: relative;
        height: 100vh !important;
    }
    
    .navigation {
        display: flex;
    }
    
    .navbar-right {
        margin-left: 200px !important;
    }
    
    
    .navbar-header {
        width: 100%;
        padding: 0 !important;
        display: flex;
        justify-content: space-around;
        margin: 0 !important;
    }

    .navbar-header button {
        margin-left: 380px;
    }
    
    .about-images .col-xs-12 {
        width: 16% !important;
    }
    
    .portfolio-items .col-xs-12, #product-imformatoin .col-xs-12 {
        width: 33% !important;
    }
    
    
    #product-imformatoin .col-xs-12 {
        margin-right: 30px;
    }

    
    #services .col-xs-12 {
        width: 20% !important;
    }
    
    #portfolio, #profile-services, #contact, #product-imformation {
        margin-top: 10px !important;
    }
    


    #about .image-stack {
        flex-wrap: wrap;
    }
    
    #profile-services {
        padding-inline: 20px !important;
    }
    
    #services {
        margin-top: 20px !important;
    }
    

    #profile-services h3 {
        font-size: 16px;
    }
    
    .service-image, .service-row {
        gap: 30px !important;
    }
    
    
}

@media (min-width: 768px) {
    
    
    #menu a {
        font-size: 14px !important;
    }
    
    .about-images .col-xs-12, .portfolio-items .col-xs-12 {
        width: 50%;
    }
    
    
    #services .col-xs-12, #product-imformatoin .col-xs-12, #project-detail-services .col-xs-12 {
        width: 33%;
    }
    

    .logo {
        width: 240px;
    }
    
    .service-image, .service-row {
        flex-direction: row !important;
        align-items: center;
    }
    
    
    


    #contact h2 {
        font-size: 30px;
        text-align: left;
    }

    #about h2, #product-imformation h2, #project-detail-services h2 {
        font-size: 30px;
    }

    .service-image img, .service-row img {
        height: 220px !important;
    }
    
    #portfolio, #profile-services, #contact, #services, #item-details-services, #product-imformation, #project-detail-services {
        margin-top: 70px !important;
    }

    
    .type {
		display: flex !important;
		justify-content: space-between;
		align-items: start;
		
        flex-wrap: wrap;
        row-gap: 10px;
    }
    
    #item-details-services .left {
        width: 30% !important;
    }
    
    #item-details-services .right {
        width: 60% !important;
    }
    
    .item {
        display: flex;
        justify-content: space-between;
        align-items: center:
    }

}

@media (min-width: 375px) {
    /* Small mobile screens */
    #header {
        position: relative;
        height: 70vh;
        background: #000; /* Fallback background color */
        background-size: 100% 100%;  /* Fixed background size */
        background-position: center center; /* Center the background image */
        background-attachment: fixed; /* Keep the background fixed in place */
        animation: slideBackground 20s infinite; /* Animation for the background image */
    }
    
    .type {
        display: none;
    }
    
    .categories {
		padding-bottom: 0px;
		text-align: left;
	}
    



    .navbar-header button {
        margin-left: 50px;
    }

    .logo {
        width: 240px !important;
    }
    
    
    
    #profile-services {
        padding-inline: 0;
    }
    
    #services .col-xs-12 {
        margin-bottom: 30px;
    }
    
    #services img {
        width: 100% !important;
        height: 100% !important;
    }
    
    
    .service-image, .service-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
    
    
    .service-image img, .service-row img {
        border-radius: 15px 0 15px 0;
        height: 350px;
        width: 100%;
    }


    #contact h2, #about h2 {
        font-size: 30px;
    }
    
    #product-imformation h2, #project-detail-services h2 {
        font-size: 25px;
    }
    
    
    
    
    #item-details-services .left, #item-details-services .right {
        width: 100%;
    }
    
    #product-imformation .items {
        padding: 20px 5px;
    }
    
    #product-imformation img, #project-detail-services img, #project-detail-services img {
        height: 250px;
        border-radius: 15px 0 15px 0;
    }
}
