/* ========================================
   FONTS IMPORTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* ========================================
      BASE STYLES
      ======================================== */
body {
    background-color: #f9fafb !important
}

.container {
    padding-left: 0;
    padding-right: 0;

}

/* ========================================
      HEADER STYLES
      ======================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px
}

.color-palettes-logo {
    width: 250px;
    height: auto;
    object-fit: contain;
}

.color-palettes-icon {
    width: 100px;
    height: 100px;
    padding: 5px;
    object-fit: contain;
}


.nav-link {
    color: #4b5563;
    font-weight: 600;
    font-size: 1.1rem
}

.nav-link i {
    color: #4b5563;
    font-size: 1.1rem
}

.nav-link:hover {
    color: #111827;
    font-weight: 600;
    font-size: 1.1rem
}

.navbar-nav .nav-link.active,
.navbar-nav i.active {
    color: #7c3aed
}

.search-bar-container {
    display: block !important;
    position: relative;
    width: 400px;
    margin: 0 auto
}

.offcanvas .search-bar-container {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1050
}

.offcanvas .search-bar {
    width: 100% !important;
    border-radius: 12px;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    background: #fff;
    transition: border-color .2s ease
}

.offcanvas .search-bar:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .1)
}

.offcanvas .search-bar input {
    font-size: .95rem;
    color: #333;
    cursor: text;
    border: none;
    outline: none;
    background: transparent;
    width: 100%
}

.offcanvas .search-bar input::placeholder {
    color: #9ca3af
}

.offcanvas .search-bar input:focus {
    outline: none
}

.offcanvas .search-icon {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-right: 8px
}

.main-header .navbar {
    padding: .75rem 0
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px
}

.main-header .navbar-brand {
    margin-right: 0;
    flex-shrink: 0
}

.main-header .navbar-toggler {
    border: none;
    padding: .5rem;
    margin-left: auto
}

.main-header .navbar-toggler:focus {
    box-shadow: none;
    outline: none
}

.main-header .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em
}

.navbar-collapse {
    flex-grow: 0
}

/* ========================================
      OFFCANVAS STYLES
      ======================================== */
.offcanvas .logo-icon svg {
    width: 24px;
    height: 24px;
    color: #fff
}

.offcanvas .logo-text {
    font-size: 1.2rem;
    color: #8b5cf6
}

.offcanvas-body {
    padding: 1.5rem 1.5rem;
    width: 100% !important;
}

.mobile-nav {
    margin-top: 1rem;
    width: 100% !important;
}

.mobile-nav .nav-item {
    margin-bottom: .5rem;
    width: 100% !important;
}

.mobile-nav .nav-link {
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    transition: all .2s ease;
    text-decoration: none;
    width: 100% !important;
    justify-content: flex-start;
}

.mobile-nav .nav-link:hover {
    background: #f3f0ff;
    color: #8b5cf6;
    transform: translateX(4px);
    border-radius: 12px;
}

.mobile-nav .nav-link.active {
    background: #8b5cf6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, .3);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.mobile-nav .nav-link.active i {
    color: #fff !important
}

.mobile-nav .nav-link i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 24px;
    text-align: center;
    color: #6b7280;
    transition: color .2s ease
}

.mobile-nav .nav-link:hover i {
    color: #8b5cf6
}

.mobile-nav .nav-link span {
    font-weight: 500
}

.offcanvas .color-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    z-index: 9999;
    padding: 12px 0 8px 0;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto
}

.offcanvas .dropdown-title {
    font-size: .95rem;
    font-weight: 600;
    color: #666;
    margin-left: 16px;
    margin-bottom: 8px
}

.offcanvas .color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 16px;
    justify-content: flex-start
}

.offcanvas .color-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 6px;
    transition: background .15s;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .9rem;
    min-width: 80px
}

.offcanvas .color-option:hover {
    background: #f3f0fa
}

.offcanvas .color-option:active {
    background: #e8e4f7
}

.offcanvas .color-option .color-dot {
    margin-right: 8px;
    border: 1.5px solid #bbb;
    width: 14px;
    height: 14px;
    flex-shrink: 0
}

.offcanvas .no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 12px 16px
}

.offcanvas {
    overflow-x: hidden;
    width: 100% !important;
    max-width: 100% !important;
}

/* ========================================
      SEARCH BAR STYLES
      ======================================== */
.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #b39ddb;
    border-radius: 30px;
    padding: 6px 16px;
    background: #fff;
    position: relative;
    z-index: 2
}

.search-icon {
    color: #9d79de;
    font-size: 1.2em;
    margin-right: 8px;
    display: flex;
    align-items: center;
    font-weight: 600
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 1em;
    flex: 1;
    background: transparent;
    margin-left: 8px;
    color: #333;
    cursor: text
}

.search-bar input::placeholder {
    color: #9ca3af;
    font-style: italic
}

.search-bar input:focus {
    outline: none
}

.color-chip {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    border-radius: 16px;
    padding: 2px 8px 2px 4px;
    margin-right: 8px;
    font-size: .95em
}

.color-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-right: 8px
}

.color-option.selected {
    background-color: #e8f5e8;
    border-color: #4caf50
}

.selected-indicator {
    color: #4caf50;
    font-weight: bold;
    margin-left: 8px
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    border: 1.5px solid #ccc
}

.remove-chip {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold
}

.color-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 360px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(80, 80, 120, .1);
    z-index: 10;
    padding: 12px 0 8px 0
}

.dropdown-title {
    font-size: 1em;
    font-weight: 600;
    color: #666;
    margin-left: 18px;
    margin-bottom: 8px
}

.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 18px;
    justify-content: first baseline
}

.color-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 6px;
    transition: background .15s;
    border-radius: 8px;
    padding: 2px 8px 2px 2px;
    font-size: 12px
}

.color-option:hover {
    background: #f3f0fa
}

