h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
}

/* Global Typography */
h1, .display-3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}
h2, .section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--bs-primary);
    font-weight: 700;
}
h3, .h4 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
.navbar-brand .site-name {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
}
.nav-link {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* Custom Colors */
:root {
    --bs-primary: #34495e; /* Deep Blue-Grey */
    --bs-secondary: #7f8c8d; /* Soft Grey */
    --bs-teal: #1abc9c; /* Teal */
    --bs-pink: #e91e63; /* Pink */
    --bs-purple: #9c27b0; /* Purple */
    --bs-light-grey: #f8f9fa;
    --bs-gradient-pink-start: #e91e63;
    --bs-gradient-pink-end: #9c27b0;
    --bs-gradient-teal-start: #1abc9c;
    --bs-gradient-teal-end: #3498db;
}

.text-primary {
    color: var(--bs-primary) !important;
}
.text-secondary {
    color: var(--bs-secondary) !important;
}
.text-teal {
    color: var(--bs-teal) !important;
}
.bg-light-grey {
    background-color: var(--bs-light-grey) !important;
}
.bg-white-opacity {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-pill {
    border-radius: 50rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-decoration: none;
}
.btn-gradient-pink {
    background: linear-gradient(45deg, var(--bs-gradient-pink-start), var(--bs-gradient-pink-end));
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-gradient-pink:hover {
    background: linear-gradient(45deg, var(--bs-gradient-pink-end), var(--bs-gradient-pink-start));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-gradient-teal {
    background: linear-gradient(45deg, var(--bs-gradient-teal-start), var(--bs-gradient-teal-end));
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-gradient-teal:hover {
    background: linear-gradient(45deg, var(--bs-gradient-teal-end), var(--bs-gradient-teal-start));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar-transparent .navbar-brand .site-name {
    color: white;
}
.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.7);
}
.navbar-transparent .nav-link:hover {
    color: white;
}

.sticky-navbar {
    background-color: white !important;
    color: var(--bs-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.sticky-navbar .navbar-brand .site-name {
    color: var(--bs-primary);
}
.sticky-navbar .nav-link {
    color: var(--bs-primary) !important;
}
.sticky-navbar .nav-link:hover {
    color: var(--bs-teal);
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.sticky-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}
.sticky-navbar .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%2852, 73, 94, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas-header {
    color: var(--bs-primary);
    background-color: white !important;
}
.offcanvas-body .nav-link {
    color: white;
}
.offcanvas-body .nav-link:hover {
    color: var(--bs-teal);
}
.logo {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #8e44ad 100%); /* Deep blue to purple */
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animations */
.animate-fade-slide-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-fade-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-fade-slide-up.delay-1 {
    transition-delay: 0.2s;
}
.animate-fade-slide-up.delay-2 {
    transition-delay: 0.4s;
}
.animate-fade-slide-up.delay-3 {
    transition-delay: 0.6s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}
.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}
.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}
.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}
.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}

/* About Section */
.core-values-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}
.core-values-list li i {
    margin-top: 0.2rem;
    min-width: 24px;
}
.tagline-box {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.tagline-box h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

/* Services Section */
.services-section .nav-pills .nav-link {
    background-color: transparent;
    color: var(--bs-primary);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
    transition: all 0.3s ease;
    font-weight: 500;
}
.services-section .nav-pills .nav-link.active,
.services-section .nav-pills .nav-link:hover {
    background-color: var(--bs-teal);
    color: white;
}
.services-section .tab-content img {
    max-height: 450px;
    width: 100%;
    object-fit: fill;
}

/* Work Process Section */
.process-step .icon-wrapper {
    height: 80px;
    width: 80px;
    background-color: var(--bs-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
}
.process-step .card {
    border: none;
}

/* FAQ & Industries Section */
.accordion-item {
    border: none;
}
.accordion-button {
    background-color: white;
    color: var(--bs-primary);
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
    color: white;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.accordion-body {
    background-color: white;
    border-top: 1px solid var(--bs-light-grey);
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Performance Statistics */
.stats-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #5a6d80 100%);
}
.progress {
    height: 25px;
}
.progress-bar {
    transition: width 1.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Testimonials Section */
.testimonial-card {
    border: none;
}
.testimonial-card .avatar-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--bs-teal);
}
.testimonial-card .quote-text {
    font-style: italic;
    color: #555;
}

/* CTA Multi-step */
.cta-multi-section {
    background: url('/sitefiles/ui/visuals/content/cta-tv-bg.png') center center / cover no-repeat;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
}
.cta-multi-section .overlay {
    background-color: rgba(0, 0, 0, 0.6);
}
.cta-step {
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cta-step.d-none {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
.cta-step:not(.d-none) {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-section .card {
    border: none;
}
.contact-section .icon-wrapper {
    height: 70px;
    width: 70px;
    background-color: var(--bs-light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--bs-primary);
}
.email-break-word {
    word-break: break-all;
}

/* Footer */
.site-footer {
    background-color: #212529 !important;
}
.site-footer .logo {
    filter: brightness(0) invert(1);
}
.site-footer .site-name {
    color: white;
}
.site-footer a {
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: white !important;
}

/* Cookie Consent Modal */
#cookieConsentModal {
    z-index: 1060; /* Higher than other modals if needed */
}
#cookieSettingsFooter {
    border-top: 1px solid var(--bs-light-grey);
    padding-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav {
        width: 100%;
    }
    .navbar-expand-lg .offcanvas-body .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 5rem;
    }
    h1, .display-3 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
    h2, .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    h3, .h4 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }
    .navbar-brand .site-name {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .lead {
        font-size: 1rem;
    }
    .btn-pill {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .offcanvas-body .nav-link {
        font-size: 1.1rem;
    }
    .services-section .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        margin-bottom: 1.5rem !important;
        padding-bottom: 0.5rem;
    }
    .services-section .nav-pills .nav-link {
        min-width: fit-content;
        padding: 0.75rem 1rem;
    }
    .services-section .tab-content {
        padding: 1.5rem !important;
    }
    .site-footer .col-md-6.text-md-end {
        text-align: start !important;
    }
    .site-footer .text-white-50.text-decoration-none.me-3 {
        margin-right: 0.5rem !important;
    }
    .site-footer .text-white-50.text-decoration-none {
        display: block;
        margin-bottom: 0.5rem;
    }
    .services-section .tab-content img {
        max-height: 250px;
    }
}

.rightsCloudWrap {
    // Container for rights content, setting internal padding
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 25px;
    /* You can use shorthand: padding: 20px 25px; */
    /* Add max-width if you want to prevent content from stretching too wide on large screens */
    /* max-width: 960px; */
    /* margin: 0 auto; // Center the container if max-width is set */
}

.rightsCloudWrap h1 {
    // Heading 1 styles (not large)
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.rightsCloudWrap h2 {
    // Heading 2 styles
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
}

.rightsCloudWrap h3 {
    // Heading 3 styles
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
}

.rightsCloudWrap h4 {
    // Heading 4 styles
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.rightsCloudWrap h5 {
    // Heading 5 styles
    font-size: 1em; /* Often just bolded at base font size */
    font-weight: bold;
    line-height: 1.6;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
}

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

.rightsCloudWrap ul {
    // Unordered list styles
    list-style-type: disc; /* Default bullet style */
    margin-top: 0;
    margin-bottom: 1em; /* Space after the list */
    padding-left: 1.5em; /* Indent for bullet points */
}

.rightsCloudWrap ol {
    // Ordered list styles (included for completeness)
    list-style-type: decimal; /* Default numbering style */
    margin-top: 0;
    margin-bottom: 1em; /* Space after the list */
    padding-left: 1.8em; /* Slightly more indent for numbers */
}

.rightsCloudWrap li {
    // List item styles
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5;
}

/* Optional: Reset top margin for the first element inside the wrap */
.rightsCloudWrap h1:first-child,
.rightsCloudWrap h2:first-child,
.rightsCloudWrap h3:first-child,
.rightsCloudWrap h4:first-child,
.rightsCloudWrap h5:first-child,
.rightsCloudWrap p:first-child,
.rightsCloudWrap ul:first-child,
.rightsCloudWrap ol:first-child {
    margin-top: 0;
}
