/* CSS Variables for easy color changes */
:root {
    --main-color: #d60000;
    --accent-color: #e67e22;
    --background: #f8f9fa;
    --text-color: #222;
    --default-font: "Oswald", Arial, sans-serif;
}

/* Reset some default browser styles */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, input, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

.custom-hr {
    width: 80vw;           /* 80% of the viewport width */
    border: none;
    border-top: 2px solid var(--main-color); /* thickness and color */
}

.small-hr {
    width: 80%;           /* 80% of the viewport width */
    border: none;
    border-top: 2px solid var(--main-color); /* thickness and color */
}

.main-container {
    margin-top: 110px !important;
}

/* Navbar styles */
.navbar {
    font: "Oswald", Arial, sans-serif;
    font-weight: 500;
    border-bottom: 4px solid var(--main-color);
    background-color: #fffffd;
}

.navbar-logo {
    display: block;
    max-height: 5rem;
    width: auto;
}

.nav-link {
    font-size: 1.35rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--main-color);
}

.active {
    color: var(--main-color) !important;
}

.navbar-toggler {
    border: 3px solid var(--main-color);
}

.navbar-toggler-icon {
    filter: invert(1) brightness(1.5);
}

/* Footer Styles */
.footer {
    background-color: rgb(224, 224, 224);
    color: var(--text-color) !important;
    font: "Oswald", Arial, sans-serif;
    font-weight: 500;
    margin-top: 10px !important;
    border-top: 4px solid var(--main-color);
}

/* constrain footer logo */
.footer-logo {
  max-height: 8rem;  /* adjust as needed */
  width: auto;
}

/* link colors in footer */
.footer a {
  color: var(--text-color) !important;
}

.footer a:hover {
  color: #dadada;
  text-decoration: none;
}