.color-option .color-dot {
    margin-right: 6px;
    border: 1.5px solid #bbb
}

.selected-color {
    display: inline-flex;
    align-items: center;
    background: #f3f3f3;
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 8px
}

.remove-color {
    margin-left: 6px;
    color: #888;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer
}

/* ========================================
      ABOUT PAGE STYLES
      ======================================== */
.about-logo {
    text-align: center;
    width: 155px;
    height: auto;
    background-color: #fff !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    padding: 13px;
    border-radius: 100px;
    margin: auto;
    margin-bottom: 30px;
    border: 10px solid #8f63f640;
    text-align: center;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .5rem
}

.about-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2.5rem
}

.about-section {
    margin: 2.5rem 0;
    font-family: 'Inter', Arial, sans-serif
}
.about-section .col-12 {
    padding: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 10px;
    margin-right: 15px;
}


.about-section p {
    font-size: 16px
}

.about-section .row {
    margin: 0
}

.about-section .col-12:last-child {
    margin-bottom: 0
}

.about-section h4 {
    margin-bottom: 1rem
}

.about-section ul {
    margin-bottom: 0
}

.about-section li {
    margin-bottom: .75rem
}

.about-section li:last-child {
    margin-bottom: 0
}

.about-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(99, 102, 241, .07);
    padding: 4rem 1.5rem;
    text-align: center;
    width: 850px
}

.about-card .btn {
    font-weight: 500
}

/* ========================================
      CONTACT PAGE STYLES
      ======================================== */
.contact-header {
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 0 0 32px 32px;
    padding: 3rem 1rem 2rem 1rem;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(80, 72, 229, .08)
}

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(80, 72, 229, .08);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    max-width: 500px;
    margin: 0 auto
}

.contact-form-card label {
    font-weight: 500;
    margin-bottom: .5rem
}

.contact-form-card .form-control {
    border-radius: 8px;
    min-height: 48px;
    font-size: 1rem
}

.contact-form-card textarea.form-control {
    min-height: 120px;
    resize: vertical
}

.contact-form-card .btn-primary {
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.15rem;
    padding: .75rem 0;
    margin-top: 1rem;
    transition: background .2s
}

.contact-form-card .btn-primary:hover {
    background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%)
}

/* ========================================
      INDEX PAGE STYLES
      ======================================== */
.home-info-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 1rem 2rem 1rem;
    background: #fff
}

.info-container {
    max-width: 1336px;
    background: #f9fafb;
    border-radius: 18px;
    padding: 2.5rem 2.2rem;
    font-family: 'Inter', Arial, sans-serif;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    border: 1px solid #e0e0e0
}

.info-title {
    color: #8b5cf6;
    font-size: 2.3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.2rem;
    line-height: 1.2
}

.info-lead {
    font-size: 1.15rem;
    color: #444;
    text-align: left;
    margin-bottom: 2rem
}

.info-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    color: #22223b
}

.info-container p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.1rem;
    line-height: 1.7
}

.info-features h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #000
}

.info-features ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem
}

.info-features li {
    font-size: 1.05rem;
    margin-bottom: .4rem;
    color: #444;
    font-weight: 500;
    list-style: disc
}

.info-footer {
    font-size: 1.08rem;
    color: #22223b;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center
}

.explore-palettes {
    margin: 1.5rem auto 6rem auto;
    width: 1336px
}

.explore-palettes h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem
}

.favorites-main {
    width: 1336px;
    margin: 0 auto
}

/* ========================================
      PALETTE CARD STYLES
      ======================================== */
.palette-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .5rem
}

.palette-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: rgba(60, 64, 67, .3) 0 1px 2px 0, rgba(60, 64, 67, .15) 0 1px 3px 1px;
    padding: 1rem 1rem .7rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    transition: box-shadow .2s;
    min-height: 280px;
    width: 260px
}

.color-page-palette-card {
    width: 240px
}

.palette-card:hover {
    box-shadow: rgba(60, 64, 67, .3) 0 1px 2px 0, rgba(60, 64, 67, .15) 0 2px 6px 2px
}

.palette-colors {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 200px
}

.palette-color-block {
    flex: 1;
    height: 200px;
    z-index: 0;
    min-height: 200px
}

.palette-info {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: .7rem
}

.palette-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: .4rem;
    color: #333
}

.palette-codes {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.palette-code {
    background: #f3f3f3;
    border-radius: 6px;
    padding: 3px 15px;
    font-size: .95em;
    color: #333;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap
}

.palette-fav-btn {
    position: absolute;
    top: 67%;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #bdbdbd;
    cursor: pointer;
    transition: color .2s;
    z-index: 3
}

.palette-fav-btn:hover {
    color: #8b5cf6
}

.palette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 14, 186, .18);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 1
}

.palette-card:hover .palette-overlay {
    opacity: 1
}

.palette-actions {
    position: absolute;
    left: 50%;
    top: 83%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: .5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 2
}

.palette-card:hover .palette-actions {
    opacity: 1;
    pointer-events: auto
}

.palette-btn {
    border: none;
    border-radius: 8px;
    padding: .4rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(80, 72, 229, .1);
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    gap: .4em
}

.copy-btn {
    background: #f3f3f3
}

.copy-btn:hover {
    background: #e0e0e0
}

.view-btn {
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: none;
    border-radius: 6px;
    padding: .5rem 1rem;
    font-weight: 500;
    font-size: .875rem;
    cursor: pointer;
    transition: all .2s ease
}

.view-btn:hover {
    background: #7C3AED;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, .3)
}

.view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(139, 92, 246, .3)
}

.list-unstyled {
    font-size: .9rem
}

.text-success {
    font-weight: 800
}

.palette-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.palette-name {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    margin: 0;
    word-break: break-word;
    flex: 1
}

.palette-fav-section {
    display: flex;
    align-items: center
}

