/* Custom Color Variables based on the image (approximated) */
:root {
    --color-domain: #3a7bd5;
    /* Blue */
    --color-subdomain: #4caf50;
    /* Green */
    --color-standards: #ffc107;
    /* Yellow */
    --color-indicators: #e63946;
    /* Red */
    --color-rubrics: #1976d2;
    /* Darker Blue */
    --color-evidence: #388e3c;
    /* Darker Green */
    --color-score: #ff9800;
    /* Orange/Gold */
    --color-maturity: #c62828;
    /* Deep Red */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
}


/* Optional: Add hover/active color */
nav a:hover,
#mobileMenu a:hover {
    /* color: #4285F4; */
    color: blue;
}

/* For smooth mobile dropdown animation */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Floating contact button */
.contact-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    padding: 14px 20px;
    border-radius: 999px;
    color: white;
    /* background: #4285F4; */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

/* .flow-card::after {
    content: "→";
    margin-left: 12px;
    color: #4285F4;
    font-weight: 700;
}

.flow-card:last-child::after {
    content: "";
} */

.domain-para {
    width: 55%;
    padding-bottom: 10px;
}

.global-text {
    /* box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; */
    /* box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; */
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */

}

.global-icon {
    /* color: #34A853; */
    color: #198754;
}


.card {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    border-radius: 14px;
}

/* .main-container {
            width: 1200px !important;
} */

.main-box {
    display: flex;
    flex-direction: row;
}

.global-card {
    /* box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; */
    /* box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; */
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
}


/* .disabled-link {
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: none;
} */

.domain-btn {
    background-color: #FBBC05;
    color: white !important;
}

.level-size {
    font-size: 19px;
}

.main-content {
    max-width: 100% !important;
}

.squaa-card {
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    /* box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.squaa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12); */
}


/* Container for each step - Now a rectangular card */
.bs-step-card {
    position: relative;
    background-color: #e9ecef;
    /* padding: 20px 30px 20px 100px; */
    padding: 20px 10px 10px 90px;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #0d47a1;
}

.bs-step-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    background-color: #dee2e6;
    /* transform: scale(1.05); */
}

.bs-step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 0;
    left: 0;
    /* width: 90px; */
    width: 70px;
    height: 100%;
    /* background-color: #0d47a1; */
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    /* font-size: 2rem; */
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.bs-step-content {
    font-weight: 600;
    color: #212529;
    text-align: left;
    font-size: 1.15rem;
}

.self-card {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* smooth animation */
}

.self-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.review-card {
    background: linear-gradient(135deg, #fb923c, #fb7a2c);
    border-radius: 16px;
}

.reflect-card {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
}

.respond-card {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 16px;
}

.rate-card {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 16px;
}

.cycle-content {
    display: flex;
    justify-content: space-between;
}

.more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-btn a {
    border-radius: 16px;
}



/* .clt-card {
    display: flex;
    justify-content: center;
    align-items: center;
} */


/* Ensure no staggering margins are applied on large screens */
@media (min-width: 992px) {
    .step-row .col-lg-12 .bs-step-card {
        margin-left: 0 !important;
        /* Override any staggering rules */
    }
}


/* Card and Text Box Styling */
.content-card {
    /* background-color: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    /* padding: 30px; */
    /* margin-bottom: 20px; */
}

.suggested-steps-box {
    background-color: #fffbe6;
    border: 2px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
}

/* Flowchart Element Styling */
.flow-block {
    padding: 10px 20px;
    border-radius: 20px;
    /* Pill shape */
    font-weight: bold;
    text-align: center;
    margin: 10px auto;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    /* Control width of the blocks */
}

.flow-start {
    background-color: #17a2b8;
    /* Info blue/cyan */
}

.flow-phase {
    color: #333;
    font-size: 1.2rem;
    font-style: italic;
    margin: 10px auto;
    text-align: center;
}

.flow-planning {
    background-color: #ffc107;
    color: #333;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    color: #6c757d;
    /* height: 30px; */
}

/* Suggested Steps Header */
.suggested-header {
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Text Styling */
.phase-title {
    color: #007bff;
    font-weight: 600;
}

.clt-definition {
    /* font-size: 1rem; */
    /* background-color: #e9ecef; */
    /* padding: 10px; */
    /* border-left: 5px solid #007bff; */
    /* border-left: 5px solid #ffc107; */
    border-radius: 16px;
}


.flow-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    /* min-height: 180px; */
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    /* width: 30px; */
    /* height: 30px; */
    /* line-height: 28px; */
    border-radius: 50%;
    /* font-size: 1.2rem; */
    font-weight: 700;
    color: #fff;
    border: 2px solid #fff;
}

/* Color Classes for each Step */
.step-1 {
    background-color: var(--color-domain);
    color: #fff;
}

.step-1 .step-number {
    background-color: var(--color-domain);
}

.step-1 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-2 {
    background-color: var(--color-subdomain);
    color: #fff;
}

.step-2 .step-number {
    background-color: var(--color-subdomain);
}

.step-2 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-3 {
    background-color: var(--color-standards);
    color: #fff;
    /* color: #333; */
}

.step-3 .step-number {
    background-color: var(--color-standards);
    /* border-color: #333; */
}

.step-3 .card-title {
    /* color: #333; */
    color: #fff;
}

.step-3 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-4 {
    background-color: var(--color-indicators);
    color: #fff;
}

.step-4 .step-number {
    background-color: var(--color-indicators);
}

.step-4 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-5 {
    /* background-color: var(--color-rubrics); */
    background: linear-gradient(135deg, #fb923c, #fb7a2c);
    color: #fff;
}

.step-5 .step-number {
    /* background-color: var(--color-rubrics); */
    background-color: linear-gradient(135deg, #fb923c, #fb7a2c);
}

.step-5 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-6 {
    background-color: var(--color-maturity);
    color: #fff;
}

.step-6 .step-number {
    /* background-color: var(--color-evidence); */
    background-color: var(--color-maturity);
}

.step-6 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-7 {
    background-color: var(--color-score);
    /* color: #333; */
}

.step-7 .step-number {
    background-color: var(--color-score);
    /* border-color: #333; */
}

.step-7 .card-title {
    color: #fff;
    /* color: #333; */
}

.step-7 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.step-8 {
    /* background-color: var(--color-maturity); */
    background-color: var(--color-evidence);
    color: #fff;
}

.step-8 .step-number {
    /* background-color: var(--color-maturity); */
    background-color: var(--color-evidence);
}

.step-8 .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* @media (max-width: 575.98px) {
    .container {
        max-width: 95% !important;
    }
} */

@media (max-width: 991.98px) {
    .domain-para {
        width: 100%;
        padding-bottom: 5px;

    }

    .cycle-content {
        display: flex;
        flex-direction: column;
    }

    .more-btn {
        display: flex;
        justify-content: flex-start;
    }

    .bs-step-content {
    font-size: 1rem;
}

.bs-step-card::before{
    font-size: 1.5rem;
}

}




@media (max-width:640px) {
    .flow-card::after {
        display: none;
    }
}


@media (min-width: 576px) {
    .container {
        max-width: 95% !important;
    }
}