/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

/* Responsive Typography */
.display-4 {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Mobile to Desktop */
}

.display-5 {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem); /* Mobile to Desktop */
}

.site-title {
    font-size: clamp(1rem, 4vw, 1.5rem);
}

.site-title-footer {
    font-size: clamp(1rem, 3vw, 1.25rem);
}

.navbar-brand img {
    height: clamp(30px, 8vw, 40px) !important;
}

/* Navbar */
.navbar-brand .site-title {
    color: var(--bs-dark);
}

.navbar-nav .nav-link {
    color: var(--bs-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.offcanvas-header .offcanvas-title {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* Adjust for fixed navbar */
}

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

.hero-section .badge-container {
    border-color: var(--bs-primary) !important;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    max-width: 90%;
}

.hero-section .hero-logo {
    height: 60px;
    width: auto;
}

.hero-section h1 {
    color: #fff;
    margin-bottom: 0 !important;
}

.hero-section .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #0056b3; /* Darker shade of primary */
    border-color: #0056b3;
}

/* About Section - Working Process */
.about-section .process-step-item h3 {
    color: var(--bs-primary);
}

.progress-bar-container {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--bs-info); /* Bright blue/cyan */
    height: 100%;
    width: 0; /* Initial width for animation */
    transition: width 1.5s ease-out;
}

