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

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

/* Custom Colors */
:root {
    --primary-blue: rgb(30, 60, 90);
    --dark-blue: rgb(20, 40, 60);
    --light-blue: rgb(230, 240, 250);
    --vibrant-pink: rgb(255, 105, 180);
    --dark-text: rgb(20, 20, 20);
    --light-text: rgb(248, 249, 250);
}

.text-primary {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
}

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

.btn-pink {
    background-color: var(--vibrant-pink);
    border-color: var(--vibrant-pink);
    transition: all 0.3s ease;
    color: white;
}

.btn-pink:hover {
    background-color: darken(var(--vibrant-pink), 10%);
    border-color: darken(var(--vibrant-pink), 10%);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

/* Typography */
.section-title {
    color: var(--dark-text);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Header & Navigation */
.navbar-brand span {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
}

.nav-link {
    font-weight: 500;
    color: var(--light-text) !important;
}

.nav-link:hover {
    color: var(--vibrant-pink) !important;
}

.nav-link.active {
    color: var(--vibrant-pink) !important;
    border-bottom: 2px solid var(--vibrant-pink);
}

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

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

@media (min-width: 1200px) {
    .offcanvas {
        visibility: hidden;
    }
}

/* Hero Section */
.hero-section {
    background-image: url('img/pics/hero-background-pattern_4.jpg');
    background-size: cover; /* Ensure pattern covers the area */
    background-position: 0% 0%; /* Initial position */
    animation: slideBackground 40s linear infinite;
    position: relative;
    overflow: hidden;
}

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

@keyframes slideBackground {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

/* About Us Section */
.badge-experience {
    background: linear-gradient(to bottom, var(--vibrant-pink), #8a2be2); /* Pink to Purple gradient */
    padding: 1.5rem !important;
    font-size: 1rem;
    line-height: 1.2;
    min-width: 120px;
    border-radius: 0.75rem !important;
}

/* Our Services Section */
.service-block {
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-block .border-end {
    border-color: rgba(var(--primary-blue), 0.3) !important;
}

/* Key Features & Industries We Serve Tabs */
.nav-tabs .nav-link {
    color: var(--primary-blue);
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: var(--vibrant-pink);
    border-bottom-color: var(--vibrant-pink);
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: var(--vibrant-pink);
}

.tab-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Pricing Plans Section */
.card {
    border-radius: 0.75rem;
    overflow: hidden;
}

.card.border-primary {
    border-color: var(--vibrant-pink) !important;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-body .list-unstyled {
    flex-grow: 1;
}

.select-tariff-btn {
    text-decoration: none !important;
}

/* Our Team Section */
.custom-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.custom-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

/* FAQ Section */
.accordion-button {
    color: var(--dark-text);
    background-color: #f0f4f8;
    border-bottom: 1px solid #dee2e6;
}

.accordion-button:not(.collapsed) {
    color: var(--vibrant-pink);
    background-color: #e9ecef;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

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

.accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
}

/* Contact Form Section */
.form-control, .form-select {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

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

.form-control:focus, .form-select:focus {
    border-color: var(--vibrant-pink);
    box-shadow: 0 0 0 0.25rem rgba(var(--vibrant-pink), 0.25);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-text);
}

.form-label {
    color: var(--light-text);
    font-weight: 500;
}

.invalid-feedback {
    color: #ffc107; /* Warning yellow for better contrast */
}

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

/* Footer */
footer {
    background-color: var(--dark-blue) !important;
    color: var(--light-text);
}

footer a {
    color: var(--light-text);
}

footer a:hover {
    color: var(--vibrant-pink);
}

footer .text-secondary {
    color: rgba(248, 249, 250, 0.6) !important;
}

/* Mobile Adaptations */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem; /* ~35px */
    }
    .hero-subtitle {
        font-size: 1.1rem; /* ~18px */
    }
    .section-title {
        font-size: 1.5rem; /* ~24px */
    }
    .navbar-brand span {
        font-size: 1.1rem;
    }
    .offcanvas-body .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
    .badge-experience {
        padding: 1rem !important;
        font-size: 0.9rem;
        min-width: 100px;
    }
    .badge-experience span.fs-3 {
        font-size: 1.8rem !important;
    }
    .service-block .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(var(--primary-blue), 0.3) !important;
        padding-bottom: 1rem !important;
        margin-bottom: 1rem;
    }
    .service-block .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .nav-tabs .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
    .nav-tabs .nav-link {
        white-space: normal;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .hero-title {
        font-size: 3rem; /* ~48px */
    }
    .hero-subtitle {
        font-size: 1.25rem; /* ~20px */
    }
    .section-title {
        font-size: 2rem; /* ~32px */
    }
    .navbar-brand span {
        font-size: 1.5rem;
    }
    .nav-tabs .nav-link {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem; /* 72px */
    }
    .hero-subtitle {
        font-size: 1.5rem; /* 24px */
    }
    .section-title {
        font-size: 2.8rem; /* 44.8px */
    }
    .navbar-brand span {
        font-size: 1.8rem;
    }
}
/* Main wrapper for policy content, providing overall padding and centering */
.policyScopeWrap {
    padding: 60px 10px; /* Top/bottom padding 60px, left/right padding 20px */
    max-width: 960px; /* Limits content width for better readability on large screens */
    margin: 0 auto; /* Centers the content wrapper horizontally */

    .contact-information, .access-to-information, .information-collection, p {
        word-wrap: break-word;
    }
    
}

/* Heading 1 styles: moderately sized for main section titles */
.policyScopeWrap h1 {
    font-size: 2.2rem; /* Approximately 35px if base font is 16px */
    line-height: 1.2;
    margin-bottom: 1.5rem; /* Space below the heading */
    font-weight: 700; /* Bold */
    color: #333; /* Dark grey for good contrast */
}

/* Heading 2 styles: slightly smaller for sub-sections */
.policyScopeWrap h2 {
    font-size: 1.8rem; /* Approximately 29px */
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* Heading 3 styles: for smaller sub-headings */
.policyScopeWrap h3 {
    font-size: 1.5rem; /* Approximately 24px */
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #444;
}

/* Heading 4 styles: for minor headings or strong emphasis */
.policyScopeWrap h4 {
    font-size: 1.2rem; /* Approximately 19px */
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #555;
}

/* Heading 5 styles: for very small headings or labels */
.policyScopeWrap h5 {
    font-size: 1.1rem; /* Approximately 17.6px */
    line-height: 1.6;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #666;
}

/* Paragraph styles: standard body text with good readability */
.policyScopeWrap p {
    font-size: 1.1rem; /* Slightly larger than default for better readability */
    line-height: 1.7; /* Generous line spacing */
    margin-bottom: 1.5rem; /* Space between paragraphs */
    color: #333;
}

/* Unordered list styles: provides default bullet points and indentation */
.policyScopeWrap ul {
    list-style-type: disc; /* Standard round bullet points */
    padding-left: 25px; /* Indentation for bullet points */
    margin-bottom: 1.5rem; /* Space after the entire list */
    color: #333;
}

/* List item styles: ensures individual list items are spaced and readable */
.policyScopeWrap li {
    font-size: 1.1rem; /* Matches paragraph font size for consistency */
    line-height: 1.7; /* Matches paragraph line spacing */
    margin-bottom: 0.5rem; /* Space between individual list items */
}

/* Optional: Removes bottom margin from the last paragraph or list in the wrapper */
.policyScopeWrap p:last-child,
.policyScopeWrap ul:last-child {
    margin-bottom: 0;
}

#features {
    .nav-item button {
        color: var(--primary-blue) !important;
    }
}

#industries {
    .nav-item button {
        color: var(--primary-blue) !important;
    }
}

.form-select {
    position: relative;
    background-image: url('./img/caret.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px 24px;
}

.form-control:focus, .form-select:focus {
    background: #2c3e50;;
}
