



/* note */

:root {
  /* colors */
  --ns0-color-primary-hsl: 250, 84%, 54%;
  --ns0-color-bg-hsl: 0, 0%, 100%;
  --ns0-color-contrast-high-hsl: 230, 7%, 23%;
  --ns0-color-contrast-higher-hsl: 230, 13%, 9%;
  --ns0-color-success-hsl: 170, 78%, 36%;
  --ns0-color-warning-dark-hsl: 35, 79%, 56%;
  --ns0-color-warning-hsl: 35, 79%, 66%;
  --ns0-color-error-hsl: 342, 89%, 48%;
  --ns0-color-bg-light-hsl: 0, 0%, 100%;
  --ns0-color-accent-hsl: 342, 89%, 48%;
  --ns0-color-contrast-lower-hsl: 240, 4%, 85%;

  /* spacing */
  --ns0-space-3xs: 0.25rem;
  --ns0-space-sm: 0.75rem;
  --ns0-space-md: 1.25rem;
  --ns0-space-xs: 0.5rem;

  /* typography */
  --ns0-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --ns0-space-3xs: 0.975rem;
    --ns0-space-sm: 1.125rem;
    --ns0-space-md: 2rem;
    --ns0-space-xs: 0.75rem;

    /* typography */
    --ns0-text-sm: 1rem;
  }
}

/* icons */
.ns0-icon {
  height: var(--ns0-size, 1em);
  width: var(--ns0-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.ns0-icon--md {
  --ns0-size: 32px;
}

/* component */
.note {
  background-color: hsl(var(--ns0-color-bg-light-hsl));
  border-left: 3px solid hsl(var(--ns0-color-primary-hsl));
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  /* 👇 you can ovveride this padding using the padding utility classes */
}
.note:not([class^=padding-]):not([class*=" padding-"]) {
  padding: var(--ns0-space-sm);
}

.note--warning {
  border-left-color: hsl(var(--ns0-color-warning-hsl));
}

.note--error {
  border-left-color: hsl(var(--ns0-color-error-hsl));
}

.note--success {
  border-left-color: hsl(var(--ns0-color-success-hsl));
}

.ns0-text-component {
  /* reset in case the component is used inside a .ns0-text-component */
}
.ns0-text-component .note__content > *:last-child {
  margin-bottom: 0;
}
.ns0-text-component .note__title {
  margin-bottom: 0;
}



.ns0-text-component figcaption {
  margin-top: calc(var(--ns0-space-xs) * var(--ns0-space-multiplier, 1));
  font-size: var(--ns0-text-sm);
  text-align: center;}

.ns0-text-component em {
  font-style: italic;
}


.ns0-text-component s {
  text-decoration: line-through;
}

.ns0-text-component u {
  text-decoration: underline;
}

.ns0-text-component mark {
  background-color: hsla(var(--ns0-color-accent-hsl), 0.2);
  color: inherit;
}

.ns0-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--ns0-color-contrast-lower-hsl));
  font-style: italic;
}

.ns0-text-component hr {
  margin: calc(var(--ns0-space-md) * var(--ns0-space-multiplier, 1)) auto;
  background: hsl(var(--ns0-color-contrast-lower-hsl));
  height: 1px;
}

.ns0-text-component > *:first-child {
  margin-top: 0;
}

.ns0-text-component > *:last-child {
  margin-bottom: 0;
}

.ns0-text-component.ns0-line-height-xs {
  --ns0-heading-line-height: 1;
  --ns0-body-line-height: 1.1;
}

.ns0-text-component.ns0-line-height-sm {
  --ns0-heading-line-height: 1.1;
  --ns0-body-line-height: 1.2;
}

.ns0-text-component.ns0-line-height-md {
  --ns0-heading-line-height: 1.15;
  --ns0-body-line-height: 1.4;
}

.ns0-text-component.ns0-line-height-lg {
  --ns0-heading-line-height: 1.22;
  --ns0-body-line-height: 1.58;
}

.ns0-text-component.ns0-line-height-xl {
  --ns0-heading-line-height: 1.3;
  --ns0-body-line-height: 1.72;
}

.ns0-margin-right-sm {
  margin-right: var(--ns0-space-sm);
}

.ns0-margin-top-3xs {
  margin-top: var(--ns0-space-3xs);
}

.ns0-flex {
  display: flex;
}

.ns0-color-contrast-higher {
  --ns0-color-o: 1;
  color: hsla(var(--ns0-color-contrast-higher-hsl), var(--ns0-color-o, 1));
}

.ns0-items-center {
  align-items: center;
}

.note__content p {
  font-weight: 400;
}

.fix-marg-n {
  margin-bottom: 0px;
  font-size: 1.4rem;
}

.marg-t-aside {
  margin-top: 30px;
}

.aside-s-b {
  font-weight: 600;
  font-size: 1.1rem;
}



.sca-contra-con {
max-width: 1266px;
}

