:root {
    --primary: #0A1931;
    --secondary: #e74c3c;
    --accent: #0ad1aa;
    --light: #f8f9fa;
    --dark: #0A1931;
    --success: #2ecc71;
    --warning: #f39c12;
    --text: #333;
    --black: #000;
    --white: #fff;
    --text-light: #777;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    font-family: 'Sora', Arial, Helvetica, sans-serif;
    background-color: #DFE0E1;
}

body {
    color: var(--primary);
    line-height: 3;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bree Serif', Georgia, serif;
}

p {
    font-family: 'Sora', Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

section {
    min-height: 100vh;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    transition: background-color 0.8s ease;
}

header {
    background: var(--primary);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

hr {
    width: 50%;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

i {
    color: var(--secondary);
}

p .contents {
    text-align: justify;
}

.light {
    background-color: var(--light);
    color: var(--primary);
}

.dark {
    background-color: var(--primary);
    color: var(--light);
}

.accent {
    background-color: var(--accent);
    color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-control {
    border: 2px solid #ccc;
}

.btn {
    border: none;
    padding: 12px 24px;
    margin: 5px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-black {
    background: black;
    color: white;
}

.btn-white {
    background: white;
    color: var(--secondary);
}

.btn-primary,
.btn-accent:hover {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover i {
    color: white;
}


.btn-secondary,
.btn-black:hover,
.btn-white:hover {
    background: var(--secondary);
    color: white;
}

.btn-secondary i,
.btn-black:hover i,
.btn-white:hover i {
    color: #fff;
}

.light .btn-secondary:hover,
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.dark .btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

.section-title {
    text-align: center !important;
    margin: 30px 0 20px;
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
    font-weight: 700;
}

.side-title {
    text-align: left !important;
    margin: 30px 0 20px;
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
    font-weight: 700;
}

.section-title:after,
.side-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
}

.dark .section-title {
    text-align: center !important;
    margin: 50px 0 40px;
    font-size: 2.2rem;
    color: var(--light);
    position: relative;
    font-weight: 700;
}

.dark .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
}

.sectionhead {
    text-align: center !important;
    line-height: 2;
}

.sectionhead h1 {
    font-weight: 700;
}

.sectionhead p {
    max-width: 710px;
    margin: 0 auto 80px;
    opacity: 0.9;
    font-size: 1rem;
    margin-top: 20px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.icon-circle i,
.btn-secondary i {
    color: white !important;
}

.icon-circle:hover {
    border: 10px double var(--secondary);
    background: white;
    color: var(--secondary);
}

.icon-circle i:hover {
    color: var(--secondary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo i {
    color: var(--secondary);
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 600;
    transition: var(--transition);
    padding: 2px 15px;
    border-radius: 4px;
    margin-left: 5px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
    border: none;
}

.nav-tabs .nav-link {
    color: #0A1931;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--primary);
    color: #fff;
    z-index: 1050;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header span {
    font-weight: 600;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    padding: 15px;
    margin: 0;
    flex: 1;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu i {
    margin-right: 10px;
}

.sidebar-footer {
    padding: 15px;
}

/* Overlay */
#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

#sidebarOverlay.active {
    display: block;
}

.sidebar {
    position: sticky;
    top: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 0.75rem 1.25rem;
}

.sidebar .list-group-item.active {
    background-color: transparent;
    color: var(--primary);
    border-left: 3px solid var(--secondary);
    font-weight: 600;
}

.sidebar .list-group-item:hover {
    background-color: #ddd;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0A1931 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml; utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.abouthero {
    background: linear-gradient(rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.95)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 50px 0 50px;
    color: var(--light);
}

.abouthero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 20px;
}

.abouthero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 35px;
}


.icon-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.40;
    z-index: 1;
    color: #e74c3c;
}

/* Unused animations removed */

.card {
    background: #fff;
}

.accordion-button {
    font-weight: 600;
    padding: 20px;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-body {
    padding: 20px;
}

.service-card {
    border-top: 4px solid var(--secondary);
    border-radius: 5px;
    height: 100%;
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.1);

}

.service-card:hover .icon-circle {
    background: var(--primary);
    border: 8px double var(--primary);
}

.value-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
}

.box-card {
    background: white;
    box-shadow: 1px solid #ddd;
    padding: 20px 10px;
    color: #000;
    height: 100%;
}

.resource-card {
    background-color: white;
    color: var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resource-img {
    height: 180px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.resource-img i {
    color: #fff
}

.resource-content {
    padding: 25px;
}

.tool-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
    background: none;
}


.tool-card:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-card:hover .tool-icon {
    color: white;
}


.blog-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-img {
    height: 200px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: gray;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.blog-tag {
    background-color: rgba(211, 84, 0, 0.1);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.card p,
.box-card p,
.value-card p,
.resource-card p,
.blog-card p,
.service-card p {
    line-height: 35px;
    margin-top: 20px;
    text-align: justify;
}

.box-card:hover,
.box-card:hover i,
.service-card:hover {
    background: var(--secondary);
    color: white;
}

.cta-section {
    background: linear-gradient(rgba(211, 84, 0, 0.9), rgba(211, 84, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 20px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: var(--accent);
}

.stat-item {
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    /* Initial color (dark gray) */
    transition: color 0.3s ease;
}

.toc-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 180px;
}

.toc-list a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.toc-list a.active,
.toc-list a:hover {
    color: var(--secondary);
    font-weight: 600;
    border-left: 2px solid var(--secondary);
    border-radius: 4px;
    padding: 10px 15px;
}

.toc-section {
    padding-bottom: 80px;
}

.toc-section h2 {
    color: var(--secondary);
}

.toc-section h3 {
    color: var(--accent);
}



.tool-header {
    background: var(--primary);
    color: white;
    padding: 25px 30px;
}



.tool-body {
    padding: 10px;
}

.code-editor-container {
    border: 1px solid var(--light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.editor-header {
    background-color: var(--light);
    padding: 10px 15px;
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-actions button {
    margin-left: 10px;
}

#ace-editor {
    height: 400px;
    width: 100%;
    font-size: 14px;
}

.editor-theme-selector {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.editor-theme-selector select {
    margin-left: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: white;
}

.ace_gutter-cell.highlighted {
    background-color: rgba(255, 255, 0, 0.3) !important;
}

.ace_marker {
    position: absolute;
}

.error-marker {
    background-color: rgba(231, 76, 60, 0.2);
    position: absolute;
}

.warning-marker {
    background-color: rgba(243, 156, 18, 0.2);
    position: absolute;
}

.results-container {
    margin-top: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.validation-results {
    border: 1px solid var(--light);
    border-radius: 8px;
    overflow: hidden;
}

.results-list {
    max-height: 400px;
    overflow-y: auto;
}

.result-item {
    padding: 15px;
    border-bottom: 1px solid var(--light);
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: background-color 0.2s;
}

.result-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.result-item:last-child {
    border-bottom: none;
}

.result-icon {
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.result-error .result-icon {
    color: var(--error);
}

.result-warning .result-icon {
    color: var(--warning);
}

.result-info .result-icon {
    color: var(--accent);
}

.result-success .result-icon {
    color: var(--success);
}

.result-content h5 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.result-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.result-line {
    display: inline-block;
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 10px;
    cursor: pointer;
}

.result-line:hover {
    background-color: rgba(231, 76, 60, 0.2);
}



.sidebar {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.related-tools {
    list-style: none;
    padding: 0;
}

.related-tools li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light);
}

.related-tools li:last-child {
    border-bottom: none;
}

.related-tools a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.related-tools a:hover {
    color: var(--secondary);
}

.tool-icon-small {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-valid {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.status-invalid {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error);
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 80px;
    right: -50px;
    width: 100px;
    height: 2px;
    background: var(--secondary);
    z-index: 1;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.process-icon i {
    color: #fff;
}

.processcard p {
    line-height: 35px;
    text-align: left;
    margin-top: 20px;
}
 .code-container {
        position: relative;
        background: var(--primary);
        padding: 1em;
        color: #fff;
        text-align: left;
        border-radius: 0 0 10px 10px;
        font-family: monospace;
        margin-bottom: 1em;
        line-height: 25px;
    }

    .code-container pre {
        margin: 0;
        overflow-x: auto;
        text-align: left;
    }
    
    .btncopy {
       position: absolute;
    top: 5px;
    right: 5px;
    background: var(--secondary);
    border-color: var(--secondary);
    transition: var(--transition);
padding:3px 5px !important;
    margin: 0 !important;
    border: none;
    margin: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .btncopy:hover {
        background: #c0392b;
        border-color: #c0392b;
        transform: translateY(-2px);
    }
    
    
.color-property {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed #eee;
        }
        
        .property-name {
            font-weight: 600;
            color: #555;
        }
        
        .property-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .readability-good {
            color: #27ae60;
            font-weight: bold;
        }
        
        .readability-fair {
            color: #f39c12;
            font-weight: bold;
        }
        
        .readability-poor {
            color: #e74c3c;
            font-weight: bold;
        }
        
        .pass {
            color: #27ae60;
            font-weight: bold;
        }
        
        .fail {
            color: #e74c3c;
            font-weight: bold;
        }
        
        .color-properties-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .color-property-box {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }
        
        .property-label {
            font-size: 0.9rem;
            color: #7f8c8d;
            margin-bottom: 5px;
        }
        
        .property-value-box {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2c3e50;
        }

.search {
    max-width: 600px;
    margin: 0 auto 50px;
}

.search .input-group .form-control {
    padding: 15px 20px;
    border-radius: 50px 0 0 50px;
    border: 2px solid var(--light-gray);
    border-right: none;
}

.search.input-group .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
}

.featured {
    background: var(--primary);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-content {
    padding: 50px;
    color: white;
}

.featured-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sidebarright {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebarright h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.sidebarright .categories-list {
    list-style: none;
    padding: 0;
}

.sidebarright .categories-list li {
    margin-bottom: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--light-gray);
}

.sidebarright .categories-list li:last-child {
    border-bottom: none;
}

.sidebarright .categories-list a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    justify-content: between;
}

.sidebarright .categories-list a:hover {
    color: var(--secondary);
}

.sidebarright .categories-list .count {
    background-color: var(--light-gray);
    color: var(--gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.recent-tool {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.recent-tool:last-child {
    border-bottom: none;
}

.recent-blog-img {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.recent-blog-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.recent-blog-content .date {
    font-size: 0.8rem;
    color: var(--gray);
}





.tool-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tool-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tool-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}







footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column ul li {
    margin-bottom: 2px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none !important;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--accent);
    text-decoration: none !important;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 30px;
}



.copy-trigger.copied {
    background-color: var(--primary) !important;
    color: #fff !important;
    transition: background-color 0.3s ease;
}

/* Mobile Nav */
.navbar-toggler {
    border: none;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .editor-actions {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .editor-actions button {
        margin-left: 0;
        margin-bottom: 5px;
    }

    #ace-editor {
        height: 300px;
    }

    .featured-content {
        padding: 30px;
    }

}

@media (max-width: 576px) {
    .logo {
        font-size: 1.5rem;
    }
}



.color-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.color-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.color-swatch {
    transition: opacity 0.3s ease;
}

.color-card:hover .color-swatch {
    opacity: 0.9;
}

.colorcard {
    height: 280px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.colorcard:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.colorcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.color-name {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
    margin-bottom: 8px;
}

.color-subtitle {
    font-size: 14px;
    z-index: 2;
}

.color-icon {
    font-size: 48px;
    margin-bottom: 15px;
    z-index: 2;
    opacity: 0.9;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: rgba(108, 99, 255, 0.1);
    border-color: #6c63ff;
    transform: translateX(-5px);
}

.carousel-item {
    text-align: center;
    padding: 20px 0;
    color: white;
    width: 100%;
    padding-top: 5vh;
}

.color-box {
    width: 250px;
    height: 250px;
    margin: auto;
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.color-box p {
    text-align: center;
    margin-top: 100px;
    font-weight: bold;
    font-size: 20px;
    color: #fff
}

.icon i {
    padding-right: 20px;
}

#colorInfo {
    font-size: 15px;
}

#colorInfo span {
    font-size: 15px;
    color: #fff;
    background: #000;
    padding: 10px 10px;
    border-radius: 20px;
    margin-top: 10px;
}


    .stats-box {
        background: white;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 1.5rem;
    }

    .stat-value {
        font-weight: 700;
        color: var(--primary);
    }

   