 /* BASIC RESET */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
	  
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f8f9fa;
      color: #333;
     padding-top: 70px;
    }
       /* ===== NAVBAR STYLES ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
			border-bottom:5px solid #E6E6FA;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #FF6F61;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            align-items: center;
            transition: all 0.3s ease;
        }

        .nav-link {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #FF6F61;
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link:hover {
            color: #FF6F61;
        }

        .toggle-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger {
            display: block;
            width: 25px;
            height: 2px;
            background: #333;
            position: relative;
            transition: all 0.3s ease;
        }

        .hamburger::before,
        .hamburger::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: inherit;
            transition: all 0.3s ease;
        }

        .hamburger::before {
            top: -8px;
        }

        .hamburger::after {
            top: 8px;
        }

        .toggle-btn.active .hamburger {
            background: transparent;
        }

        .toggle-btn.active .hamburger::before {
            transform: rotate(45deg);
            top: 0;
        }

        .toggle-btn.active .hamburger::after {
            transform: rotate(-45deg);
            top: 0;
        }
		@media (max-width: 768px)
		{
			.color-info-bar{
				margin-top:20px;
				position:relative;
			}
		}
        @media (max-width: 768px) {
            .nav-container {
                padding: 1rem;
            }
            
            .toggle-btn {
                display: block;
            }
            
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                flex-direction: column;
                gap: 0;
                max-height: 0;
                overflow: hidden;
                padding: 0;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                max-height: 400px;
                padding: 1rem 0;
            }
            
            .nav-link {
                width: 100%;
                text-align: center;
                padding: 1rem;
            }
            
            .nav-link::after {
                display: none;
            }
            
            .nav-link:hover {
                background: #f8f8f8;
            }
        }
    	/* Back to top button */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
          background-color:#3362FF;
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .slide-up {
            animation: slideUp 0.5s ease forwards;
        }
		/* TOAST NOTIFICATION */
		.toast {
		  position: fixed;
		  bottom: 20px;
		  left: 50%;
		  transform: translateX(-50%);
		  background-color: #333;
		  color: #fff;
		  padding: 10px 20px;
		  border-radius: 4px;
		  opacity: 0;
		  transition: opacity 0.3s;
		  z-index: 9999;
		  font-size: 14px;
		}
		.toast.show {
		  opacity: 1;
		}

    
    /* PICKER CARD LAYOUT */
   .picker-card {
      max-width: 900px;
      margin: 0 auto 20px;
      border-radius: 4px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .color-info-bar {
	  position: sticky;
      top: 0px;
	  margin-top:10px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      padding: 15px 20px;
      border-bottom: 1px solid #eee;
      background: #fff;
	  z-index: 9998;
	  transition: all 0.3s ease-in-out;
    }
    .color-preview-small {
      width: 30px;
      height: 30px;
      border-radius: 4px;
      margin-right: 15px;
      border: 1px solid #eee;
    }
    .color-values {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      flex: 1;
    }
    .color-value-group {
      display: flex;
      align-items: center;
      margin-right: 20px;
      margin-bottom: 5px;
    }
    .color-label {
      color: #999;
      font-size: 14px;
      margin-right: 5px;
    }
    .color-value {
      font-size: 16px;
      font-weight: 500;
      background-color: #f0f0f0;
      padding: 5px 10px;
      border-radius: 4px;
      transition: background-color 0.2s;
      margin-right: 10px;
    }
    .color-value:hover {
      background-color: #e0e0e0;
    }
    .action-icons {
      display: flex;
      gap: 15px;
    }
    .action-icon {
      color: #999;
      cursor: pointer;
      transition: color 0.3s;
      font-size: 18px;
    }
    .action-icon:hover {
      color: #FF5733;
    }
    .color-palette {
      display: flex;
      margin-left: 15px;
      flex-wrap: wrap;
      gap: 5px;
    }
    .palette-color {
      width: 20px;
      height: 20px;
      border-radius: 2px;
      border: 1px solid #ddd;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .palette-color:hover {
      transform: scale(1.1);
    }

    /* MAIN PICKER AREA */
    .picker-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      padding: 20px;
      background: #fff;
    }
    .color-picker-main {
      position: relative;
      flex: 1;
      min-width: 280px;
    }
    #colorCanvas {
      width: 100%;
      height: 300px;
      cursor: crosshair;
      border-radius: 4px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }
    .color-selector {
      position: absolute;
      width: 12px;
      height: 12px;
      border: 2px solid #fff;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      box-shadow: 0 0 3px rgba(0,0,0,0.5);
    }
    .color-slider-container {
      position: relative;
      width: 30px;
      height: 300px;
    }
    #colorSlider {
      width: 100%;
      height: 100%;
      cursor: pointer;
      border-radius: 4px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }
    .slider-selector {
      position: absolute;
      width: 100%;
      height: 8px;
      border: 2px solid #fff;
      transform: translateY(-50%);
      pointer-events: none;
      box-shadow: 0 0 3px rgba(0,0,0,0.5);
    }
    /* PREVIEW & NUMERIC INPUTS */
    .color-preview-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 160px;
    }
    .color-preview-large {
      width: 100px;
      height: 100px;
      border-radius: 4px;
      border: 1px solid #eee;
      box-shadow: 0 1px 4px rgba(0,0,0,0.2);
      margin-bottom: 20px;
    }
    .color-values-detailed {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .color-value-row {
      display: flex;
      margin-bottom: 10px;
      align-items: center;
    }
    .color-value-row .label {
      width: 20px;
      color: #999;
      font-weight: bold;
    }
    .color-value-row .value {
      font-weight: bold;
      cursor: pointer;
      padding: 2px 5px;
      border-radius: 3px;
      transition: background-color 0.2s;
    }
    .color-value-row .value:hover {
      background-color: #f0f0f0;
    }
    .color-input {
      width: 60px;
      margin-left: 10px;
      border: 1px solid #ddd;
      border-radius: 3px;
      padding: 2px 5px;
      font-size: 14px;
    }
	.picker-card {
		  position: sticky;
		  top: 80px;
		  max-width: 900px;
		  margin: 20px auto;
		  border-radius: 12px;
		  background: #fff;
		  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		  z-index: 999;
		}

		.color-info-bar {
		  display: flex;
		  align-items: center;
		  padding: 15px 20px;
		  border-bottom: 1px solid #eee;
		}
	ox-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	}

    .grid-swatch {
      border-radius: 3px;
      border: 1px solid #ccc;
      cursor: pointer;
      transition: transform 0.2s;
      width: 30px;
      height: 30px;
    }
    .grid-swatch:hover {
      transform: scale(1.1);
    }

    /* GRADIENT GENERATOR STYLES */
    .gradient-container {
      max-width: 900px;
      margin: 0 auto 40px;
      background: #fff;
      border-radius: 4px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      padding: 20px;
    }
    .gradient-title {
      font-size: 18px;
      margin-bottom: 20px;
      text-align: center;
      color: #444;
    }
    .color-picker-wrapper {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .color-picker-wrapper input {
      width: 45%;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ddd;
      height: 50px;
    }
    .gradient-preview {
      height: 100px;
      width: 100%;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }
    .gradient-info {
      margin-top: 20px;
    }
    .color-code {
      font-size: 1.1em;
      font-weight: 600;
      padding: 10px;
      border-radius: 8px;
      margin: 10px 0;
      transition: background-color 0.3s ease;
    }
    .color-code.hex {
      background-color: #34495E;
      color: #fff;
    }
    .color-code.rgb {
      background-color: #27AE60;
      color: #fff;
    }

    /* POPULAR COLORS GRID */
    .popular-colors-container {
      max-width: 1200px;
      margin: 0 auto 30px;
      background: #fff;
      border-radius: 4px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      padding: 20px;
    }
    .popular-colors-title {
      font-size: 20px;
      margin-bottom: 20px;
      text-align: center;
      color: #444;
	  font-weight:700;
    }
    .popular-colors-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      gap: 8px;
      padding: 8px;
    }
    .color-card {
      height: 60px;
      cursor: pointer;
      transition: transform 0.2s;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .color-card:hover {
      transform: scale(1.05);
    }

    /* MODERN COLOR PLATTER STYLES */
    .modern-header {
      background-color: #fff;
      color: #333;
      padding: 1.5rem 0;
      text-align: center;
      border-bottom: 1px solid #ddd;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      margin-bottom: 20px;
    }
    .container {
      width: 90%;
      max-width: 1200px;
      margin: auto;
      padding: 1rem;
    }
      
    .modern-color-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1.5rem;
      padding: 1rem 0;
      max-width: 1200px;
      margin: 0 auto;
    }
    .modern-color-card {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.2s ease-in-out;
      overflow: hidden;
      cursor: pointer;
    }
    .modern-color-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }
    .modern-color-preview {
      width: 100%;
      height: 120px;
      border-bottom: 1px solid #eee;
    }
    .modern-color-details {
      padding: 1rem;
      text-align: center;
    }
    .modern-color-name {
      font-weight: 600;
      margin: 0.5rem 0;
      color: #444;
    }
    .modern-color-code {
      font-size: 0.9rem;
      color: #777;
    }
    .modern-color-icons {
      margin-top: 0.5rem;
    }
    .modern-color-icons i {
      margin: 0 0.25rem;
      cursor: pointer;
      color: #666;
      transition: color 0.2s;
    }
    .modern-color-icons i:hover {
      color: #333;
    }

        /* RESPONSIVE LAYOUT TWEAKS */
    @media (max-width: 768px) {
      .picker-container {
        flex-direction: column;
      }
      .color-picker-main,
      .color-slider-container {
        width: 100%;
        margin: 0 auto;
      }
      #colorCanvas, #colorSlider {
        max-width: 400px;
        margin: 0 auto;
      }
      .color-preview-container {
        margin: 0 auto;
      }
      .color-grid {
        grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
      }
      .popular-colors-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
      }
      .modern-color-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      }
    }
	
	.cntr {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        h1 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5em;
            letter-spacing: -0.5px;
        }
        h2 {
            color: #34495e;
            margin: 45px 0 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid #ecf0f1;
            font-size: 1.6em;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 35px;
            background: white;
        }
        th, td {
            padding: 14px 18px;
            text-align: left;
            border-bottom: 1px solid #ecf0f1;
        }
        th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: #2c3e50;
        }
        .color-preview {
            width: 70px;
            height: 35px;
            border-radius: 5px;
            border: 1px solid #ddd;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        tr:hover {
            background-color: #fcfcfc;
        }
	/* ======= FOOTER STYLES ======= */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    border-top: 3px solid #2d2d2d;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col {
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #3d3d3d;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    color: #888888;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #2d2d2d;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 0.35rem 0;
    }

    .social-links {
        order: -1;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        margin-bottom: 1rem;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}