.palette-fav-btn {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: .25rem;
    border-radius: 4px;
    transition: all .2s ease;
    font-size: 1rem
}

.palette-fav-btn:hover {
    color: #ef4444
}

.palette-fav-btn.active {
    color: #ef4444
}

.color-types-title {
    color: #1976d2;
    font-size: 1.8rem;
    font-weight: 600;
    border-left: 4px solid #1976d2;
    padding-left: 15px;
    margin-bottom: 20px
}

.color-tools-title {
    color: #43a047;
    font-size: 1.8rem;
    font-weight: 600;
    border-left: 4px solid #43a047;
    padding-left: 15px;
    margin-bottom: 20px
}

.color-final-title {
    color: #ff9800;
    font-size: 1.8rem;
    font-weight: 600;
    border-left: 4px solid #ff9800;
    padding-left: 15px;
    margin-bottom: 20px
}

.color-section {
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.color-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-top: 15px
}

/* ========================================
      COLOR PAGE STYLES
      ======================================== */
.color-page-main {
    padding: 2.5rem 1rem 2rem 1rem;
    background-color: #f9fafb
}

.color-info-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    padding: 1.5rem 2rem;
    max-width: 1336px;
    margin: 0 auto 2rem auto
}

.color-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1.2rem
}

.color-description {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem
}

.color-sections {
    display: flex;
    flex-direction: column;
    gap: 1.2rem
}

.color-section-card {
    background: #f9f9f9;
    border-left: 5px solid #7c3aed;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .03)
}

.color-section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: #000
}

.color-section-content {
    font-size: 1rem;
    color: #374151
}

.color-page-palettes {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 2px solid #e5e7eb
}

.palettes-title {
    margin-bottom: 1.5rem
}

/* ========================================
      FOOTER STYLES
      ======================================== */
.main-footer {
    background-color: #fff;
    padding: 0 0 20px 0;
    border-top: 1px solid #e5e7eb
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #e5e7eb
}

.footer-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-logo .logo-box {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B5CF6;
    border-radius: 10px;
    width: 40px;
    height: 40px
}

.footer-logo .logo-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    color: #fff
}

.footer-logo .logo-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: #111827;
    font-family: 'Inter', Arial, sans-serif
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.footer-left {
    flex: 1;
    min-width: 200px
}

.copyright {
    color: #6b7280;
    font-size: .875rem;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif
}

.copyright strong {
    color: #374151;
    font-weight: 600
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: center;
    min-width: 400px
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: .875rem;
    font-family: 'Inter', Arial, sans-serif;
    transition: color .2s ease;
    white-space: nowrap
}

.footer-link:hover {
    color: #374151;
    text-decoration: none
}

.footer-divider {
    color: #d1d5db;
    font-size: .875rem
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 200px
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    transition: all .2s ease;
    font-size: .875rem
}

.social-icon:hover {
    background-color: #e5e7eb;
    color: #374151;
    text-decoration: none
}

/* ========================================
      PRIVACY POLICY STYLES
      ======================================== */
.privacy-header {
    margin-bottom: 3rem
}

.privacy-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #8B5CF6;
    border-radius: 20px;
    margin: 0 auto 2rem
}

.privacy-logo svg {
    width: 40px;
    height: 40px;
    color: #fff
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-family: 'Inter', Arial, sans-serif
}

.privacy-effective-date {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500
}

.privacy-content {
    margin: 0 auto
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 1px solid #e5e7eb
}

.privacy-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    font-family: 'Inter', Arial, sans-serif
}

.privacy-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 1rem;
    font-family: 'Inter', Arial, sans-serif
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0
}

.privacy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .75rem;
    line-height: 1.6;
    color: #4b5563
}

.privacy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: bold;
    font-size: 1.2rem
}

.privacy-list li strong {
    color: #111827;
    font-weight: 600
}

.contact-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #8B5CF6
}

.contact-info p {
    margin-bottom: .5rem
}

.contact-info a {
    color: #8B5CF6;
    font-weight: 500
}

.contact-info a:hover {
    color: #7c3aed;
    text-decoration: underline !important
}

/* ========================================
      SITEMAP STYLES
      ======================================== */
.sitemap-header {
    margin-bottom: 3rem
}

.sitemap-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #8B5CF6;
    border-radius: 20px;
    margin: 0 auto 2rem
}

.sitemap-logo svg {
    width: 40px;
    height: 40px;
    color: #fff
}

.sitemap-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-family: 'Inter', Arial, sans-serif
}

.sitemap-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500
}

.sitemap-content {
    max-width: 1200px;
    margin: 0 auto
}

.sitemap-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb
}

.sitemap-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-family: 'Inter', Arial, sans-serif
}

.sitemap-section-title i {
    color: #8B5CF6;
    margin-right: .75rem
}

.sitemap-section:not(:last-child) .sitemap-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(5, 1fr)
}

.sitemap-item {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.sitemap-link {
    display: flex;
    align-items: center;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color .2s ease;
    font-family: 'Inter', Arial, sans-serif
}

.sitemap-link:hover {
    color: #8B5CF6;
    text-decoration: none
}

.sitemap-link i {
    color: #000;
    margin-right: .75rem;
    font-size: 1.2rem
}

.sitemap-section:last-child .sitemap-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, 1fr)
}

.sitemap-section:last-child .sitemap-item {
    display: flex
}

.sitemap-section:last-child .sitemap-link {
    display: flex;
    align-items: center;
    font-size: .95rem;
    font-weight: 500;
    color: #374151;
    padding: .5rem 0;
    transition: color .2s ease
}

.sitemap-section:last-child .sitemap-link:hover {
    color: #8B5CF6
}

.color-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: .75rem;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    flex-shrink: 0
}

