@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-blue: #1d4ed8;
    --primary-hover: #1e3a8a;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-surface: #ffffff;
    --footer-bg: #0f172a;
    --border-light: #e2e8f0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.text-primary-accent {
    color: var(--primary-blue) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

p {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-blue);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link.active {
    color: var(--primary-blue) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Badge */
.badge-soft {
    background-color: #eff6ff;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    display: inline-block;
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.bg-light-blob {
    position: relative;
}

.bg-light-blob::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #eff6ff 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: #93c5fd;
    margin-bottom: 1rem;
}

.quote-icon svg {
    width: 32px;
    height: 32px;
}

/* Dashboard Background Crop Hack */
.dashboard-crop-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    background-color: #fff;
    /* Extra subtle border to match original card wrapper */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.wow-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

/* CTA Block */
.cta-block {
    background-color: var(--primary-blue);
    background-image: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 3rem 4rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-block h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Footer Element */
.footer-wrap {
    background-color: var(--footer-bg);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-wrap h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-circle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    font-size: 0.85rem;
}

/* Client Logos */
.client-logo {
    height: 32px;
    opacity: 0.5;
    transition: opacity 0.2s;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ---------------------------------------------------
   PRICING PAGE ASSESSMENTS & STYLES (2.png)
----------------------------------------------------- */

/* Pricing Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 600;
}
.switch-base {
    position: relative;
    width: 60px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 32px;
    cursor: pointer;
    transition: background 0.2s;
}
.switch-circle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.switch-base.active .switch-circle {
    transform: translateX(28px);
}
.switch-base.active {
    background: var(--primary-blue);
}

.save-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.3rem 0.8rem;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
}
.popular-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pricing-features svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Compare Table */
.compare-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.compare-table th,
.compare-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.compare-table th {
    font-weight: 700;
    color: var(--text-main);
}
.compare-table tbody tr:last-child td {
    border-bottom: none;
}
.col-highlight {
    background: #f8fafc; /* Very soft light blue/gray */
    border-left: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
}
.col-highlight-header {
    background: #f8fafc;
    border-top: 2px solid var(--primary-blue);
    border-left: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
}
.col-highlight-footer {
    background: #f8fafc;
    border-bottom: 2px solid var(--primary-blue);
    border-left: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Accordion Overrides */
.accordion-custom {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.accordion-custom .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    background: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}
.accordion-custom .accordion-item:last-child {
    margin-bottom: 0;
}
.accordion-custom .accordion-button {
    background: transparent;
    font-weight: 600;
    color: var(--text-main);
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}
.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background: #ffffff;
}
.accordion-custom .accordion-button::after {
    background-size: 1rem;
}
.accordion-custom .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------------------------------------------------
   FAQ PAGE ASSESSMENTS & STYLES (3.png)
----------------------------------------------------- */

/* Search Bar */
.faq-search-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    max-width: 650px;
    margin: 0 auto;
}
.faq-search-wrapper input {
    border: none;
    box-shadow: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: var(--text-main);
    flex-grow: 1;
}
.faq-search-wrapper input:focus {
    outline: none;
}
.faq-search-wrapper svg {
    color: var(--text-muted);
}

/* Topic Cards */
.topic-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.topic-card:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.06);
}
.topic-card svg {
    color: var(--primary-blue);
}

/* Merged Accordion (FAQ Page specific) */
.accordion-merged {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    /* In the reference, it sits on a very subtle shadowed container or just has borders */
    border: 1px solid var(--border-light);
}
.accordion-merged .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    border-radius: 0 !important;
    margin: 0;
    box-shadow: none;
}
.accordion-merged .accordion-item:last-child {
    border-bottom: none;
}
.accordion-merged .accordion-button {
    font-weight: 600;
    color: var(--text-main);
    padding: 1.5rem;
    background: transparent;
    box-shadow: none !important;
}
.accordion-merged .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: #eff6ff; /* soft primary background */
}
.accordion-merged .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    background-color: #eff6ff;
}

/* FAQ CTA Box */
.faq-cta-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0;
    border: 1px solid var(--border-light);
}
/* Graphic representation inside CTA */
.question-graphic {
    position: relative;
    width: 140px;
    height: 140px;
}
.question-bubble-main {
    position: absolute;
    top: 10px;
    left: 40px;
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
}
.question-bubble-main::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 5px;
    border-width: 15px 0 0 15px;
    border-style: solid;
    border-color: var(--primary-blue) transparent transparent transparent;
    transform: rotate(45deg);
}
.question-bubble-bg {
    position: absolute;
    top: 30px;
    left: 10px;
    width: 80px;
    height: 80px;
    background: #dbeafe; /* lighter blue behind main bubble */
    border-radius: 50%;
    z-index: 1;
}
.question-bubble-bg::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    border-width: 0 12px 12px 0;
    border-style: solid;
    border-color: transparent #dbeafe transparent transparent;
    transform: rotate(45deg);
}

/* ---------------------------------------------------
   CONTACT US PAGE STYLES (4.png)
----------------------------------------------------- */

/* Hero Info Chips */
.info-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    text-align: left;
}
.info-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eff6ff; /* soft blue */
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-chip-text {
    line-height: 1.2;
}

/* Generic White Bordered Card */
.contact-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    height: 100%;
}

/* Form Styling with Icons */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrapper svg {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    width: 18px;
    height: 18px;
}
.input-icon-wrapper .form-control {
    padding-left: 2.75rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    height: 48px;
    box-shadow: none;
    font-size: 0.95rem;
}
.input-icon-wrapper .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}
.form-control-textarea {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    width: 100%;
    resize: vertical;
    min-height: 120px;
    font-size: 0.95rem;
}
.form-control-textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    outline: none;
}

/* Right side Contact Info */
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
.contact-method:last-child {
    margin-bottom: 0;
}
.contact-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Map Section */
.map-container {
    width: 100%;
    height: 400px;
    background-color: #e2e8f0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Simulated Map Background */
    background-image: radial-gradient(circle at 50% 50%, #f1f5f9 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Grid pattern for simulated map */
.map-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(#cbd5e1 1px, transparent 1px), linear-gradient(90deg, #cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}
.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: var(--primary-blue);
    z-index: 2;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}

.floating-office-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 300px;
}

/* Bottom Newsletter Setup */
.newsletter-box-large {
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    border: 1px solid var(--border-light);
}

.envelope-graphic-container {
    position: relative;
    width: 150px;
    height: 120px;
}
.envelope-svg {
    width: 100%;
    height: 100%;
    color: #a5b4fc; /* subtle placeholder */
}
.notification-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ec4899; /* pinkish red */
    color: white;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
/* RTL Fixes */
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .switch-circle {
    left: auto;
    right: 4px;
}

[dir="rtl"] .switch-base.active .switch-circle {
    transform: translateX(-28px);
}

[dir="rtl"] .pricing-features svg {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .input-icon-wrapper svg {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .input-icon-wrapper .form-control {
    padding-left: 0.75rem;
    padding-right: 2.75rem;
}

[dir="rtl"] .faq-search-wrapper svg {
    margin-left: 0;
    margin-right: 0.5rem;
}
}
