body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    border-radius: 2px;
}

.text-white .section-title {
    color: #fff;
}

.text-white .section-title::after {
    background-color: #ffc107;
}

/* Navbar */
.navbar {
    background-color: #212529; /* Dark background for navbar */
    transition: background-color 0.3s ease;
}

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

.navbar-brand .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffc107;
    line-height: 1;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffc107;
}

.navbar-toggler {
    border: none;
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #212529;
}

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

.offcanvas-title {
    color: #ffc107;
    font-weight: 700;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas-body .nav-link {
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('graphics/pics/3d-Of-Controller-Video-View-Game.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding-top: 150px !important; /* Adjust for fixed navbar */
    padding-bottom: 80px;
}

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

.hero-section .container {
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.feature-block {
    background-color: rgba(33, 37, 41, 0.85); /* Dark background with transparency */
    border: 1px solid rgba(255, 193, 7, 0.5); /* Yellow border */
    text-align: center;
    max-width: 280px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 193, 7, 0.1);
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffc107; /* Yellow background */
    color: #212529; /* Dark icon color */
    border: 3px solid #ffc107;
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.3);
}

.icon-circle i {
    font-size: 2.2rem;
}

.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #212529;
}

.btn-outline-primary {
    color: #ffc107;
    border-color: #ffc107;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #ffc107;
    color: #212529;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-item h3 {
    color: #ffc107;
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.service-card ul li {
    margin-bottom: 5px;
    color: #495057;
}

.service-card ul li i {
    color: #28a745;
}

/* Projects Section */
.projects-section {
    background-color: #fff;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Stats Section */
.stats-section {
    background-color: #212529;
    color: #fff;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    color: #ffc107;
}

.stat-item .display-4 {
    color: #ffc107;
}

/* Tariffs Section */
.tariffs-section {
    background-color: #f8f9fa;
}

.tariff-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.tariff-card .price .display-4 {
    color: #212529;
}

.tariff-card ul li {
    margin-bottom: 8px;
    color: #495057;
}

.tariff-card ul li i {
    color: #28a745;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.accordion-button {
    background-color: #f1f1f1;
    color: #212529;
    font-weight: 600;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background-color: #ffc107;
    color: #212529;
    box-shadow: none;
}

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

.accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem;
    color: #495057;
}

.accordion-item {
    border: none;
}

/* Blog Section */
.blog-section {
    background-color: #212529;
    color: #fff;
}

.blog-card {
    background-color: #343a40;
    border: 1px solid #495057;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

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

.blog-card h3 {
    color: #ffc107;
}

.blog-card .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-section .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.contact-section .form-label {
    font-weight: 600;
    color: #212529;
}

.contact-section address p {
    margin-bottom: 0.5rem;
    color: #495057;
}

.contact-section address a {
    color: #495057;
}

.contact-section address i {
    color: #ffc107;
}

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

/* Call to Action Section */
.cta-section {
    background: linear-gradient(45deg, #212529, #495057);
    padding: 80px 0;
}

.cta-section h2 {
    font-weight: 700;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.testimonial-card-light {
    background-color: #ffffff;
    color: #212529;
}

.testimonial-card-dark {
    background-color: #343a40;
    color: #ffffff;
}

.testimonial-card-dark .author-name {
    color: #ffc107;
}

.testimonial-card-dark blockquote p {
    color: #f8f9fa;
}

.avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #ffc107;
}

.rating i {
    font-size: 1.2rem;
}

/* Footer */
.footer-section {
    background-color: #212529;
    color: #f8f9fa;
}

.footer-widget h5 {
    color: #ffc107;
    font-weight: 600;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #ffc107;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: #ffc107;
}

/* Modal Overrides */
.modal-content {
    background-color: #343a40;
    color: #f8f9fa;
    border: none;
}

.modal-title {
    color: #ffc107;
}

.modal-body .form-control {
    background-color: #495057;
    border-color: #6c757d;
    color: #f8f9fa;
}

.modal-body .form-control::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

.modal-body .form-control:focus {
    background-color: #495057;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    color: #f8f9fa;
}

.modal-body .form-label {
    color: #f8f9fa;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1070; /* Higher than modals */
    left: 0;
    width: 100%;
    border-top: 1px solid #495057;
}

/* Responsive Typography */
@media (min-width: 1200px) {
    .site-title { font-size: 2.2rem; }
    .hero-section h1 { font-size: 5.5rem; }
    .hero-section .lead { font-size: 1.8rem; }
    .section-title { font-size: 3rem; }
    .cta-section h2 { font-size: 3.5rem; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .site-title { font-size: 2rem; }
    .hero-section h1 { font-size: 4rem; }
    .hero-section .lead { font-size: 1.3rem; }
    .section-title { font-size: 2.2rem; }
    .cta-section h2 { font-size: 3rem; }
}

@media (max-width: 767px) {
    .site-title { font-size: 1.25rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .lead { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
    .cta-section h2 { font-size: 2rem; }

    .navbar-brand .logo-img {
        height: 30px;
    }


    .feature-block {
        max-width: 100%;
    }

    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner p {
        margin-bottom: 1rem !important;
    }
}

/* Ensure buttons don't clip text */
.btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

/* Mobile navigation menu */
@media (max-width: 1100px) {
    .navbar-nav {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1101px) {
    .navbar-nav {
        display: flex !important;
    }
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
}
/*
 * Base styles for the complianceVaultNode container
 * Provides internal spacing for its content.
 */
.complianceVaultNode {
    padding: 20px; /* Padding on all sides for internal content */
}

/*
 * Heading styles for h1 to h5
 * Designed to be moderate in size, not overly large.
 */
.complianceVaultNode h1 {
    font-size: 1.8rem;      /* Main heading font size, moderate */
    line-height: 1.2;       /* Line height for readability */
    font-weight: 700;       /* Bold font weight */
    margin-top: 2em;        /* Top margin to separate from preceding content */
    margin-bottom: 0.8em;   /* Bottom margin to separate from following content */
}

.complianceVaultNode h2 {
    font-size: 1.6rem;      /* Second level heading font size */
    line-height: 1.3;
    font-weight: 600;       /* Semi-bold font weight */
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}

.complianceVaultNode h3 {
    font-size: 1.4rem;      /* Third level heading font size */
    line-height: 1.4;
    font-weight: 600;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.complianceVaultNode h4 {
    font-size: 1.2rem;      /* Fourth level heading font size */
    line-height: 1.5;
    font-weight: 500;       /* Medium font weight */
    margin-top: 1.4em;
    margin-bottom: 0.5em;
}

.complianceVaultNode h5 {
    font-size: 1.1rem;      /* Fifth level heading font size, slightly larger than body text */
    line-height: 1.5;
    font-weight: 500;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

/*
 * Paragraph styles
 * Standard body text formatting for readability.
 */
.complianceVaultNode p {
    font-size: 1rem;        /* Standard paragraph font size (e.g., 16px) */
    line-height: 1.6;       /* Optimal line height for readability */
    margin-top: 0;          /* No top margin if following another block element */
    margin-bottom: 1em;     /* Bottom margin to separate paragraphs */
}

/*
 * Unordered list styles
 * Provides standard bullet points and spacing.
 */
.complianceVaultNode ul {
    font-size: 1rem;        /* Inherit or set base font size for list items */
    margin-top: 1em;        /* Top margin for the list */
    margin-bottom: 1em;     /* Bottom margin for the list */
    padding-left: 25px;     /* Indentation for bullet points */
    list-style-type: disc;  /* Standard disc bullet style */
}

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


@media (max-width: 991px) {
    .navbar-nav {
        display: block !important;
    }
}

#home, #about, #services, #projects, #tariffs, #faq, #blog, #contact, #testimonials{
    overflow: hidden !important;
}