/* ========================================
     404 PAGE STYLES
      ======================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 2rem;
}

.error-container {
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #A855F7, #C084FC);
}

.error-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.error-logo .logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8B5CF6;
    border-radius: 12px;
    width: 50px;
    height: 50px;
}

.error-logo .logo-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.error-logo .logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    color: #111827;
    font-family: 'Inter', Arial, sans-serif;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    color: #8B5CF6;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-family: 'Inter', Arial, sans-serif;
}

.error-message {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.error-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error-btn-primary {
    background: #8B5CF6;
    color: #ffffff;
    border: 2px solid #8B5CF6;
}

.error-btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.error-btn-secondary {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.error-btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
    transform: translateY(-2px);
}

.error-suggestions {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.error-suggestions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.error-suggestions li::before {
    content: '•';
    color: #8B5CF6;
    font-weight: bold;
    margin-right: 8px;
}

.error-suggestions a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

/* ========================================
      FAVORITES PAGE STYLES
      ======================================== */


/* Empty Favorites State */

.empty-favorites-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.empty-favorites-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.empty-favorites-icon i {
    font-size: 2rem;
    color: #d97706;
}

.empty-favorites-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.empty-favorites-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.empty-favorites-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.empty-favorites-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.empty-favorites-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
    text-decoration: none;
}

.empty-favorites-btn:active {
    transform: translateY(0);
}

.empty-favorites-btn i {
    font-size: 1rem;
}


/* ========================================
      RESPONSIVE MEDIA QUERIES
      ======================================== */

/* 1299px and below */
@media (max-width:1299px) {
    .home-info-section {
        padding: 2rem 1rem 1.5rem 1rem
    }

    .info-container {
        max-width: 100%;
        padding: 2rem 1.8rem
    }

    .explore-palettes {
        margin-bottom: 3rem
    }

    .explore-palettes,
    .all-colors-section {
        width: 100%;
        padding: 0 1rem
    }

    .favorites-main {
        width: 100%;
        padding: 0 1rem
    }

    .navbar-nav {
        margin-left: 0 !important;
        align-items: flex-start !important;
        margin-right: 10px;
    }


    #navbarNavDropdown .nav-link {
        font-size: 19px;
    }

    .palette-codes {
        margin-top: 10px;
    }

    .palette-color-block {
        padding: 2px 30px;
    }

    .palette-fav-btn {
        font-size: 1.2rem;
        top: 66%;
        right: 15px
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0
    }

    .palette-card {
        width: 300px !important;
        min-height: 280px;
    }

    .palette-grid {
        gap: 1.2rem
    }

    .about-logo {
        width: 130px;
        height: 130px;
        margin-bottom: .5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-logo .color-palettes-icon {
        width: 80px !important;
        height: 80px !important;
        padding: 6px;
        display: block;
        margin: 0 auto;
    }

    .about-title {
        font-size: 2rem
    }

    .about-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem
    }

    .about-card {
        width: 100%;
        max-width: 800px;
        padding: 3rem 1.2rem
    }

    .contact-header {
        padding: 2.5rem 1rem 1.8rem 1rem
    }

    .contact-header h1 {
        font-size: 1.8rem
    }

    .contact-header p {
        font-size: 1rem
    }

    .contact-form-card {
        max-width: 450px;
        padding: 2rem 1.2rem 1.5rem 1.2rem
    }

    .sitemap-section:last-child .sitemap-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem
    }

    .sitemap-section:last-child .sitemap-link {
        font-size: .87rem
    }

    .sitemap-section {
        padding: 2.5rem
    }

    .sitemap-title {
        font-size: 3rem
    }

    .sitemap-subtitle {
        font-size: 1.2rem
    }
}

/* 992px and below */
@media (max-width:992px) {
    .home-info-section {
        padding: 1.8rem .8rem 1.5rem .8rem
    }

    .info-container {
        padding: 1.8rem 1.5rem
    }

    .info-title {
        font-size: 2rem;
        margin-bottom: 1rem
    }

    .info-lead {
        font-size: 1.1rem;
        margin-bottom: 1.8rem
    }

    .info-subtitle {
        font-size: 1.2rem;
        margin-top: 1.3rem
    }

    .info-container p {
        font-size: 1rem;
        line-height: 1.6
    }

    .info-features li {
        font-size: 1rem
    }

    .info-footer {
        font-size: 1.05rem
    }

    .main-header .navbar {
        padding: .6rem 0
    }

    .logo-text {
        font-size: 1.25rem
    }

    .logo-icon {
        width: 36px;
        height: 36px
    }

    .logo-icon svg {
        width: 22px;
        height: 22px
    }

    .navbar-toggler {
        padding: .4rem
    }

    .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em
    }

    #navbarNavDropdown {
        text-align: left
    }

    #navbarNavDropdown .navbar-nav {
        margin-left: 0 !important;
        align-items: flex-start !important;
        margin-right: 10px;
    }

    #navbarNavDropdown .nav-link {
        text-align: left;
        width: 100%;
        padding-left: 1rem;
        font-size: 15px;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end !important
    }

    .search-bar-container {
        width: 230px;
    }

    .palette-card {
        width: calc(33.333% - 0.88rem) !important;
        min-height: 280px;
        margin-bottom: 1rem;
    }

    .palette-colors {
        min-height: 180px;
    }

    .palette-color-block {
        height: 180px;
        min-height: 180px
    }

    .palette-fav-btn {
        top: 65%;
        right: 15px;
        font-size: 1.3rem;
    }

    .palette-code {
        font-size: 0.9em;
        padding: 3px 30px;
    }

    /* Better palette grid layout */
    .palette-grid {
        gap: 1rem;
        justify-content: flex-start;
    }

    /* Fix palette info spacing */
    .palette-info {
        padding-top: 0.7rem;
    }

    .palette-name {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .palette-codes {
        gap: 0.4rem;
    }

    .about-title {
        font-size: 1.8rem
    }

    .about-subtitle {
        font-size: .95rem;
        margin-bottom: 1.8rem
    }

    .col-md-4 {
        flex: 0 0 auto !important;
        width: 40.333333% !important
    }

    .about-section {
        margin: 2rem 0
    }

    .about-section p {
        font-size: .95rem
    }

    .about-card {
        padding: 2.5rem 1rem
    }

    .about-card .btn {
        min-width: 120px;
        font-size: .9rem
    }

    .contact-header {
        padding: 2.2rem .8rem 1.6rem .8rem
    }

    .contact-header h1 {
        font-size: 1.6rem;
        margin-bottom: .4rem
    }

    .contact-header p {
        font-size: .95rem
    }

    .contact-form-card {
        max-width: 400px;
        padding: 1.8rem 1rem 1.3rem 1rem
    }

    .contact-form-card .form-control {
        min-height: 44px;
        font-size: .95rem
    }

    .contact-form-card textarea.form-control {
        min-height: 100px
    }

    .contact-form-card .btn-primary {
        font-size: 1.1rem;
        padding: .7rem 0
    }

    .color-page-title {
        font-size: 2rem
    }

    .color-info-content {
        padding: 20px 10px;
        margin: 10px 10px
    }

    .sitemap-section:last-child .sitemap-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem
    }

    .sitemap-section:last-child .sitemap-link {
        font-size: .95rem
    }

    .sitemap-section {
        padding: 2rem
    }

    .sitemap-title {
        font-size: 2.5rem
    }
}

