body {
    /* background: rgb(244, 206, 211) !important; */
    /* background: #FFFCF1 !important; */
    background: rgb(247, 244, 242) !important;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700 !important; 
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600; 
}

h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important; 
}

p, span, li a {
    font-family: 'Roboto Mono', monospace;
}

#header {
    background-color: #fdfdfd !important;
    padding: 10px 3rem;
    margin: 1rem auto;
    max-width: 1400px;
    /* max-width: 85vw; */
    border: 1px solid #ccc; /* Optional: subtle border */
}

@media only screen and (max-width: 768px) {
    #header {
        max-width: 93%;
        padding: 10px 0.9rem;
    }
}

.navbar {
    background-image: none !important;
}

.navbar-nav .nav-link {
    color: #b31b48; /* Default text color */
    transition: all 0.3s ease; /* Smooth transition */
}

.navbar-nav .nav-link:hover {
    color: #e93168; /* White text color on hover */
}

.navbar-toggler {
    border: none !important;
    font-size: 2rem !important;
}

.container-fluid {
    --bs-gutter-x: none !important;
}

.btn-outline-primary {
    --bs-btn-color: #e33529 !important;
    --bs-btn-border-color: #e33529 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #e33529 !important;
    --bs-btn-hover-border-color: #e33529 !important;
}

.feature-thumbnail img {
    width: 150px; /* Adjust thumbnail size */
    height: 150px; 
    object-fit: cover; /* To maintain aspect ratio */
    background-color: #ddd; /* Background color for image area */
    padding: 10px; /* Optional padding */
}

.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

#hero-section {
    background-color: #f4ced3 !important; 
}

#section-2 {
    /* background-color: #f4ced3;  */
}

#section-2 h1 {
    color: #e33529;
}

.hover-row {
    transition: background-color 0.3s ease;
}

.hover-row:hover {
    background-color: #dd9090; /* Change to the desired hover color */
}

.hover-row .description {
    display: none;
    transition: opacity 0.3s ease;
}

.hover-row:hover .description {
    display: block;
    opacity: 1;
}


/* portfolio */
#portfolio-section {
    background-color: #afd8fb; 
}
#portfolio-section .row {
    margin-bottom: 30px; 
}

#portfolio-section .col-md-8 {
    padding-right: 30px;  
}

@media only screen and (max-width: 768px) {
    #portfolio-section .col-md-8 {
        padding-right: 10px;  
    }
}

#portfolio-section .col-md-4 {
    padding-left: 30px; 
}

#portfolio-section h1 {
    color: #2b6786;
}
#portfolio-section h3 a {
    color: #2b6786;
    text-decoration: none;
}

#portfolio-section h3 a:hover {
    text-decoration: none;
    color: #e33529;
}

.portfolio-categories {
    font-size: 0.9rem;
}

#portfolio-section .text-center {
    margin-top: 40px;  /* Add extra space above the button */
}

.custom-category {
    border: 1px solid #2b6786;
    transition: all 0.3s ease;
}

.custom-category:hover {
    background-color: #2b6786 !important;
    color: #fff !important;
    border-color: #2b6786;
}

.badge {
    background-image: none !important;
}

#clients-section {
    background-color: #f3f0ef;
}

#clients-section h1 {
    color: #e33529 !important;
}

.client-logo img {
    filter: brightness(0) invert(0); 
    /* filter: grayscale(100%); */
    /* filter: brightness(0) invert(29%) sepia(100%) saturate(500%) hue-rotate(-10deg); */
    transition: filter 0.3s ease; 
    max-width: 150px;
    max-height: 60px;
}

.client-logo img:hover {
    filter: none; 
}

@media only screen and (max-width: 768px) {
    .client-logo img {
        max-width: 80%;
        max-height: 80%;
    }
}

.about-page-container {
    width: 100%;
}

.about-section-1 {
    padding: 50px 0;
}

.about-section-1 h1 {
    color: #e33529;
}

.about-section-1 .container {
    text-align: left;
}

.about-section-1 .section-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section-1 .section-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.about-section-1 .section-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Section 2 (Full background image) */
.about-section-2 {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
}
.about-section-2 .container {
    text-align: center;
    align-items: center;
    z-index: 1;
}
/* .about-section-2 .section-heading {
    font-size: 3rem;
    color: #fff;
} */
.about-section-2 .section-description {
    font-size: 1.2rem;
    /* font-size: clamp(1rem, 2.5vw + 1rem, 1.5rem);; */
    color: #fff;
}

.about-section-2 {
    height: 100vh; /* Set height to 100% of the viewport height */
    background-size: cover; /* Ensure the background covers the entire section */
    background-position: center center; /* Center the background image */
    background-repeat: no-repeat; /* Avoid repeating the background image */
    display: flex; /* Flexbox to center content */
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
}

.about-section-2 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Optional overlay with transparency */
}

/* Section 3: Meet the Team */
.about-section-3 {
    padding: 50px 0;
}

.about-section-3 h1 {
    text-align: center;
    color: #e33529;
}

.about-section-3 .section-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the team members */
}

.team-member {
    position: relative; /* Required for absolute positioning of hover image */
    text-align: center;
    margin: 15px; /* Space between team members */
    overflow: hidden; /* Hide overflow to maintain layout */
}

.team-member .team-photo {
    width: 100%;
    height: 300px; /* Set fixed height for images */
    object-fit: cover; /* Ensure images cover the area without distortion */
    transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

.team-member .team-image-hover {
    position: absolute; /* Position the hover image on top of the main image */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 300px; /* Match the height of the main image */
    object-fit: cover; /* Ensure hover image covers the area */
    opacity: 0; /* Start hidden */
    transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

.team-member:hover .team-image-hover {
    opacity: 1; /* Show the hover image on hover */
}

.team-member:hover .team-photo {
    opacity: 0; /* Hide the main image on hover */
}

.team-member .team-name {
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #e33529;
}

.team-member .team-role {
    font-size: 1.2rem;

}


.about-section-4 {
    background-color: #302BFF;
    padding: 50px 0;
    color: #fff;
}

.about-section-4 .container {
    text-align: left;
}

.about-section-4 .section-description {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.about-section-4 .address {
    font-size: 1.2rem;
}

.rounded-about {
    border: 1px solid #fff;
    transition: all 0.3s ease;
}

span.rounded-about a{
    /* color: var(--bs-body-color) !important; */
    color: #fff !important;
}

span.rounded-about a:hover{
    transition: all 0.3s ease;
    /* color: var(--bs-white) !important; */
}

.rounded-about:hover {
    /* background-color: #e33529 !important; */
    border-color: #e33529;
}