.bg-sca-contra {
background-color: white;
}

.sca-contra {
  padding: 1rem 6rem 1rem 1.6rem;
}
@media (max-width: 768px) {
  .sca-call-2-action {
    padding: 4rem 0rem;
  }
  .sca-image {
    display: none !important;
  }
  .sca-container {
    padding: 1rem;
  }
}

#whyStatement {
  padding-top: 0 !important;
}

#page {
  background-color: white;
}

.commona {
  margin-bottom: 40px;
}

.fk1-text-md {
  font-weight: 500;
}

.th8-text-component :where(ul, ol) {
  padding-left: 0 !important;
}


#bg-contra {
    background-image: url(../images/bg-contra-all.png);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  padding-top: 50px;
  }

.h1-com-contra {
    margin-top: 0 !important;
}

.fk1-margin-bottom-xl {
    padding-top: 150px;
}

.tab-features__controls-list.js-tabs__controls {
    box-shadow: white !important;
}

.contra-ali {
    text-align: center;
}

.p-faq-title {
    margin-top: 46px; /* Reduced margin for better spacing */
    max-width: 90%; /* Keeps it adaptable to smaller screens */
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem; /* Ensures readability */
    line-height: 1.6;
}
.p-contra-ina {
    margin-top: -20px !important; /* Reduced margin for better spacing */

}

.fk1-margin-bottom-xl {
 margin-bottom: 50px;
}

@media (max-width: 676px) {
    .tab-features__controls-list {
      display: flex !important;
              flex-wrap: nowrap;
              justify-content: space-between !important;
    }

    .tab-features__control-wrapper {
        flex: 1 1 calc(50% - 8px) !important; /* Two buttons per row with spacing */
        max-width: 50% !important;
    }

    .tab-features__control {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0 !important;
    }
}

.blog-1 {
    background-color: white;
}
.main-to-devider {
    margin-top: 40px;
    margin-bottom: 60px;
}









                                      /* Section Background */
.contra-section {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Container */
.contra-container {
    max-width: 1024px;
    margin: 0 auto;
    width: 100%;
}

/* Content Wrapper for side-by-side layout */
.contra-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
}

/* Left Side - Controls */
.contra-controls {
    width: 100%;
}

/* Main Control Box */
.contra-box {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 12px 0px 0px 12px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    gap: 20px;
}

/* Right Side - Preview */
.contra-preview {
    background: #FFFFFF;
    border-radius: 0 12px 12px 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.3s ease;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.contra-preview-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.contra-preview-text {
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}


/* Inputs Wrapper */
.contra-inputs-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Foreground & Background Group */
.contra-color-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    min-height: 64px;
    justify-content: flex-start;
}

/* Label Styling */
.contra-color-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3B3F44;
    line-height: 1.8;
}

/* Color Input Box */
.contra-color-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 6px 12px;
    width: 198px;
    position: relative;
    gap: 6px;
    justify-content: space-between;
}

/* Remove focus styles */
.contra-color-box input[type="text"]:focus,
.contra-color-box input[type="text"]:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

/* HEX Input */
.contra-color-box input[type="text"] {
    width: 85px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgb(93 95 99);
    cursor: text;
    pointer-events: auto;
}

/* Color Preview Box */
.contra-color-preview {
    width: 34px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-left: auto;
}

