 body {
   font-family: 'Aria', sans-serif;
   background-image: linear-gradient(rgba(238, 238, 242, 1), rgba(238, 238, 242, 1)) !important;
   margin: 0px;

 }

 .converter-card {
   max-width: 1400px;
   margin: auto;
   background: #fff;
   border-radius: 12px;
   box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
   padding: 2rem;
   margin-top: -40px;
 }

 .title-bar h1 {
   font-size: 1.8rem;
   font-weight: 600;
   margin-bottom: 1rem;
 }

 #colorEffect {
   max-width: 310px;
   height: 250px;
   border-radius: 8px;
   border: 1px solid #ccc;
   background-color: #5286ab;
 }

 .social-buttons a {
   font-size: 1.2rem;
   color: #495057;
 }

 .social-buttons a:hover {
   color: #0d6efd;
 }

 #result {
   min-height: 200px;
   padding-top: 1rem;
 }

 h2 {
   color: #000000;
   font-size: 16px;
 }

 /* Adjust layout for mobile screens */
 @media (max-width: 768px) {
   .converter-card {
     padding: 1.5rem;
   }

   #colorEffect {
     height: 120px;
   }

   .col-md-3,
   .col-md-6 {
     margin-bottom: 1.5rem;
   }
 }

 h2 {
   color: #000000;
   font-size: 16px;
 }

 p {
   line-height: 1.7;
   margin-bottom: 15px;
 }

 .example {
   background: #f1f1f1;
   padding: 10px 15px;
   border-left: 4px solid #444A9E;
   margin: 10px 0 20px;
   font-family: 'Arial',  sans-serif;
 }

 ul {
   margin-left: 20px;
 }

 .faq h3 {
   margin-top: 20px;
   color: #000000cb;
   font-size: 18px;
 }

 .faq p {
   margin-bottom: 10px;
 }

 .section {
   margin-bottom: 40px;
 }

 fieldset {
   all: unset;
   display: block;
 }

 .containers {
   padding: 30px;
   max-width: 1200px;
   margin: 40px auto;
   background-color: #ffffff;
   border-radius: 10px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   margin-top: 80px;
 }

 .heading-main {
   font-size: 2.5rem;
   font-weight: bold;
   margin-bottom: 20px;
   color: #000;
 }

 .section-title {
   font-size: 1.5rem;
   font-weight: 600;
   margin-top: 30px;
   margin-bottom: 10px;
   color: #000;
 }

 .paragraph {
   font-size: 1rem;
   line-height: 1.6;
   color: #555;
   margin-bottom: 15px;
 }

 .list {
   margin-left: 20px;
   padding-left: 15px;
   color: #444;
   line-height: 1.6;
 }

 .list li {
   margin-bottom: 10px;
 }


 /* <----------------contact-from---------------------------- */

 form {
   margin-top: 24px;
 }

 .row {
   display: flex;
   flex-wrap: nowrap;

   margin-bottom: 16px;
 }

 .input-half {
   flex: 1 1 0;
   min-width: 0;
 }

 .input-full {
   width: 100%;
   margin-bottom: 16px;
 }

 input[type="text"],
 input[type="email"],
 textarea {
   background-color: transparent;
   border: 1px solid #4b5563;
   /* gray-600 */
   border-radius: 4px;
   padding: 12px 16px;
   font-size: 16px;
   color: #000;
   font-family: 'Aria', sans-serif;
   resize: none;
   outline-offset: 2px;
   outline-color: transparent;
   transition: outline-color 0.2s ease;
 }

 input::placeholder,
 textarea::placeholder {
   color: #9ca3af;
   /* gray-400 */
 }

 input:focus,
 textarea:focus {
   outline-color: #2563eb;
   /* blue-600 */
   border-color: #2563eb;
 }

 textarea {
   min-height: 150px;
   margin-top: 0;
 }


 .newbutton {
   background-color: #3742a8;
   /* blue-700 */
   border: none;
   border-radius: 4px;
   color: white;
   font-weight: 600;
   font-size: 18px;
   padding: 10px 20px;
   cursor: pointer;
   display: block;
   margin: 0 auto;
   transition: background-color 0.2s ease;
 }

 .newbutton:hover {
   background-color: #000;
   /* blue-800 */
 }

 @media (max-width: 640px) {
   .row {
     flex-direction: column;
   }

   .input-half {
     flex: 1 1 100%;
   }
 }


 /* <   color ---------- */

 .containersss {
   border: 2px solid #444A9E;
   padding: 10px;
   border-radius: 10px;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 1.5rem 1.5rem;
 }

 @media (min-width: 640px) {
   .containersss {
     grid-template-columns: repeat(3, minmax(0, 1fr));
   }

 }

 @media (min-width: 770px) {
   .containersss {
     grid-template-columns: repeat(6, minmax(0, 1fr));
   }

 }

 .color-pair {
   display: flex;
   gap: 0.25rem;
   margin-bottom: 0.25rem;
 }

 .label {
   font-size: 0.75rem;
   /* text-xs */
   color: #4B5563;
   line-height: 1.2;
   word-break: break-word;
 }

 * {
   box-sizing: border-box;
 }

 .color-row {
   display: flex;
   flex-wrap: wrap;
   margin-left: -10px;
   margin-right: -10px;
 }

 .color-box {
   padding: 10px;
   width: 100%;
   min-height: 80px;
   border-radius: 10px
     /* default mobile view */
 }

 .box-content {
   min-height: 180px;
   background: #f8f8f8;
   border: 1px solid #ccc;
   border-radius: 6px;
   padding: 10px;
 }



 .form-label {
   display: block;
   font-weight: 600;
   margin-bottom: 8px;
 }

 .form-control,
 .form-select {
   width: 100%;
   padding: 8px;
   font-size: 1rem;
   border: 1px solid #ccc;
   border-radius: 4px;
   margin-bottom: 10px;
 }

 .row {
   display: flex;
   flex-wrap: wrap;
   margin: 0 -10px;
 }

 .row>div {
   padding: 10px;
   box-sizing: border-box;
 }

 /* Desktop: 4 columns (25%) */
 @media (min-width: 992px) {
   .col-md-3 {
     width: 25%;
   }
 }

 /* Tablet: 2 columns (50%) */
 @media (min-width: 576px) and (max-width: 991px) {
   .col-sm-6 {
     width: 50%;
   }
 }

 /* Mobile: 1 column (100%) */
 @media (max-width: 575px) {
   .row>div {
     width: 100%;
   }
 }


 .top-to-home-btn {
   position: fixed;
   bottom: 30px;
   right: 30px;
   background-color: #444A9E;
   color: white;
   padding: 10px 14px;
   border-radius: 50%;
   font-size: 18px;
   text-align: center;
   display: none;
   z-index: 999;
   transition: background-color 0.3s ease;
 }

 .top-to-home-btn:hover {
   background-color: black;
 }

 @keyframes blink {
   0% {
     opacity: 0.5;
   }

   100% {
     opacity: 1;
   }
 }

 @media (min-width: 575px) {
   .margin-new-top {
     margin-top: 16px;
   }
 }

 @media (min-width: 575px) {
   .screen-m {
     min-height: 250px;
     max-width: 310px;
   }
 }

 @media (max-width: 575px) {
   .screen-m {
     min-height: 180px;
     max-width: 270px;
   }
 }

 /* Container Styling */
 .containerssss {
   max-width: 600px;
   margin: 40px auto;
   padding: 20px;
   background: #fdfdfd;
   border: 1px solid #444A9E;
   border-radius: 12px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   font-family: 'Aria  ', sans-serif;
 }

 /* Title Styling */
 .containerssss h4 {
   font-size: 20px;
   color: #333;
   margin-bottom: 16px;
   font-weight: 600;
   border-bottom: 2px solid #eee;
   padding-bottom: 10px;
 }

 /* Result Box Styling */
 .result-box {
   background-color: #f7f9fc;
   border-left: 5px solid #444A9E;
   padding: 15px 20px;
   border-radius: 8px;
   transition: background-color 0.3s ease;
 }

 /* Text Styling */
 .result-text {
   margin: 0;
   color: #222;
   font-size: 16px;
 }

 /* Link Styling */
 .details-link {
   display: inline-block;
   margin-top: 10px;
   color: #444A9E;
   font-weight: 500;
   text-decoration: none;
   font-size: 16px;
   transition: color 0.3s ease, text-decoration 0.3s ease;
 }

 .details-link:hover {
   color: #1d4ed8;
   text-decoration: underline;
 }

 @media (max-width: 480px) {
   .containerssss {
     padding: 15px;
   }

   .result-text,
   .details-link {
     font-size: 15px;
   }
 }

 .feedback-container {
   background: #fff;
   padding: 20px 25px;
   border-radius: 8px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
   max-width: 800px;
   border: 1px solid #444A9E;
   margin-left: auto;
   margin-right: auto;
 }

 .feedback-container input.datatext {
   width: 100%;
   padding: 10px;
   margin-bottom: 10px;
   font-size: 1rem;
   border: 1px solid #ccc;
   border-radius: 5px;
   max-height: 50px;
 }

 .datatext {
   width: 100%;
   height: 120px;
   padding: 10px;
   font-size: 16px;
   border: 1px solid #ccc;
   border-radius: 6px;
   resize: vertical;
   font-family: 'Aria  ', sans-serif;
   box-sizing: border-box;
 }

 .thank-you {
   margin-top: 15px;
   color: green;
   font-weight: 600;
   display: none;
 }

 .newbutton {
   margin-top: 12px;
   background: #444A9E;
   border: none;
   color: white;
   font-size: 16px;
   padding: 10px 15px;
   border-radius: 6px;
   cursor: pointer;
   width: 100%;
   transition: background-color 0.3s ease;
 }

 /* Center label text */
 .form-label {
   display: block;
   text-align: center;
   font-weight: 600;
 }

 /* Center contents in mobile view */
 @media (max-width: 576px) {
   .row>div {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     flex-wrap: wrap
   }

   /* Optional: make inputs/selects fit smaller screens better */
   .form-control,
   .form-select {
     width: 100% !important;
     max-width: 300px;
   }

   #colorPalette,
   #colorEffect,
   #selectedPMSColor {
     width: 100%;
     max-width: 270px;
   }

 }

 .swatch {
   width: 150px;
   /* default width for tablets or in-between */
   text-align: center;
   font-family: Arial, sans-serif;
   border-radius: 12px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
   padding: 8px;
   background-color: white;

 }

 /* PC view (min-width: 992px) */
 @media (min-width: 992px) {
   .swatch {
     width: 150px !important;
   }
 }

 /* Mobile view (max-width: 575px) */
 @media (max-width: 575px) {
   .swatch {
     width: 120px !important;
     margin-left: auto;
     margin-right: auto;
   }
 }

 .color-box div[title="Click to copy"]:hover {
   background: rgba(255, 255, 255, 0.9);
   color: #000;
   transition: 0.2s ease;
 }


 .display-block {
   display: none;
 }

 /* Styling for the FAQ section */
 .faq-section {
   max-width: 700px;

   font-family: Arial, sans-serif;
 }

 .faq-item {
   margin-bottom: 10px;
 }

 /* Styling for FAQ question button */
 .faq-question {
   width: 100%;
   padding: 15px;
   background-color: #444A9E;
   color: white;
   border: none;
   text-align: left;
   font-size: 16px;
   cursor: pointer;
   border-radius: 5px;
   transition: background-color 0.3s;
 }

 .faq-question:hover {
   background-color: #0056b3;
 }

 /* Styling for the answer section */
 .faq-answer {
   display: none;
   padding: 15px;
   background-color: #f1f1f1;
   border-left: 4px solid #444A9E;
   border-radius: 5px;
   margin-top: 5px;
   font-size: 16px;
 }

 /* Show the answer when the FAQ item is active */
 .faq-item.active .faq-answer {
   display: block;
 }

 fieldset {
   all: unset;
   border: none;
   padding: 0;
 }

 .containersssss {
   max-width: 80rem;
   /* max-w-5xl */
   margin: 1.5rem auto 0;
   display: flex;
   flex-direction: column;
   border: 1px solid #d1d5db;
   /* gray-300 */
 }

 @media (min-width: 768px) {
   .containersssss {
     flex-direction: row;
   }
 }

 /* Tables */
 table {
   width: 100%;
   border-collapse: collapse;
   font-size: 1rem;
   color: #000000;
   /* gray-500 */
   border: 1px solid #d1d5db;
   /* gray-300 */
 }

 @media (min-width: 768px) {

   table.hex,
   table.pms {
     width: 25%;
   }
 }

 thead th {
   border-bottom: 1px solid #d1d5db;
   padding: 0.5rem 0;
   text-align: center;
   font-weight: 400;
   color: #000000;
   /* gray-700 */
 }

 tbody tr {
   border-bottom: 1px solid #e5e7eb;
   /* gray-200 */
 }

 tbody tr:nth-child(even) {
   background-color: #f9fafb;
   /* gray-50 */
 }

 tbody td {
   padding: 0.25rem 0.75rem;
   font-weight: 400;
   font-size: 0.9rem;
   color: #000000;
   /* gray-500 */
   white-space: nowrap;
 }

 tbody td.value {
   color: #374151;
   /* gray-700 */
 }

 tbody td.hex-color {
   color: #f594a3;
 }

 tbody td.pms-hex-color {
   color: #f580a2;
 }

 tbody td.uppercase {
   text-transform: uppercase;
   color: #9ca3af;
   /* gray-400 */
 }

 /* Center block */
 /* Center block container */
 .center-block {
   width: 100%;
   border-left: 1px solid #d1d5db;
   border-right: 1px solid #d1d5db;
   display: flex;
   flex-direction: column;
   padding: 0;
 }

 @media (min-width: 640px) {
   .center-block {
     flex-direction: row;
     align-items: stretch;
     /* Ensures equal height */
   }

 }
