/* Global Styles */
:root {
    --primary-color: #007bff; /* Bootstrap primary blue */
    --secondary-color: #6c757d;
    --dark-bg: #1a202c; /* Dark blue-grey */
    --light-text: #f8f9fa;
    --accent-color: #00bcd4; /* Light blue/cyan for accents */
    --card-bg: #2d3748; /* Slightly lighter dark for cards */
    --quote-accent: #ffc107; /* Orange/Yellow for quote icon */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--light-text);
    font-weight: 700;
}

.display-3, .display-5 {
    font-weight: 800;
}

/* Adaptive Typography for Headings */
h1 {
    font-size: 2.5rem; /* Desktop */
}
@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem; /* Tablet */
    }
}
@media (max-width: 767px) {
    h1 {
        font-size: 1.8rem; /* Mobile */
        line-height: 1.2;
    }
}

.site-name {
    font-size: 1.8rem; /* Desktop */
    font-weight: 700;
    color: var(--light-text);
}
@media (min-width: 768px) and (max-width: 1023px) {
    .site-name {
        font-size: 1.5rem; /* Tablet */
    }
}
@media (max-width: 767px) {
    .site-name {
        font-size: 1.25rem; /* Mobile */
    }
}

h2 {
    font-size: 2.2rem; /* Desktop */
}
@media (min-width: 768px) and (max-width: 1023px) {
    h2 {
        font-size: 2rem; /* Tablet */
    }
}
@media (max-width: 767px) {
    h2 {
        font-size: 1.5rem; /* Mobile */
    }
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    z-index: 1030;
}

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

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

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

.offcanvas {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

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

.offcanvas-title {
    color: var(--light-text);
}

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

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a111a 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('uploads/pics/dark-abstract-pattern_3.jpg') repeat;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.floating-card {
    max-width: 100%;
    height: auto;
    transform: rotate(10deg) translateY(0);
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: rotate(10deg) translateY(0); }
    50% { transform: rotate(12deg) translateY(-10px); }
    100% { transform: rotate(10deg) translateY(0); }
}

@media (min-width: 992px) {
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%); /* Diagonal cut */
        min-height: 90vh;
    }

    .floating-card {
        max-width: 80%;
    }
}

/* About Section */
.about-section {
    background-color: var(--card-bg);
    border-radius: 1rem;
    margin-top: -50px; /* Overlap with hero */
    position: relative;
    z-index: 2;
}

.about-features li i {
    min-width: 2rem;
}

/* Services Section */
.services-section {
    background-color: var(--dark-bg);
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    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.2);
}

.service-card .problem-block h4 {
    color: var(--primary-color);
}

.service-card .solution-block i {
    color: var(--accent-color);
}

/* Features Section */
.features-section {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.features-section h2, .features-section h5, .features-section p {
    color: var(--dark-bg);
}

.features-section .product-image-container {
    padding: 2rem;
    position: relative;
}

.features-section .product-image {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.feature-list {
    counter-reset: feature-counter;
}

.feature-list li {
    position: relative;
    padding-left: 3rem;
}

.feature-list .feature-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.feature-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.3);
}

.feature-point::before {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    z-index: 5;
}

.feature-point-1 {
    top: 20%;
    left: 25%;
}
.feature-point-1::before {
    width: 100px;
    height: 2px;
    top: 9px;
    left: 20px;
    transform: rotate(-15deg);
    transform-origin: left;
}

.feature-point-2 {
    top: 45%;
    left: 15%;
}
.feature-point-2::before {
    width: 120px;
    height: 2px;
    top: 9px;
    left: 20px;
    transform: rotate(5deg);
    transform-origin: left;
}

.feature-point-3 {
    top: 60%;
    left: 40%;
}
.feature-point-3::before {
    width: 80px;
    height: 2px;
    top: 9px;
    left: 20px;
    transform: rotate(20deg);
    transform-origin: left;
}

.feature-point-4 {
    top: 80%;
    left: 30%;
}
.feature-point-4::before {
    width: 110px;
    height: 2px;
    top: 9px;
    left: 20px;
    transform: rotate(-10deg);
    transform-origin: left;
}

