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

* {
    box-sizing: border-box;
}

.text-primary {
    color: #007bff !important; /* Bootstrap primary blue */
}

.bg-primary {
    background-color: #007bff !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #007bff;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
    color: #0056b3;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #212529; /* Dark background for offcanvas */
    color: #fff;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    color: #fff;
    font-size: 1.5rem;
}

.offcanvas-body .nav-link {
    color: #fff !important;
    padding: 10px 15px;
    display: block;
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #007bff !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('static/media/security-surveillance-background.webp') no-repeat center center/cover;
    padding-top: 80px; /* Offset for fixed navbar */
}

.hero-content {
    max-width: 900px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow i {
    font-size: 3rem;
    animation: bounce 2s infinite;
    color: #007bff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.bg-dark .section-title {
    color: #fff;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card i {
    font-size: 3.5rem;
}

/* Call to Action Banners */
.call-to-action-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('static/media/data-center-security.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

/* Work Stages */
.stage-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-label {
    color: #fff;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-form .form-control::placeholder,
.contact-form .form-select option {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: #fff;
}

.contact-form .form-select option {
    background-color: #343a40; /* Darker background for select options */
    color: #fff;
}

/* FAQ */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: #212529;
    background-color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-body {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #f8f9fa;
}

/* Footer */
.footer-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-section .logo-img {
    height: 35px;
    width: auto;
}

.footer-section .site-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section .list-inline-item a:hover {
    text-decoration: underline !important;
}

.footer-section .contact-info p {
    font-size: 0.9rem;
}

.footer-section .contact-info a {
    font-size: 0.9rem;
}

.email-break-all {
    word-break: break-all;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section .lead {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .navbar-brand .site-name {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section .lead {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .navbar-brand .site-name {
        font-size: 2rem;
    }
    .navbar-nav .nav-link {
        margin-left: 10px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        display: none; /* Hide nav links on smaller screens */
    }
    .navbar-toggler {
        display: block; /* Show burger icon */
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none; /* Hide burger icon on larger screens */
    }
    .navbar-nav {
        display: flex; /* Show nav links */
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .hero-section h1 {
        font-size: 1.8rem; /* Max 20px ≈ 1.25rem, but for main title can be slightly larger */
        margin-bottom: 1rem !important;
    }
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 1rem !important;
    }
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 2rem !important;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
    .section-title {
        font-size: 1.5rem; /* Max 20px ≈ 1.25rem, but for section titles can be slightly larger */
    }
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .scroll-arrow {
        bottom: 15px;
    }
    .card {
        padding: 1.5rem !important;
    }
    .card i {
        font-size: 3rem;
    }
    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .footer-section .list-inline-item {
        display: block;
        margin-bottom: 5px;
    }
    .footer-section .list-inline-item span {
        display: none;
    }
}
/* Parent container for legal documents */
.legalFoldBox {
    padding-top: 24px;    /* Top padding for the legal content box */
    padding-left: 20px;   /* Left padding for the legal content box */
    padding-right: 20px;  /* Right padding for the legal content box */
    /* You might want to add padding-bottom as well, or let content dictate */
    /* padding-bottom: 24px; */ 
}

/* Heading 1 styles */
.legalFoldBox h1 {
    font-size: 24px;      /* Moderate font size for main headings */
    font-weight: 700;     /* Bold font weight */
    line-height: 1.2;     /* Line height for readability */
    margin-top: 24px;     /* Top margin before the heading */
    margin-bottom: 16px;  /* Bottom margin after the heading */
}

/* Heading 2 styles */
.legalFoldBox h2 {
    font-size: 20px;      /* Slightly smaller than h1 */
    font-weight: 600;     /* Semi-bold font weight */
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Heading 3 styles */
.legalFoldBox h3 {
    font-size: 18px;      /* Further reduction in size */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 10px;
}

/* Heading 4 styles */
.legalFoldBox h4 {
    font-size: 16px;      /* Similar to paragraph text, but bolder */
    font-weight: 500;     /* Medium font weight */
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Heading 5 styles */
.legalFoldBox h5 {
    font-size: 16px;      /* Can be same size as paragraph, but with higher weight */
    font-weight: 600;     /* Emphasized font weight */
    line-height: 1.5;
    margin-top: 14px;
    margin-bottom: 6px;
}

/* Paragraph styles */
.legalFoldBox p {
    font-size: 16px;      /* Standard readable font size for body text */
    line-height: 1.6;     /* Generous line height for good readability */
    margin-bottom: 1em;   /* Spacing between paragraphs */
}

/* Unordered list styles */
.legalFoldBox ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1em;       /* Top margin for the list */
    margin-bottom: 1em;    /* Bottom margin for the list */
    padding-left: 20px;    /* Indentation for list items */
}

/* List item styles */
.legalFoldBox li {
    margin-bottom: 0.5em;  /* Spacing between individual list items */
    line-height: 1.5;      /* Line height for list item text */
}


.offcanvas-header .btn-close{
    filter: invert(1);
    --webkit-filter: invert(1);
}

@media(max-width: 991px){
    .offcanvas-body {
        background-color: #000;
        overflow-y: inherit;
    }

    .navbar-nav {
        display: block;
    }
}

main{
    overflow: hidden !important;
}