/* Reset some basic styles */
html, body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction:column;
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 80px; /* Prevent content from hiding behind fixed header */
    background-color: #f9f9f9;
}

.content {
    flex: 1;
    min-width: 800px;
}

/* Header Styling */
.header {
    font-family: "Syne", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #F1F3F5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: #333;
}

.nav {
    display: flex;
    gap: 20px;
    padding-left: 50px;
}

.nav > a {
    text-decoration: none;
    color: #98A0B0;
    font-size: 16px;
    padding: 0px 35px 0px 35px;
    transition: background 0.3s ease;
    position: relative;
}

/* Dropdown Mega Menu */
.dropdown {
    text-decoration: none;
    color: #98A0B0;
    font-size: 16px;
    padding: 0px 15px 0px 15px;
    transition: background 0.3s ease;
    position: relative;
}

.dropdown > a {
    text-decoration: none;
    color: #98A0B0;
}

.dropdown span > svg {
    width: 15px;
    height: 15px;
    background-color: #98A0B0;
    line-height: 15px;
}

.dropdown span > svg > path {
    fill: #ffffff;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    display: none;
    white-space: nowrap;
}

.dropdown:hover .mega-menu {
    display: block;
}

.mega-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    position: relative;
}

.mega-menu li:last-child {
    border-bottom: none;
}

.mega-menu li:hover {
    background-color: #f1f1f1;
}

.mega-menu a {
    color: #98A0B0;
    text-decoration: none;
}

/* Submenu Styling */
.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    border-radius: 5px;
}

.mega-menu li:hover .sub-menu {
    display: block;
}

.sub-menu li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li:hover {
    background-color: #eaeaea;
}

/* Mobile Menu Toggle */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
}

/* Footer Styling */
.footer {
    background-color: #3c3d5a;
    padding: 40px 0;
    color: #333;
    font-family: Arial, sans-serif;
    margin-top: 40px;
}

