
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

:root {
    --primary: #f37c41;
    --dark: #21252f;
    --body: #888;
    --white: #ffffff;
    --box-shadow: 0 8px 22px rgba(0,0,0,0.1);
    overflow-x: hidden;
}

body {
    font-family: "Sora", sans-serif;
    line-height: 1.7;
    color: var(--body);
}

#loading{
	position: fixed;
	width: 100%;
	height: 100vh;
	background: #fff url('../img/loading.gif') no-repeat center center;	
	z-index: 99999;
    background-color: #ffffff;
}

a {
    color: var(--dark);
    text-decoration: none;
}


.logo {
    width: 160px;
    height: 40px;
}

.navbar {
    box-shadow: var(--box-shadow);
}

.navbar .nav-link {
    font-size: 18px;
    font-weight: 700;
}

.navbar .nav-link.active {
    color: var(--primary) !important;
}

ul.breadcrumb {
    list-style: none;
    background-color: white;
    margin-left: 95%;
    padding-top: 20px;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}

ul.breadcrumb li a {
    color: #ff5821;
    text-decoration: none;
}

ul.breadcrumb li a:hover {
    color: #01447e;
    text-decoration: underline;
}

/* Header section with background image */
.header {
    background-image: url(../img/header.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
    height: 450px;
}

.header::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(21, 20, 51, 0.8);
    z-index: -1;
}

.text-primary{
    margin-top: 10%;
}

/* General styling for buttons */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    transition: all 0.3s ease;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: #f37c41;
}


.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: #f37c41;
}

.btn.active {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);

}

/* Adjust button width for medium and small devices */
@media (max-width: 768px) {
    .filter-button,
    .layout-button {
        width: calc(50% - 10px); /* Adjust as needed */
        margin-bottom: 10px;
    }

    .col-md-6.text-end {
        text-align: center;
    }
}

/* Adjust button width for extra small devices */
@media (max-width: 576px) {
    .filter-button,
    .layout-button {
        width: 100%;
    }
}


/* Portfolio styling */
.project {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px; /* Add margin at the bottom for spacing between items */
}

.project img {
    transition: all 0.4s ease;
}

.filter-item {
    display: none; /* Hide all items initially */
}

.project .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 20, 51, 0.8);
    padding: 30px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
    opacity: 0;
}

.project img {
    transition: all 0.4s ease;
}

.project:hover .overlay {
    opacity: 1;
}

.project:hover img {
    transform: scale(1.1);
}

.project .bx {
    color: white;
    font-size: 40px;
}

.project .bx:hover {
    color: var(--primary);
}

.project-image {
    height: 400px; /* Adjust the height as needed */
    width: 100%;
    object-fit: inherit;
}

.portfolio-link a {
    text-decoration: none; /* Remove underline */
    color: var(--white); /* Set the color to white */
    transition: color 0.4s ease; /* Add a transition for color changes */
}

/* Grid layout adjustments */
.col-lg-1-5 {
    flex: 0 0 20%;
    max-width: 20%;
}
.col-md-2-4 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Section header */

#full-portfolio .container-fluid {
    padding: 20px;
}

#full-portfolio h1 {
    margin-bottom: 20px;
}

#full-portfolio p {
    margin-bottom: 40px;
    font-size: 18px;
    color: #666;
}

/* Adjustments for button layout */
.mb-4 {
    display: flex;
    justify-content: space-between; /* Align items horizontally with space between them */
    align-items: center; /* Align items vertically */
    margin-bottom: 20px; /* Add margin to the bottom */
}

/* Override Bootstrap grid classes */
.text-md-end {
    text-align: right; /* Align text to the right for medium devices and above */
}


#footer{
    background: #090909;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    padding-top: 30px;
    padding-right: 0px;
    padding-bottom: 30px;
    padding-left: 0px;
}

#footer h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 0 15px 0;
}

#footer .social-links{
    display: flex;
    justify-content: center;
}

#footer .social-icons {
    display: flex;
    justify-content: center;
}
.social-icons a{
    width: 34px;
    height: 34px;
    background-color: var(--primary);
    border-radius: 2px solid var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    margin-left: 5px;
    transition: all 0.4s ease;
    border: 2px solid var(--primary);
    text-decoration-line: none;
}

.social-icons a:hover {
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primarys);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top i{
    color: #fff;
    line-height: 0;
    font-size: 28px;
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    background: rgb(255, 88, 33);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    text-decoration-line: none;
    
}

.back-to-top:hover {
    background: #ff774a;
    color: #fff;
}