@media (max-width: 576px) {
    .row>div {
        display: flex
;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
    }
}
 @media (max-width: 576px) {

   /* Make the HEX and PMS color preview boxes wider and taller on small screens */
   #colorEffect,
   #selectedPMSColor {
     width: 250px;
     min-height: 180px;
     margin: 0 auto 1rem auto;
     margin-top: 10px;
     /* Center horizontally with some margin below */
   }

   tbody td {
     padding: 0.25rem 0.75rem;
     font-weight: 400;
     font-size: 0.8rem;
     color: #000000;
     /* gray-500 */
     white-space: nowrap;
   }
 }

 /* Shared style for both color boxes */
 .color-left,
 .color-right {
   display: flex;
   flex-direction: column;
   border-radius: 10px;
   align-items: center;
   box-sizing: border-box;
   padding: 1rem;
   margin-left: auto;
   margin-right: auto;
   flex: 1;
   max-width: 280px;
 }

 /* Left box (HEX) */
 .color-left {
   background-color: #fff;
   border-right: 1px solid #d1d5db;
   color: #fffcfc;
 }

 /* Right box (Pantone) */
 .color-right {
   background-color: #fff;
   /* example fallback, or dynamically set */
   border-left: none;
 }

 /* Typography inside both boxes */
 .color-left h2,
 .color-right h2 {
   font-weight: 600;
   font-size: 1.25rem;
   margin: 0 0 0.25rem;
 }

 .color-left p,
 .color-right p {
   font-size: 0.8rem;
   font-weight: 400;
   margin: 0;
   color: #111827;
   /* gray-900 */
 }

 .color-left p span.hex-color {
   font-weight: 700;
   margin-left: 0.25rem;
   color: #fff;
 }

 .color-right .pantone-text {
   text-align: center;
 }

 .color-right .pantone-text p {
   color: #111827;
 }

 .color-right img {
   width: 100%;
   height: 6rem;
   object-fit: cover;
   display: block;
   margin-top: 0.5rem;
 }

 .pantone-color {
   width: 150px;
   /* default width for tablets or in-between */
   text-align: center;
   font-family: Arial, sans-serif;
   border-radius: 12px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
   padding: 8px;
   background-color: white;

 }

 /* PC view (min-width: 992px) */
 @media (min-width: 992px) {
   .pantone-color {
     width: 150px !important;
   }
 }

 /* Mobile view (max-width: 575px) */
 @media (max-width: 575px) {
   .pantone-color {
     width: 105px !important;
     margin-left: auto;
     margin-right: auto;
   }
 }

 .display-block {
   display: none;
 }

 .btn-primaryss {
      padding: 10px 20px;
      font-size: 16px;
      border-radius: 8px;
      background-color: #444A9E;
      border: none;
      transition: background-color 0.3s ease;
    }

    .btn-primary:hover {
      background-color: #000;
    }

     .button-class {
      grid-column: 1 / -1;
      justify-self: center;
      margin-top: 0.5rem;
      padding: 0.5rem 1.25rem;
      border: 2px solid #444A9E;
      background: transparent;
      color: #444A9E;
      font-size: 1rem;
      border-radius: 0.25rem;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }
     button:hover,
    button:focus {
      background-color: #444A9E;
      outline: none;
      color: white;
      box-shadow: 0 0 0 2px #444A9E;
    }
