*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{
    background:#f4f7fb;
    color:#222;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#4f46e5;
}

.logo{
    color:#fff;
    text-decoration:none;
    font-size:28px;
    font-weight:700;
}

nav a{
    color:#fff;
    text-decoration:none;
    margin-left:20px;
}

.container{
    max-width:900px;
    margin:50px auto;
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.container h1{
    text-align:center;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:#666;
    margin-bottom:30px;
}

.upload-area{
    border:2px dashed #4f46e5;
    border-radius:10px;
    padding:40px;
    text-align:center;
    cursor:pointer;
}

.upload-area input{
    margin-bottom:20px;
}

.preview{
    text-align:center;
    margin:30px 0;
}

.preview img{
    max-width:100%;
    max-height:350px;
    border-radius:10px;
    display:none;
}

.controls{
    margin-top:20px;
}

.controls label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
}

#quality{
    width:100%;
}

#qualityValue{
    display:block;
    text-align:right;
    margin-top:10px;
    color:#4f46e5;
    font-weight:bold;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

button,
#downloadBtn{
    padding:14px 30px;
    border:none;
    border-radius:8px;
    background:#4f46e5;
    color:#fff;
    cursor:pointer;
    text-decoration:none;
    font-size:16px;
}

button:hover,
#downloadBtn:hover{
    background:#3730a3;
}

.details{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.card{
    background:#f8fafc;
    border-radius:10px;
    padding:20px;
    text-align:center;
}

.card h3{
    margin-bottom:10px;
}

footer{
    margin-top:40px;
    background:#111827;
    color:#fff;
    text-align:center;
    padding:20px;
}

@media(max-width:768px){

.header{
    flex-direction:column;
    gap:15px;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.container{
    margin:20px;
    padding:20px;
}

.buttons{
    flex-direction:column;
}

button,
#downloadBtn{
    width:100%;
}
/* Style the main section container */
section {
    background-color: #ffffff;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
}

/* Instruction Section Container */
.how-to-use-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* Main Heading Styling */
.how-to-use-section h2 {
    font-size: 24px;
    color: #2b3a8f; /* Aapki theme ka blue color */
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

/* Steps List Styling */
.instruction-list {
    list-style-type: none;
    padding-left: 0;
}

.instruction-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
}

/* Highlighted Action Keywords (e.g., Click, Adjust slider) */
.instruction-list li strong {
    color: #2b3a8f;
    font-weight: 600;
}

/* Step Numbers (Visual Bullets) */
.instruction-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #eef2ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

}
