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

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529;
    font-weight: 600;
}

.text-primary {
    color: #28a745 !important; /* Green */
}

.bg-primary {
    background-color: #28a745 !important;
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-outline-primary {
    color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #28a745;
    color: #fff;
}

.custom-btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    transition: all 0.3s ease;
}

.custom-btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.text-success {
    color: #ffc107 !important; /* Yellow */
}

.text-info {
    color: #007bff !important; /* Blue */
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.navbar-brand .text-primary {
    color: #28a745 !important;
}

.header {
    z-index: 1030;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.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: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-section .lead {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-section .small-text {
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* About Us Section - Milestones */
.about-section .timeline-wrapper {
    position: relative;
}

.about-section .milestone-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 3px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-section .milestone-item i {
    position: absolute;
    left: -18px;
    top: 1.5rem;
    background-color: #28a745;
    color: #fff;
    border-radius: 50%;
    padding: 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.about-section .milestone-item img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    max-width: 150px;
    height: 100px;
}

/* Our Approach, Prices, Blog Cards */
.card {
    border-radius: 12px;
    overflow: hidden;
}

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

.service-card .card-body, .portfolio-card .card-body, .blog-card .card-body {
    display: flex;
    flex-direction: column;
}

.service-card .card-text.flex-grow-1, .blog-card .card-text.flex-grow-1 {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-card:hover, .portfolio-card:hover, .blog-card:hover, .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
}

/* How We Work Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    text-align: left;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: #28a745;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 0 5px #f8f9fa;
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: calc(50% - 25px);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: calc(50% - 25px);
}

.timeline-content {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(-50%);
    }
}

/* Testimonials Carousel */
.testimonial-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff !important;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.testimonial-card .circular-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #28a745;
}

.testimonial-card .quote-text::before {
    content: '\201C'; /* Left double quotation mark */
    font-size: 4rem;
    color: #ffc107;
    line-height: 0.5;
    display: block;
    margin-bottom: -20px;
    margin-top: -10px;
    opacity: 0.7;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-image: none;
    font-size: 1.5rem;
}

.carousel-control-prev-icon::before {
    content: '\F284'; /* bi-chevron-left */
    font-family: 'bootstrap-icons' !important;
    color: #fff;
}

.carousel-control-next-icon::before {
    content: '\F285'; /* bi-chevron-right */
    font-family: 'bootstrap-icons' !important;
    color: #fff;
}

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

/* Final CTA / Contact Section */
.contact-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
    padding-bottom: 100px;
}

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

.contact-section .card {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 15px;
}

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

.contact-section ul {
    padding-left: 0;
}

.contact-section ul li {
    font-size: 1.1rem;
}

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

/* Immersive Footer */
.footer-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.footer-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.footer-section .lead {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-links li {
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    max-width: 350px;
    z-index: 1050;
}

.cookie-banner .btn {
    width: 100%;
}

/* Responsive Typography */
.navbar-brand span {
    font-size: clamp(1.25rem, 4vw, 1.8rem) !important; /* Mobile to Tablet/Desktop */
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3.5vw, 2.2rem);
}

h4 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
}

h5 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

@media (max-width: 767.98px) {
    .display-1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
    }
    .display-5 {
        font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
    }
    .navbar-nav {
        text-align: center;
    }
    .offcanvas-body .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-section .small-text {
        font-size: 0.8rem;
    }
    .about-section .milestone-item {
        padding-left: 1rem;
        border-left: none;
    }
    .about-section .milestone-item i {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 1rem;
    }
    .about-section .milestone-item img {
        margin-top: 1rem !important;
        margin-left: 0 !important;
        max-width: 100%;
        height: auto;
    }
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    .timeline-icon {
        left: 20px;
        transform: translateX(-50%);
    }
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
    .footer-links li {
        margin: 0 5px;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .display-1 {
        font-size: clamp(3rem, 7vw, 4rem) !important;
    }
    .display-5 {
        font-size: clamp(2rem, 5vw, 2.5rem) !important;
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    .navbar-brand span {
        font-size: clamp(1.5rem, 3vw, 2rem) !important;
    }
}

@media (max-width: 1100px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1101px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
    .navbar-collapse {
        display: flex !important;
    }
}
/*
 * New stock styles for .complianceVaultNode content
 * This section provides basic typography styling for headings, paragraphs, and lists.
 */

/* Parent container padding */
.complianceVaultNode {
    padding: 1.5em 1em; /* Adds vertical and horizontal padding to the content area */
}

/* Heading 1 styles */
.complianceVaultNode h1 {
    font-size: 1.8rem; /* Moderate font size for main headings */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    line-height: 1.2; /* Line height for readability */
}

/* Heading 2 styles */
.complianceVaultNode h2 {
    font-size: 1.5rem; /* Slightly smaller than h1 */
    margin-top: 1.2em;
    margin-bottom: 0.7em;
    line-height: 1.25;
}

/* Heading 3 styles */
.complianceVaultNode h3 {
    font-size: 1.25rem; /* Standard sub-heading size */
    margin-top: 1em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

/* Heading 4 styles */
.complianceVaultNode h4 {
    font-size: 1.1rem; /* Smaller sub-heading */
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

/* Heading 5 styles */
.complianceVaultNode h5 {
    font-size: 1rem; /* Often used for minor labels or emphasis, similar to body text size */
    margin-top: 0.7em;
    margin-bottom: 0.4em;
    line-height: 1.4;
}

/* Paragraph styles */
.complianceVaultNode p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

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

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