/* Hero Section */
.bgimg {
    min-height: 100%;
    position: relative;
    opacity: 1;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bgimg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Adjustments for mobile */
@media screen and (max-width: 768px) {
    .bgimg {
        background-attachment: scroll;
        padding-bottom: 50px;
        min-height: 70%;
    }
}

.bgimg-home {
    background-image: url("img/home_bg.png");
}

.bgimg-whoweare {
    background-image: url("img/home-about.png");
    min-height: 60vh !important;
}

.bgimg-ourservices {
    background-image: url("img/our_services.png");
    min-height: 60vh !important;
}

.bgimg-seeourwork {
    background-image: url("img/our_work.png");
    min-height: 60vh !important;
}

.bgimg-contact {
    background-image: url("img/contact_us.png");
    min-height: 60vh !important;
}

.bgimg-serviceareas {
    background-image: url("img/map.png");
    min-height: 60vh !important;
}

.bgimg-redtint::before {
    background-color: #d6000069 !important;
}

.branding {
    /* Center the content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Take full height of the column */
    font-family: var(--default-font);
    color: white;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    /* Adjust form-container width and padding for smaller screens */
    .branding {
        margin-top: 100px;
    }
}

.brand-title {
    font-family: var(--default-font);
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    /* Adjust form-container width and padding for smaller screens */
    .brand-title {
        font-size: 7.5vw;
    }
}

.brand-subtitle {
    font-family: var(--default-font);
    font-size: 2em;
    font-weight: 400;
    margin-bottom: 0.5em;
}

.highlight-main,
.highlight-sub {
    color: var(--main-color);
    font-weight: 700;
}

.home-about {
    padding-top: 10px;
    font: var(--default-font);
    font-weight: 400;
    font-size:large
}

/* Form styles */
/* Base styles for the form container */
.form-container {
    background-color: #ffffffc4;
    padding: 20px;
    margin-top: 0; /* Remove margin-top */
    margin: 0 auto; /* Center align the form horizontally */
    max-width: 40%; /* Limit the maximum width */
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid #d60000b4;
    box-sizing: border-box;
}

.form-container textarea {
    resize: none;
}

/* Header styles */
.form-header {
color: var(--text_color);
margin-bottom: 10px;
font-size: 2.25em;
font-weight: 510;
text-align: center;
font-family: var(--default-font)
}

/* Label styles */
.form-label {
color: var(--text_color);
font-family: var(--default-font);
font-size: 1.3em;
}

/* Control styles */
.form-control {
margin-bottom: 15px;
}

/* Button styles */
.btn-send {
background-color: rgb(255, 255, 255);
font-size: 1.25em;
color: var(--main-color);
border: 3px solid var(--main_color) !important;
padding: 10px 20px;
cursor: pointer;
font-family: var(--default-font);
width: 100%;
transition: background-color 0.2s, color 0.2s;
}

.btn-send:hover {
background-color: var(--main-color);
color: white;
}

.btn-main-color {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.btn-main-color:hover,
.btn-main-color:focus {
    background-color: #a80000;
    color: #fff;
    text-decoration: none;
}

/* Responsive styles */
@media screen and (max-width: 1025px) {
/* Adjust form-container width and padding for smaller screens */
.form-container {
    padding: 10px;
    width: 70%;
    max-width: 70%;
}
}

/* Responsive styles */
@media screen and (max-width: 768px) {
/* Adjust form-container width and padding for smaller screens */
.form-container {
    padding: 10px;
    width: 90%;
    max-width: 90%;
}

/* Adjust font size for form header and labels on smaller screens */
.form-header {
    font-size: 1.8em;
}

.form-label {
    font-size: 1em;
}

/* Make the form header centered */
.form-header {
    text-align: center;
}
}

/* Utility classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Responsive adjustments
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        padding: 2rem 1rem;
    }
    form {
        padding: 1rem;
    }
} */

.social-media-icons a {
    color: var(--main_color);
    font-size: 2rem;
    margin-right: 15px;
    text-decoration: none;
}

.social-media-icon:hover {
    color: var(--accent_color);
    text-decoration: none !important;
}

.see-work-link {
  display: block;           /* was inline-block */
  width: max-content;       /* or: width: fit-content; */
  margin: .25rem auto 0;    /* centers the block */
  font-family: var(--default-font);
  font-weight: 600;
  font-size: 1.25em;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.see-work-link:hover {
  color: var(--main-color);
  text-decoration: none;
}

.main-color-bg {
    background-color: var(--main-color);
    color: white;
}

.oswald-font {
    font-family: "Oswald", Arial, sans-serif;
    font-weight: 500;
}

.reviews-ticker-wrapper {
    width: 80vw;
    max-width: 80vw;
    overflow: hidden;
    margin: 2rem auto;
    border-left: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    background: transparent;
}

@media (max-width: 768px) {
    .reviews-ticker-wrapper {
        width: 100vw;
        max-width: 100vw;
        border: none;
        margin-left: -15px;
        margin-right: -15px;
    }

    .about-img {
        display: none !important;
    }
}

.reviews-ticker {
    display: flex;
    align-items: center;
    animation: ticker-scroll 100s linear infinite;
    padding: 1rem 0;
    width: max-content;
}

.reviews-ticker-wrapper:hover .reviews-ticker {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.review-card {
    min-width: 320px;
    max-width: 340px;
    border: none;
    border-radius: 8px;
    font-family: var(--default-font);
    background: #f8f9fa;
    color: var(--text-color);
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.review-author {
    color: var(--main-color);
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-top: 0.5rem;
}

.main-color-star {
    color: var(--main-color);
    font-size: 1.2em;
    margin-right: 2px;
}

.review-source {
    color: #888;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

.who-we-are-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.service-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    background: #fff;
}

.service-header {
    background: #fff;
    border-bottom: 4px solid var(--main-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--default-font);
    color: var(--main-color);
    padding: 1rem 1.5rem;
    user-select: none;
}

.service-title {
    flex: 1;
}

.service-arrow i {
    font-size: 1.5rem;
    color: var(--main-color);
    transition: transform 0.2s;
}

.card-body {
    font-size: 1.15rem;
    font-family: var(--default-font);
    color: var(--text-color);
    font-weight: 400;
}

.service-card .card-body img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumb {
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.modal-content {
    background: #fff;
    border-radius: 0.75rem;
}
.btn-main-color {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
}
.btn-main-color:hover,
.btn-main-color:focus {
    background-color: #a80000;
    color: #fff;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.pagination .page-link {
    color: var(--main-color);
    border: 2px solid var(--main-color);
    background: #fff;
    font-weight: 600;
    border-radius: 0.4rem;
    margin: 0 2px;
    transition: background 0.2s, color 0.2s;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.faq-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    background: #fff;
}

.faq-header {
    background: #fff;
    border-bottom: 4px solid var(--main-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--default-font);
    color: var(--main-color);
    padding: 1rem 1.5rem;
    user-select: none;
}

.faq-question {
    flex: 1;
}

.faq-arrow i {
    font-size: 1.3rem;
    color: var(--main-color);
    transition: transform 0.2s;
}

.btn-main-color {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.btn-main-color:hover,
.btn-main-color:focus {
    background-color: #a80000;
    color: #fff;
}

.navbar-facebook .fab.fa-facebook-square {
    color: var(--main-color);
    transition: color 0.2s;
}
.navbar-facebook:hover .fab.fa-facebook-square,
.navbar-facebook:focus .fab.fa-facebook-square {
    color: #a80000;
    text-decoration: none;
}