/* 768px and below */
@media (max-width:768px) {
    .navbar-nav .nav-item .nav-link {
        font-size: 1rem;
        text-align: left
    }

    .navbar-nav i {
        font-size: 1rem
    }

    .palette-header-row {
        flex-direction: column;
        gap: .5rem;
    }

    .palette-header {
        margin-bottom: 2rem;
    }

    .palette-fav-section {
        justify-content: flex-start
    }

    .about-section {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }

    .about-card {
        padding: 1.2rem .5rem
    }

    .home-info-section {
        padding: 1.5rem .6rem 1.2rem .6rem
    }

    .info-container {
        padding: 1.5rem 1.2rem;
        border-radius: 16px
    }

    .info-title {
        font-size: 1.7rem;
        margin-bottom: .9rem;
        line-height: 1.3
    }

    .info-lead {
        font-size: 1.05rem;
        margin-bottom: 1.5rem
    }

    .info-subtitle {
        font-size: 1.15rem;
        margin-top: 1.2rem;
        margin-bottom: .4rem
    }

    .info-container p {
        font-size: .98rem;
        margin-bottom: 1rem;
        line-height: 1.6
    }

    .info-features h3 {
        font-size: 1.05rem
    }

    .info-features li {
        font-size: .95rem;
        margin-bottom: .3rem
    }

    .info-footer {
        font-size: 1rem;
        margin-top: 1.3rem
    }

    .explore-palettes h2 {
        font-size: 1.6rem
    }

    .main-header .navbar {
        padding: .5rem 0
    }

    .logo-text {
        font-size: 1.2rem
    }

    .logo-icon {
        width: 34px;
        height: 34px
    }

    .logo-icon svg {
        width: 20px;
        height: 20px
    }

    .navbar-toggler {
        padding: .35rem
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em
    }

    .search-bar-container {
        display: none !important;
        margin-bottom: 1.2rem
    }

    /* Mobile Offcanvas Full Width */
    .offcanvas {
        width: 100% !important;
        max-width: 100% !important;
    }

    .offcanvas-body {
        padding: 1.5rem 0.5rem;
        width: 100% !important;
    }

    .mobile-nav {
        width: 100% !important;
    }

    .mobile-nav .nav-item {
        width: 100% !important;
    }

    .mobile-nav .nav-link {
        width: 100% !important;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .offcanvas .search-bar {
        padding: 6px 14px
    }

    .offcanvas .search-bar input {
        font-size: .9rem
    }

    .about-title {
        font-size: 1.5rem
    }

    .about-subtitle {
        font-size: .9rem;
        margin-bottom: 1.5rem
    }

    .col-md-4 {
        flex: 0 0 auto !important;
        width: 48.333333% !important
    }

    .about-section {
        margin: 1.5rem 0
    }

    .about-section p {
        font-size: .9rem
    }

    .about-section .col-12 {
        padding: 0 .5rem
    }

    .about-section .col-12:last-child {
        margin-bottom: 0
    }

    .about-section h4 {
        font-size: 1.1rem;
        margin-bottom: .8rem
    }

    .about-section ul {
        padding-left: 0
    }

    .about-section li {
        font-size: .9rem;
        margin-bottom: .6rem;
        padding-left: 0
    }

    .about-section li i {
        font-size: .9rem
    }

    .about-card {
        padding: 2rem .8rem;
        border-radius: 16px
    }

    .about-card h4 {
        font-size: 1.1rem
    }

    .about-card p {
        font-size: .9rem
    }

    .about-card .btn {
        min-width: 110px;
        font-size: .85rem;
        padding: .6rem 1rem
    }

    .contact-header {
        padding: 2rem .6rem 1.4rem .6rem;
        border-radius: 0 0 24px 24px
    }

    .contact-header h1 {
        font-size: 1.6rem;
        margin-bottom: .4rem
    }

    .contact-header p {
        font-size: .95rem
    }

    .contact-form-card {
        max-width: 100%;
        padding: 1.6rem .8rem 1.2rem .8rem;
        border-radius: 20px
    }

    .contact-form-card .form-control {
        min-height: 42px;
        font-size: .9rem
    }

    .contact-form-card textarea.form-control {
        min-height: 90px
    }

    .contact-form-card .btn-primary {
        font-size: 1rem;
        padding: .6rem 0
    }
    .color-page-main{
        padding: 10px 0 !important;
    }

    .palette-grid {
        justify-content: center;
    }

    .palette-card {
        min-height: 240px;
        padding: .8rem .8rem .6rem .8rem;
        width: 230px !important;
    }

    .palette-colors {
        min-height: 160px
    }

    .palette-color-block {
        height: 160px;
        min-height: 160px
    }

    .palette-name {
        font-size: 1rem
    }

    .palette-code {
        font-size: .9em;
        padding: 2px 10px
    }

    .color-page-palette-codes {
        margin-top: 0;
    }

    .color-page-palette-codes .palette-code {
        padding: 2px 25px;
        font-size: 0.8rem;
    }

    .palette-fav-btn,
    .color-page-palette-fav-btn {
        font-size: 1.2rem;
        top: 62%;
        right: 15px
    }

    .explore-palettes h2 {
        font-size: 1.2rem;
        margin-left: 0.8rem;
    }

    .color-page-title {
        font-size: 1.5rem
    }

    .palettes-container {
        padding: 16px
    }

    .footer-logo-section {
        padding: 25px 0
    }

    .footer-logo .logo-text {
        font-size: 1.2rem
    }

    .footer-logo .logo-icon {
        width: 35px;
        height: 35px
    }

    .footer-logo .logo-icon svg {
        width: 20px;
        height: 20px
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
        min-width: auto
    }

    .footer-nav {
        justify-content: center;
        gap: 10px
    }

    .footer-right {
        justify-content: center
    }

    .social-icons {
        justify-content: center
    }

    .privacy-title {
        font-size: 2rem
    }

    .privacy-logo {
        width: 60px;
        height: 60px
    }

    .privacy-logo svg {
        width: 30px;
        height: 30px
    }

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem
    }

    .privacy-section-title {
        font-size: 1.3rem
    }

    .privacy-subtitle {
        font-size: 1.1rem
    }

    .privacy-section p {
        font-size: .95rem
    }

    .privacy-list li {
        font-size: .95rem
    }

    .sitemap-section:not(:last-child) .sitemap-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr
    }

    .sitemap-section:last-child .sitemap-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: .875rem
    }

    .sitemap-section:last-child .sitemap-link {
        font-size: .9rem
    }

    .sitemap-section {
        padding: 1.75rem
    }

    .sitemap-title {
        font-size: 2.25rem
    }

    .sitemap-subtitle {
        font-size: 1.05rem
    }

    .sitemap-section-title {
        font-size: 1.4rem
    }

    .sitemap-link {
        font-size: 1rem
    }

    .error-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .error-number {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1.1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .empty-favorites-container {
        padding: 3rem 1.5rem;
        margin: 0 1rem;
    }

    .empty-favorites-icon {
        width: 70px;
        height: 70px;
    }

    .empty-favorites-icon i {
        font-size: 1.75rem;
    }

    .empty-favorites-title {
        font-size: 1.25rem;
    }

    .empty-favorites-description {
        font-size: 0.95rem;
    }

    .empty-favorites-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* 600px and below */
@media (max-width:600px) {
    .home-info-section {
        padding: 1.2rem .5rem 1rem .5rem
    }

    .info-container {
        padding: 1.2rem 1rem;
        border-radius: 14px
    }

    .info-title {
        font-size: 1.4rem;
        margin-bottom: .8rem;
        line-height: 1.3
    }

    .info-lead {
        font-size: 1rem;
        margin-bottom: 1.3rem
    }

    .info-subtitle {
        font-size: 1.1rem;
        margin-top: 1.1rem;
        margin-bottom: .4rem
    }

    .info-container p {
        font-size: .95rem;
        margin-bottom: .9rem;
        line-height: 1.5
    }

    .info-features h3 {
        font-size: 1rem;
        margin-bottom: .4rem
    }

    .info-features ul {
        padding-left: 1rem;
        margin-bottom: 1rem
    }

    .info-features li {
        font-size: .9rem;
        margin-bottom: .3rem
    }

    .info-footer {
        font-size: .95rem;
        margin-top: 1.2rem
    }

    .explore-palettes {
        margin-bottom: 3rem
    }

    .explore-palettes h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem
    }

    .contact-header {
        padding: 2rem .5rem 1.5rem .5rem;
        font-size: 1.1rem
    }

    .contact-form-card {
        padding: 1.5rem .5rem 1rem .5rem
    }

    .palette-grid {
        gap: 1rem;
        justify-content: center
    }

    .main-header .navbar {
        padding: .4rem 0
    }

    .logo-text {
        font-size: 1.1rem
    }

    .logo-icon {
        width: 32px;
        height: 32px
    }

    .logo-icon svg {
        width: 18px;
        height: 18px
    }

    .navbar-toggler {
        padding: .3rem
    }

    .navbar-toggler-icon {
        width: .9em;
        height: .9em
    }

    .offcanvas .search-bar-container {
        margin-bottom: 1rem
    }

    .offcanvas .search-bar {
        padding: 5px 12px;
        border-radius: 10px
    }

    .offcanvas .search-bar input {
        font-size: .85rem
    }

    .offcanvas .search-icon {
        font-size: 1rem
    }

    .search-bar-container {
        display: none !important
    }

    /* Mobile Offcanvas Full Width */
    .offcanvas {
        width: 100% !important;
        max-width: 100% !important;
    }

    .offcanvas-body {
        padding: 1.5rem 1.5rem;
        width: 100% !important;
    }

    .mobile-nav {
        width: 100% !important;
    }

    .mobile-nav .nav-item {
        width: 100% !important;
    }

    .mobile-nav .nav-link {
        width: 100% !important;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .about-title {
        font-size: 1.3rem
    }

    .about-subtitle {
        font-size: .85rem;
        margin-bottom: 1.2rem
    }

    .about-section {
        margin: 1.2rem 0
    }

    .about-section p {
        font-size: .85rem
    }

    .palette-info {
        padding: .75rem
    }

    .about-section .col-12 {
        padding: 0 .9rem;
        width: 100% !important
    }

    .about-section .col-12:last-child {
        margin-bottom: 0
    }

    .about-section h4 {
        font-size: 1rem;
        margin-bottom: .6rem
    }

    .about-section li {
        font-size: .85rem;
        margin-bottom: .5rem
    }

    .about-section li i {
        font-size: .85rem
    }

    .about-card {
        padding: 1.5rem .6rem;
        border-radius: 14px
    }

    .about-card h4 {
        font-size: 1rem;
        margin-bottom: .2rem
    }

    .about-card p {
        font-size: .85rem
    }

    .about-card .btn {
        min-width: 100px;
        font-size: .8rem;
        padding: .5rem .8rem
    }

    .contact-header {
        padding: 1.8rem .5rem 1.2rem .5rem;
        border-radius: 0 0 20px 20px
    }

    .contact-header h1 {
        font-size: 1.4rem;
        margin-bottom: .3rem
    }

    .contact-header p {
        font-size: .9rem
    }

    .contact-form-card {
        padding: 1.2rem .4rem .8rem .4rem;
        border-radius: 18px
    }

    .contact-form-card .form-control {
        min-height: 38px;
        font-size: .8rem
    }

    .contact-form-card textarea.form-control {
        min-height: 70px
    }

    .contact-form-card .btn-primary {
        font-size: .9rem;
        padding: .4rem 0
    }

    .palette-card {
        min-height: 220px;
        padding: .7rem .7rem .5rem .7rem;
        width: 65% !important;
        max-width: 250px;
        
    }
    .color-page-palettes-container .palette-card{
        width: 100% !important;
    }
    .color-page-palettes-container .palette-grid{
        display: grid;
        grid-template-columns: 1fr 1fr !important;
    }
    .color-page-palettes-container .palette-card .palette-colors{
        min-height: 120px;
    }
    .color-page-palettes-container .palette-card .palette-code{
       padding: 2px 20px;
    }
    .color-page-palettes-container .color-page-palette-fav-btn{
        top: 59% !important;
    }

    .palette-colors {
        min-height: 140px
    }

    .palette-color-block {
        height: 140px;
        min-height: 140px
    }

    .palette-info {
        padding-top: .5rem
    }

    .palette-name {
        font-size: .95rem;
        margin-bottom: .3rem
    }

    .palette-codes {
        gap: .3rem;
    }

    .palette-code {
        font-size: 1rem;
        padding: 1px 13px
    }

    .palette-fav-btn {
        font-size: 1rem;
        top: 58%;
        right: 15px
    }

    .explore-palettes h2 {
        font-size: 1.3rem;
        margin-left: 1.4rem;
    }

    .color-page-title {
        font-size: 1.5rem
    }

    .palettes-container {
        padding: 16px
    }

    .privacy-title {
        font-size: 1.8rem
    }

    .privacy-effective-date {
        font-size: 1rem
    }

    .privacy-section {
        padding: 1rem;
        margin-bottom: 1.5rem
    }

    .privacy-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem
    }

    .privacy-subtitle {
        font-size: 1rem;
        margin: 1rem 0 .75rem
    }

    .privacy-section p {
        font-size: .9rem
    }

    .privacy-list li {
        font-size: .9rem;
        padding-left: 1.25rem
    }

    .contact-info {
        padding: 1rem
    }

    .sitemap-section:not(:last-child) .sitemap-grid {
        grid-template-columns: 1fr 1fr
    }

    .sitemap-section:last-child .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .625rem
    }

    .sitemap-section:last-child .sitemap-link {
        font-size: .8rem
    }

    .sitemap-section {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 12px
    }

    .sitemap-title {
        font-size: 1.75rem
    }

    .sitemap-subtitle {
        font-size: .95rem
    }

    .sitemap-section-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem
    }

    .sitemap-link {
        font-size: .95rem
    }

    .sitemap-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px
    }

    .sitemap-logo svg {
        width: 30px;
        height: 30px
    }

    .color-dot {
        width: 10px;
        height: 10px;
        margin-right: .5rem
    }

    .error-page {
        padding: 1rem 0.5rem;
    }

    .error-container {
        padding: 1.5rem 1rem;
    }

    .error-number {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .error-logo .logo-text {
        font-size: 1.5rem;
    }

    .error-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .error-logo .logo-icon svg {
        width: 24px;
        height: 24px;
    }

    .empty-favorites-container {
        padding: 2.5rem 1rem;
    }

    .empty-favorites-icon {
        width: 60px;
        height: 60px;
    }

    .empty-favorites-icon i {
        font-size: 1.5rem;
    }

    .empty-favorites-title {
        font-size: 1.125rem;
    }

    .empty-favorites-description {
        font-size: 0.9rem;
    }
}