.footer-container {
    width: 70%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column-3 {
    flex: 1;
    min-height:100px;
    line-height:10px;
    font-family: "Poppins", Sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #000;
}

/* Social Icons */
.footer-social svg {
    width: 20px;
    height: 20px;
    background-color: #fff;
    color:#3c3d5a;
    line-height: 20px;
    padding: 5px;
}

.footer-social a:hover {
    color: #000;
}

/* Copyright */
.footer-bottom {
    font-family: "Syne", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    color: #98A0B0;
}

.footer-left{
    text-align:left;
}

.footer-center{
    text-align:center;
}

.footer-right{
    text-align:right;
}

/* Main Content */
main {
    font-family: Arial, sans-serif;
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    /* border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
}

/* Tool List */
.tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

.tool-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.tool-card:hover {
    background: #0073e6;
    color: white;
    transform: translateY(-3px);
}

.inner-content {
    margin: auto;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.input-group {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
}
label {
    margin-right: 10px;
    min-width:50px;
}
input, select {
    padding: 5px;
    margin: 2px 0;
    /* text-align: center; */
    width: 50px;
}
input {
    max-width: -webkit-fill-available;
    width:100%;
}

textarea {
    width: -webkit-fill-available;
    display: flex;
    height: 100px;
    padding: 5px;
    resize: vertical;
}

.long-input {
    /* max-width: 260px; */
    width:100%;
}
button {
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin:5px 0px;
}
button:hover {
    background-color: #0056b3;
}
#colorPreview {
    width: 100%;
    height: 100px;
    border: 1px solid black;
}
#cmykPreview {
    width: 100%;
    height: 100px;
    border: 1px solid black;
}

.flex-container{
    display:flex;
/*     justify-content:space-between; */
/*     align-items:center; */
}

/* .flex-container > div{
    max-width:70%;
} */

.horizontal-banner{
    /* display: none; */
    width:728px;
    height:90px;
    background-color: #ff8383;
}

.vertical-banner{
    /* display: none; */
    width:160px;
    height:600px;
    background-color: #ff8383;
}

.square-banner{
    /* display: none; */
    width:336px;
    height:280px;
    background-color: #ff8383;
}

.p-t-20 {
    padding-top: 20px;
}

.wr-break{
    word-wrap:normal;
}

/* General Mobile Adjustments */
@media (max-width: 600px) {
    body {
        padding-top: 100px;
    }

    .content{
        min-width:0px;
    }
    .header {
        min-height: 70px;
        padding: 10px 0;
    }

    .header-container {
        width: 100%;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
        font-size: 24px;
        padding: 10px;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #F1F3F5;
        padding: 10px 0;
        text-align: center;
        z-index: 1001;
    }

    .nav.show {
        display: flex;
    }

    .nav a, .dropdown {
        display: block;
        padding: 15px;
        width: -webkit-fill-available;
    }

    .dropdown .mega-menu {
        width: 100%;
        position: static;
        transform: none;
        padding: 0px;
    }

    .mega-menu ul {
        display: block;
        text-align: left;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .flex-container > div {
        max-width: 100%;
    }

    .horizontal-banner,
    .square-banner {
        margin: 10px auto;
    }

    .horizontal-banner{
        width:320px;
        height:50px;
    }

    .square-banner{
        width:300px;
        height:250px;
    }
    
    .vertical-banner {
        display:none;
    }

    .inner-content {
        width: auto;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        display:inline-block;
    }

    .input-group input {
        text-align: left;
        padding: 10px;
        width: -webkit-fill-available;
    }

    button {
        width: 100%;
        padding: 10px;
        margin-top:10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left{
        display:none;
    }
        
    .footer-right{
        text-align:center;
    }
}



/* === Tailwind CSS Margin Utilities === */

/* General Margin */
.m-0    { margin: 0px; }
.m-1    { margin: 0.25rem; }
.m-2    { margin: 0.5rem; }
.m-3    { margin: 0.75rem; }
.m-4    { margin: 1rem; }
.m-5    { margin: 1.25rem; }
.m-6    { margin: 1.5rem; }
.m-8    { margin: 2rem; }
.m-10   { margin: 2.5rem; }
.m-12   { margin: 3rem; }
.m-16   { margin: 4rem; }
.m-20   { margin: 5rem; }
.m-24   { margin: 6rem; }
.m-32   { margin: 8rem; }
.m-40   { margin: 10rem; }
.m-48   { margin: 12rem; }
.m-56   { margin: 14rem; }
.m-64   { margin: 16rem; }
.m-auto { margin: auto; }

/* Axis Margin */
.mx-0   { margin-left: 0px; margin-right: 0px; }
.mx-1   { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2   { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3   { margin-left: 0.75rem; margin-right: 0.75rem; }
.mx-4   { margin-left: 1rem; margin-right: 1rem; }
/* ... up to mx-64, mx-auto */

.my-0   { margin-top: 0px; margin-bottom: 0px; }
.my-1   { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2   { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3   { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4   { margin-top: 1rem; margin-bottom: 1rem; }


/* Side Margin */
.mt-0   { margin-top: 0px; }
.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-3   { margin-top: 0.75rem; }
.mt-4   { margin-top: 1rem;}

.mr-0   { margin-right: 0px; }
.mr-1   { margin-right: 0.25rem; }
.mr-2   { margin-right: 0.5rem; }
.mr-3   { margin-right: 0.75rem; }
.mr-4   { margin-right: 1rem;}

.mb-0   { margin-bottom: 0px; }
.mb-1   { margin-bottom: 0.25rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem;}

.ml-0   { margin-left: 0px; }
.ml-1   { margin-left: 0.25rem; }
.ml-2   { margin-left: 0.5rem; }
.ml-3   { margin-left: 0.75rem; }
.ml-4   { margin-left: 1rem;}