/* Services Section */
.services-section .nav-pills .nav-link {
    color: var(--bs-dark);
    background-color: #f1f1f1;
    margin-bottom: 10px;
    border-radius: 0.5rem;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.services-section .nav-pills .nav-link.active,
.services-section .nav-pills .nav-link:hover {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateX(5px);
}

.services-section .service-icon {
    font-size: 3rem;
    color: var(--bs-primary);
}

.services-section .service-content {
    border: 1px solid #dee2e6;
}

.services-section .service-illustration {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

/* Portfolio Section */
.portfolio-section .accent-number {
    color: var(--bs-warning); /* Yellow-orange accent */
    font-weight: bold;
    margin-right: 8px;
}

.portfolio-section ol {
    padding-left: 0;
}

.portfolio-section ol li {
    display: flex;
    align-items: flex-start;
}

.portfolio-section .img-fluid {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

/* Industries Section */
.industries-section .accordion-button {
    font-weight: 600;
    color: var(--bs-dark);
}

.industries-section .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #e7f1ff; /* Light primary background */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.industries-section .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.industries-section .accordion-item {
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* How It Works Section */
.howitworks-section .process-diagram-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    padding: 40px 0;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.howitworks-section .process-step {
    flex: 1;
    min-width: 150px; /* Minimum width for steps */
    max-width: 200px;
    margin: 15px;
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howitworks-section .process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.howitworks-section .icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 15px auto;
}

.howitworks-section .process-line {
    position: absolute;
    height: 2px;
    background-color: #ccc;
    z-index: 1;
    left: 10%;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: none; /* Hidden by default, will be managed by JS for animation */
}

@media (min-width: 768px) {
    .howitworks-section .process-line {
        display: block;
    }
    .howitworks-section .process-diagram-container {
        flex-wrap: nowrap;
    }
    .howitworks-section .process-step {
        margin: 0 15px;
    }
}

/* Team Section */
.team-grid {
    gap: 20px;
}

.team-member {
    background-color: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: 280px; /* Base width for members */
    max-width: 300px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.highlighted-member {
    transform: scale(1.05);
    background-color: var(--bs-primary-bg-subtle);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.highlighted-member .team-avatar {
    border-color: var(--bs-primary);
}

/* FAQ Section */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--bs-dark);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.faq-section .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.faq-section .accordion-item {
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Contact Section */
.contact-section form {
    border: 1px solid #dee2e6;
}

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

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

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

/* Footer Section */
.footer-section {
    background-color: #212529 !important;
}

.footer-section .footer-tile {
    background-color: #343a40;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-section .footer-tile:hover {
    transform: translateY(-5px);
    background-color: #495057;
}

.footer-section .site-title-footer {
    color: #fff;
}

.footer-section h4 {
    color: #fff;
}

.footer-section a {
    color: #adb5bd !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#cookieConsentModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

#cookieConsentModal .modal-footer {
    border-top: none;
    padding-top: 0;
}

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

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

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

#cookieConsentModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#cookieConsentModal .btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

#cookieConsentModal .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

#cookieConsentModal .btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Mobile Specific Adjustments */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block;
    }
    .hero-section .badge-container {
        flex-direction: column;
        padding: 20px;
    }
    .hero-section .hero-logo {
        margin-bottom: 15px;
        margin-right: 0 !important;
    }
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 15px !important;
    }
    .hero-section .btn-lg {
        width: 100%;
    }
    .services-section .nav-pills {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }
    .services-section .nav-pills .nav-link {
        margin: 5px;
        flex-grow: 1;
        text-align: center;
    }
    .howitworks-section .process-diagram-container {
        flex-direction: column;
    }
    .howitworks-section .process-line {
        display: none; /* Hide lines on small screens */
    }
    .howitworks-section .process-step {
        margin-bottom: 20px;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-member {
        max-width: 90%;
    }
    .highlighted-member {
        transform: scale(1.02);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 60px;
    }
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .display-4 {
        font-size: 1.5rem;
    }
    .display-5 {
        font-size: 1.25rem;
    }
    .site-title {
        font-size: 1.1rem;
    }
    .site-title-footer {
        font-size: 1.1rem;
    }
    .navbar-brand img {
        height: 30px !important;
    }
    .offcanvas-header .offcanvas-title {
        font-size: 1.25rem;
    }
    .about-section .img-fluid {
        margin-top: 30px;
    }
    .portfolio-section .img-fluid {
        max-height: 250px;
    }
    .footer-section .footer-tile {
        margin-bottom: 20px;
    }
}
/*
 * Base styles for the legal content box.
 * Provides padding for better readability and separation.
 */
.legalFoldBox {
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
    padding-left: 24px;
}

/*
 * Heading 1 styles within .legalFoldBox.
 * Moderately sized for important section titles.
 */
.legalFoldBox h1 {
    font-size: 1.8rem; /* A good size for main titles, not excessively large */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    font-weight: 700; /* Bold */
    line-height: 1.2; /* Tighter line height for headings */
}

/*
 * Heading 2 styles within .legalFoldBox.
 * Slightly smaller than h1, for sub-sections.
 */
.legalFoldBox h2 {
    font-size: 1.5rem;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-weight: 700;
    line-height: 1.3;
}

/*
 * Heading 3 styles within .legalFoldBox.
 * For further sub-divisions.
 */
.legalFoldBox h3 {
    font-size: 1.3rem;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    font-weight: 600; /* Slightly less bold */
    line-height: 1.4;
}

/*
 * Heading 4 styles within .legalFoldBox.
 * For minor headings.
 */
.legalFoldBox h4 {
    font-size: 1.15rem;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.5;
}

/*
 * Heading 5 styles within .legalFoldBox.
 * Smallest heading, often used for minor details or labels.
 */
.legalFoldBox h5 {
    font-size: 1.05rem; /* Slightly larger than body text */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    font-weight: 500; /* Lighter weight to differentiate */
    line-height: 1.6;
}

/*
 * Paragraph styles within .legalFoldBox.
 * Standard font size and line height for readability.
 */
.legalFoldBox p {
    font-size: 1rem; /* Base font size (e.g., 16px) */
    line-height: 1.6; /* Generous line height for readability */
    margin-top: 0; /* Reset default browser margin-top */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered list styles within .legalFoldBox.
 * Adds indentation and vertical spacing.
 */
.legalFoldBox ul {
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 20px; /* Indent for bullet points */
    list-style-type: disc; /* Default bullet style */
}

/*
 * List item styles within .legalFoldBox.
 * Ensures consistent font size, line height, and spacing between items.
 */
.legalFoldBox li {
    font-size: 1rem; /* Inherit or explicitly set for consistency */
    line-height: 1.6; /* Consistent line height */
    margin-bottom: 0.5em; /* Space between list items */
}


.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 767px){
    .hero-section .badge-container{
        border-radius: 0 !important;
    }
}

section{
    overflow: hidden;
}