/* Adjust lines for responsiveness */
@media (max-width: 991px) {
    .feature-point::before {
        display: none;
    }
    .feature-point {
        display: none;
    }
    .feature-list li {
        padding-left: 0;
        text-align: center;
    }
    .feature-list .feature-number {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Team Section */
.team-section {
    background-color: var(--card-bg);
}

.team-member-card {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.overlay-fact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.9);
    color: var(--light-text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    border-radius: inherit;
}

.team-member-card:hover .overlay-fact {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.team-member-card:hover .team-avatar {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Industries Section */
.industries-section {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.industries-section h2, .industries-section h3, .industries-section p {
    color: var(--dark-bg);
}

.industry-block {
    background-color: var(--light-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.industry-block h3 {
    font-size: 1.8rem;
    line-height: 1.3;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--dark-bg);
}

.steps-wrapper {
    position: relative;
    padding: 2rem 0;
}

.step-item {
    flex: 1;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.step-item i {
    color: var(--primary-color);
}

.step-arrow {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
    z-index: 0;
}

.steps-wrapper .step-item:nth-child(1) ~ .step-arrow:nth-of-type(1) {
    left: 30%;
    top: 50%;
    transform: translateY(-50%);
}

.steps-wrapper .step-item:nth-child(2) ~ .step-arrow:nth-of-type(2) {
    left: 65%;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .steps-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .step-arrow {
        transform: rotate(90deg) !important;
        position: static;
        margin: 1rem 0;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--card-bg);
}

.testimonial-card {
    max-width: 700px;
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.quote-text {
    position: relative;
    font-style: italic;
    padding-top: 1.5rem;
}

.quote-text::before {
    content: '\201C'; /* Unicode for left double quotation mark */
    font-family: 'Inter', sans-serif; /* Ensure it uses a font that supports this */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--quote-accent);
    line-height: 1;
    z-index: 0;
    opacity: 0.6;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    background-color: var(--dark-bg);
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--light-text);
    font-weight: 600;
    border-bottom: none;
    padding: 1rem 1.25rem;
    text-align: left;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #3a475a;
}

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

.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.accordion-button.collapsed .accordion-icon {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-body {
    background-color: #2a3340;
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.contact-section h2, .contact-section label {
    color: var(--dark-bg);
}

.contact-form-wrapper {
    background-color: var(--card-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper label {
    color: var(--light-text);
}

.form-control {
    background-color: #2a3340;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background-color: #3a475a;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: var(--light-text);
}

/* Footer */
.footer-section {
    background-color: #111827 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section .site-name {
    font-size: 1.5rem;
    color: var(--light-text);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.footer-section .list-inline-item + .list-inline-item {
    margin-left: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1040;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem 0.5rem 0 0;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateX(-50%) translateY(100%); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        border-radius: 0;
        left: 15px;
        right: 15px;
        transform: translateX(0%) !important;
    }
    .cookie-banner p {
        text-align: center;
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }
    .cookie-banner .d-flex {
        flex-direction: column;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }

    .testimonial-card.text-center.p-4.mx-auto{
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    }
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1050; /* Ensure it's above the banner */
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#cookieSettingsModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}
/* Base padding for the core slot container */
.complianceCoreSlot {
    padding: 25px 30px; /* Top/Bottom and Left/Right padding */
}

/* Heading styles */
.complianceCoreSlot h1 {
    font-size: 1.8em; /* Not too large, approximately 28.8px with a base of 16px */
    font-weight: 700; /* Stronger bold */
    line-height: 1.2;
    margin-top: 0; /* Remove default top margin for the first element */
    margin-bottom: 0.8em; /* Space below heading */
}

.complianceCoreSlot h2 {
    font-size: 1.5em; /* Approximately 24px */
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.5em; /* Space above, for separation from previous content */
    margin-bottom: 0.7em;
}

.complianceCoreSlot h3 {
    font-size: 1.25em; /* Approximately 20px */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.complianceCoreSlot h4 {
    font-size: 1.1em; /* Approximately 17.6px */
    font-weight: 500; /* Slightly less bold than h1-h3 */
    line-height: 1.4;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.complianceCoreSlot h5 {
    font-size: 1em; /* Base font size, approximately 16px */
    font-weight: 500;
    line-height: 1.4;
    margin-top: 1em;
    margin-bottom: 0.4em;
}

/* Paragraph styles */
.complianceCoreSlot p {
    font-size: 1em; /* Standard paragraph size */
    line-height: 1.6; /* Good readability */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1em; /* Space between paragraphs */
}

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

/* List item styles */
.complianceCoreSlot li {
    font-size: 1em; /* Inherit or explicitly set */
    line-height: 1.6; /* Match paragraph line-height for consistency */
    margin-bottom: 0.5em; /* Space between list items */
}

/* Remove bottom margin from the last paragraph or list in the slot for cleaner spacing */
.complianceCoreSlot p:last-child,
.complianceCoreSlot ul:last-child {
    margin-bottom: 0;
}


section{
    overflow: hidden;
}