body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand .site-title-text {
    color: #0056b3;
    font-size: 1.5rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0056b3 !important;
}

.offcanvas-header {
    background-color: #f8f9fa;
}

.offcanvas-title {
    color: #333;
}

.hero-section {
    position: relative;
    height: 80vh;
    min-height: 700px;
    padding: 100px 0px;
    background-image: url('static/uploads/modern-house-exterior.webp');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
}

.custom-btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-btn-primary:hover {
    background-color: #004085;
    border-color: #004085;
    color: white;
}

.custom-btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: white;
}

.section-title {
    color: #0056b3;
}

.service-card, .advantage-item, .team-member, .testimonial-card, .contact-info, form {
    background-color: white;
    border: 1px solid #e0e0e0;
}

.service-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
}

.advantage-item i {
    color: #0056b3;
}

.team-avatar, .testimonial-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #0056b3;
}

.ceo-section img {
    max-width: 100%;
    height: auto;
}

.accordion-button:not(.collapsed) {
    color: #0056b3;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: none;
    border-radius: 0.5rem !important;
}

.accordion-body {
    background-color: #fcfdff;
    border-top: 1px solid #e0e0e0;
}

.email-link {
    color: #0056b3;
}

.email-link:hover {
    text-decoration: underline !important;
}

footer {
    background-color: #212529 !important;
}

footer a {
    color: #adb5bd !important;
}

footer a:hover {
    color: white !important;
}

/* Responsive Typography */
.site-title-text {
    font-size: 1.25rem;
}

h1 {
    font-size: 2.5rem; /* Mobile */
}

h2 {
    font-size: 2rem; /* Mobile */
}

@media (min-width: 768px) {
    .site-title-text {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 3.5rem; /* Tablet */
    }
    h2 {
        font-size: 2.2rem; /* Tablet */
    }
}

@media (min-width: 1024px) {
    .site-title-text {
        font-size: 2rem;
    }
    h1 {
        font-size: 4.5rem; /* Desktop */
    }
    h2 {
        font-size: 2.5rem; /* Desktop */
    }
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item {
        flex: 0 0 auto;
    }
    .navbar-collapse:not(.show) .navbar-nav {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
    .offcanvas-body {
        padding-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
    .navbar-collapse {
        display: flex !important;
    }
}
/* Styles for the container element */
.rightsFieldUnit {
    padding: 20px; /* Internal spacing from all sides */
    margin-top: 20px; /* Space above the container */
    margin-left: auto; /* Center the block horizontally if it has a max-width */
    margin-right: auto; /* Center the block horizontally if it has a max-width */
    max-width: 960px; /* Optional: limit the width for better readability on wide screens */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Heading styles */
.rightsFieldUnit h1 {
    font-size: 28px; /* Moderate size for main heading */
    margin-top: 30px; /* Space above heading */
    margin-bottom: 15px; /* Space below heading */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Tighter line height for headings */
}

.rightsFieldUnit h2 {
    font-size: 24px; /* Slightly smaller than h1 */
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.rightsFieldUnit h3 {
    font-size: 20px; /* Heading level 3 */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.rightsFieldUnit h4 {
    font-size: 18px; /* Heading level 4 */
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 500; /* Slightly less bold than higher headings */
    line-height: 1.4;
}

.rightsFieldUnit h5 {
    font-size: 16px; /* Heading level 5, similar to body text but bold */
    margin-top: 15px;
    margin-bottom: 7px;
    font-weight: 500;
    line-height: 1.5;
}

/* Paragraph styles */
.rightsFieldUnit p {
    font-size: 16px; /* Standard body text size */
    line-height: 1.6; /* Good readability for paragraphs */
    margin-top: 0; /* Prevent double margins with preceding elements */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.rightsFieldUnit ul {
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indentation for bullet points */
    list-style-type: disc; /* Default bullet style */
}

/* List item styles */
.rightsFieldUnit li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Readability for list item text */
}


@media(max-width: 576px){
    .navbar-brand .site-title-text{
        font-size: 1rem;
    }
    .hero-section .lead{
        font-size: 1rem;
    }
    .hero-section h1{
        font-size: 26px;
        padding-top: 40px;
    }
    body > main{
        overflow: hidden;
    }
}