/* Hide Color Picker Input */
.contra-color-box input[type="color"] {
    position: absolute;
    width: 34px;
    height: 28px;
    right: 12px;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contra-text-results {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;

}

.contra-text-size-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.contra-text-size-group:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.contra-text-label {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.contra-compliance-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contra-tag-label {
    font-size: 14px;
    color: #666;
}

.contra-tag {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* Contrast Ratio Box */
.contra-ratio-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.contra-ratio {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
}

.contra-rating {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
}

/* Bottom Results Section */
.contra-bottom-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.contra-ratio-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Accessibility Text Section */
.contra-accessibility-text {
    font-size: 0.85rem;
    color: #666;
    position: relative;
    margin-top: 4px;
}

/* Fix Colors Link */
.contra-fix-link {
    color: #8E56DC;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.contra-fix-link:hover {
    color: #7440C0;
}

/* Fix Options Dropdown */
.contra-fix-options {
    display: none;
    position: absolute;
    left: 350px;
    top: 28px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px;
    z-index: 1000;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

/* Fix Option Buttons */
.contra-fix-option {
    background: white;
    border: none;
    padding: 0px 8px;
    text-align: left;
    font-size: 0.9rem;
    color: #453232;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
}

.contra-fix-option:hover:not(:disabled) {
    background: #f5f5f5;
}

.contra-fix-option:disabled {
    color: #999;
    cursor: not-allowed;
}

/* Ratio Text Colors */
.contra-ratio.very-poor { color: #CF1818; }
.contra-ratio.poor { color: #CF1818; }
.contra-ratio.good { color: #B15E0B; }
.contra-ratio.very-good { color: #43A047; }
.contra-ratio.super { color: #2E7D32; }

/* Rating Tag Colors */
.contra-rating.very-poor { background: #FEE1E2; color: #CF1818; }
.contra-rating.poor { background: #FEE1E2; color: #CF1818; }
.contra-rating.good { background: #FFF1E3; color: #B15E0B; }
.contra-rating.very-good { background: #DCF6E8; color: #2B814F; }
.contra-rating.super { background: #DCF6E8; color: #2B814F; }

.contra-tag.pass {
    background-color: #E9F9F0;
    color: #2B814F;
}

.contra-tag.fail {
    background-color: #FEE1E2;
    color: #CF1818;
}

.contra-ratio-section {
    display: flex;
    align-items: baseline;
    gap: 176px;
    padding: 0px 0px 12px 0px;
}

.contra-ratio-section label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3B3F44;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1023px) {

    .contra-ratio-section {
        gap: 32px;
    }

    .contra-content-wrapper {
        grid-template-columns: 1fr;
    }

    .contra-preview {
        order: -1; /* Makes preview appear first on mobile */
        border-radius: 12px 12px 0 0;
    }

    .contra-section {
        padding: 24px 0px;
    }

    .contra-box {
        padding: 20px;
        border-radius:  0 0 12px 12px;
    }

    .contra-inputs-wrap {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .contra-color-group {
        width: 100%;
    }

    .contra-color-box {
        width: 100%;
        max-width: 648px;
    }

    .contra-bottom-results {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .contra-fix-options {
        left: 0;
        top: 100%;
        margin-top: 4px;
    }
}

@media (max-width: 318px) {
    .contra-box {
        padding: 5px !important;
    }
}





      /* contras section end  */


              /* links section start  */
/* Link Styles Section */
.contra-link-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0;
}

.contra-link-section h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3B3F44;
  line-height: 0.2;
  margin: 24px 0 5px !important;
}

.contra-ratios-section  h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3B3F44;
  line-height: 0.2;
  margin: 24px 0 5px !important;
}

.contra-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.contra-link-row span {
  font-size: 14px;
  color: #333;
}

/* Checkbox Styling */
.contra-checkbox {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.contra-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #3B3F44;
  border-radius: 4px;
}

.contra-checkbox input:checked ~ .checkmark {
  background-color: #3B3F44;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contra-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Link Color Box */
.contra-link-color-box {
  width: 160px;
  height: 36px;
}

/* WCAG Results */
.contra-wcag-results {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
}

.contra-wcag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contra-wcag-row span:first-child {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Ratio sections */
.contra-ratios-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contra-ratio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.contra-ratio-row span {
  font-size: 14px;
  color: #333;
}

.contra-ratio-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contra-ratio {
  font-size: 1.6rem !important;
  font-weight: 500;
  line-height: 1;
  transition: color 0.4s ease-in-out;
}

/* Rating Tag Colors */
.contra-rating {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  min-width: 95px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

/* Ratio Text Colors */
.contra-ratio.very-poor { color: #CF1818; }
.contra-ratio.poor { color: #CF1818; }
.contra-ratio.good { color: #B15E0B; }
.contra-ratio.very-good { color: #43A047; }
.contra-ratio.super { color: #2E7D32; }

/* Rating Tag Colors */
.contra-rating.very-poor { background: #FEE1E2; color: #CF1818; }
.contra-rating.poor { background: #FEE1E2; color: #CF1818; }
.contra-rating.good { background: #FFF1E3; color: #B15E0B; }
.contra-rating.very-good { background: #DCF6E8; color: #2B814F; }
.contra-rating.super { background: #DCF6E8; color: #2B814F; }

.contra-tag.pass {
  background-color: #E9F9F0;
  color: #2B814F;
}

.contra-tag.fail {
  background-color: #FEE1E2;
  color: #CF1818;
}

/* Preview Links */
.links-preview-link {
  transition: all 0.2s ease-in-out;
}

/* Preview Text */
.links-preview-text {
  margin-bottom: 16px;
  line-height: 1.5;
  margin-bottom: 40px;
}


.links-preview-link:hover {
  text-decoration: inherit;
  font-weight: inherit;
}

.priview-link-color {
  width: 35px;
    height: 20px;
}

.box-link-contra{
  gap: 4px;
}
                 /* links section end  */

/* Style for the dropdown */
.contra-ratio-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Modern SVG Arrow */
.contra-dropdown-arrow svg {
  transition: transform 0.3s ease-in-out;
}

/* Rotate arrow when active */
.contra-ratio-drop.active .contra-dropdown-arrow svg {
  transform: rotate(180deg);
}

/* Smooth open/close */
.contra-ratio-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

/* Show when active */
.contra-ratio-content.active {
  max-height: 500px; /* Adjust based on content */
  opacity: 1;
}
@media (max-width: 430px) {
  .contra-ratio-section {
    flex-direction: column !important;
  }
}