/* 350px and below */
@media (max-width:350px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .home-info-section {
        padding: 1rem .3rem .8rem .3rem
    }

    .color-page-main,
    .color-info-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .color-page-palettes-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .color-section-heading {
        font-size: 1.2rem;
    }

    .color-section-content {
        font-size: 0.98rem;
    }

    .color-description{
        font-size: 1rem;
        text-align: left;
    }

    .main-header .container {
        padding: 0 10px !important
    }

    .info-container {
        padding: 1rem .8rem;
        border-radius: 12px
    }

    .info-title {
        font-size: 1.2rem;
        margin-bottom: .7rem;
        line-height: 1.2
    }

    .info-lead {
        font-size: .9rem;
        margin-bottom: 1.2rem
    }

    .info-subtitle {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: .3rem
    }

    .info-container p {
        font-size: .88rem;
        margin-bottom: .8rem;
        line-height: 1.4
    }

    .info-features h3 {
        font-size: .95rem;
        margin-bottom: .3rem
    }

    .info-features ul {
        padding-left: .8rem;
        margin-bottom: .9rem
    }

    .info-features li {
        font-size: .85rem;
        margin-bottom: .25rem
    }

    .info-footer {
        font-size: .9rem;
        margin-top: 1rem
    }

    .explore-palettes {
        margin-bottom: 1rem
    }

    .explore-palettes h2 {
        font-size: 1.6rem;
        margin-bottom: .8rem;
        margin-left: 0.8rem;
    }

    .palette-grid {
        gap: .8rem;
        grid-template-columns: 1fr
    }

    .palette-card {
        min-height: 200px;
        margin-bottom: 1rem;
        padding: .6rem .6rem .4rem .6rem;
        width: 100% !important;
        max-width: none;
    }

    .palette-colors {
        min-height: 120px
    }

    .palette-color-block {
        height: 120px;
        min-height: 120px
    }

    .palette-actions {
        top: 77%;
    }

    .palette-info {
        padding-top: .4rem
    }

    .palette-name {
        font-size: 1.2rem;
        margin-bottom: .25rem
    }

    .palette-codes {
        gap: .25rem;
    }

    .palette-code {
        font-size: 0.8em;
        padding: 6px 35px;
    }

    .palette-fav-btn {
        font-size: 1.2rem;
        top: 50%;
        right: 10px
    }

    .main-header .navbar {
        padding: .3rem 0
    }

    .navbar-toggler {
        padding: .25rem
    }

    .navbar-toggler-icon {
        width: .8em;
        height: .8em
    }

    .offcanvas .search-bar-container {
        margin-bottom: .8rem
    }

    .offcanvas .search-bar {
        padding: 13px 10px;
        border-radius: 8px
    }

    .offcanvas .search-bar input {
        font-size: 1.1rem
    }

    .offcanvas .search-icon {
        font-size: 1rem
    }

    /* Mobile Offcanvas Full Width */
    .offcanvas {
        width: 100% !important;
        max-width: 100% !important;
    }

    .offcanvas-body {
        padding: 1.5rem 0.5rem;
        width: 100% !important;
    }

    .mobile-nav {
        width: 100% !important;
    }

    .mobile-nav .nav-item {
        width: 100% !important;
    }

    .mobile-nav .nav-link {
        width: 100% !important;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .offcanvas .logo-text {
        font-size: .9rem
    }

    .offcanvas .logo-icon {
        width: 28px;
        height: 28px
    }

    .offcanvas .logo-icon svg {
        width: 14px;
        height: 14px
    }

    .about-title {
        font-size: 1.1rem
    }

    .about-subtitle {
        font-size: .8rem;
        margin-bottom: 1rem
    }

    .about-section {
        margin: 1rem 0
    }

    .about-section p {
        font-size: .8rem
    }

    .about-section .col-12 {
        padding: 0 .9rem;
        width: 100% !important
    }

    .about-section .col-12:last-child {
        margin-bottom: 0
    }

    .about-section h4 {
        font-size: .9rem;
        margin-bottom: .5rem
    }

    .about-section li {
        font-size: .8rem;
        margin-bottom: .4rem
    }

    .about-section li i {
        font-size: .8rem
    }

    .about-card {
        padding: 1.2rem .9rem;
        border-radius: 12px
    }

    .about-card h4 {
        font-size: .9rem;
        margin-bottom: .2rem
    }

    .about-card p {
        font-size: .8rem
    }

    .about-card .btn {
        min-width: 90px;
        font-size: .75rem;
        padding: .4rem .6rem
    }

    .contact-header {
        padding: 1.5rem .3rem 1rem .3rem;
        border-radius: 0 0 16px 16px
    }

    .contact-header h1 {
        font-size: 1.2rem;
        margin-bottom: .2rem
    }

    .contact-header p {
        font-size: .85rem
    }

    .contact-form-card {
        padding: 1.2rem 1rem;
        border-radius: 16px
    }

    .contact-form-card .form-control {
        min-height: 38px;
        font-size: .8rem
    }

    .contact-form-card textarea.form-control {
        min-height: 70px
    }

    .contact-form-card .btn-primary {
        font-size: .9rem;
        padding: .4rem 0
    }

    .privacy-title {
        font-size: 1.6rem
    }

    .privacy-logo {
        width: 50px;
        height: 50px
    }

    .privacy-logo svg {
        width: 25px;
        height: 25px
    }

    .privacy-section {
        padding: .75rem
    }

    .privacy-section-title {
        font-size: 1.1rem
    }

    .privacy-subtitle {
        font-size: .95rem
    }

    .privacy-section p {
        font-size: .85rem
    }

    .privacy-list li {
        font-size: .85rem;
        padding-left: 1rem
    }

    .sitemap-section:not(:last-child) .sitemap-grid {
        grid-template-columns: 1fr 1fr
    }

    .sitemap-section:last-child .sitemap-grid {
        grid-template-columns: 1fr;
        gap: .5rem
    }

    .sitemap-section:last-child .sitemap-link {
        font-size: .75rem
    }

    .sitemap-section {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px
    }

    .sitemap-title {
        font-size: 1.5rem
    }

    .sitemap-subtitle {
        font-size: .9rem
    }

    .sitemap-section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem
    }

    .sitemap-link {
        font-size: .9rem
    }

    .sitemap-logo {
        width: 50px;
        height: 50px;
        border-radius: 12px
    }

    .sitemap-logo svg {
        width: 25px;
        height: 25px
    }
    .color-chip{
        font-size: 1.2rem;
    }
    .color-dot {
        width: 15px;
        height: 15px;
    }

    .sitemap-link i {
        font-size: 1rem;
        margin-right: .5rem
    }

    .error-number {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-message {
        font-size: 0.9rem;
    }

    .error-suggestions {
        padding: 1rem;
    }

    .about-logo {
        width: 130px;
        height: 130px;
        margin-bottom: .5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-logo .color-palettes-icon {
        width: 80px !important;
        height: 80px !important;
        padding: 6px;
        display: block;
        margin: 0 auto;
    }
}