:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --background: #ffffff;
    --foreground: #000000;
    --muted: #fafafa;
    --muted-foreground: #737373;
    --popover: #ffffff;
    --popover-foreground: #000000;
    --border: #e5e5e5;
    --input: #e5e5e5;
    --card: #ffffff;
    --card-foreground: #000000;
    --primary: #000000;
    --primary-foreground: #ffffff;
    --secondary: #f5f5f5;
    --secondary-foreground: #000000;
    --accent: #f5f5f5;
    --accent-foreground: #000000;
    --destructive: #ff0000;
    --destructive-foreground: #ffffff;
    --ring: #000000;
    --radius: 0.5rem;
}

.dark {
    --background: #000000;
    --foreground: #ffffff;
    --muted: #0a0a0a;
    --muted-foreground: #a3a3a3;
    --popover: #000000;
    --popover-foreground: #ffffff;
    --border: #262626;
    --input: #262626;
    --card: #0a0a0a;
    --card-foreground: #ffffff;
    --primary: #ffffff;
    --primary-foreground: #000000;
    --secondary: #1c1c1c;
    --secondary-foreground: #ffffff;
    --accent: #1c1c1c;
    --accent-foreground: #ffffff;
    --destructive: #ff0000;
    --destructive-foreground: #ffffff;
    --ring: #ffffff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    border-bottom: 1px solid var(--border);
    padding: 1rem 1rem;
    position: sticky;
    top: 0;
    background-color: var(--background);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.header nav {
    display: flex;
    align-items: center;
}

.header nav ul,
.footer nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.header nav ul li,
.footer nav ul li {
    margin-left: 1.5rem;
}

.header nav ul li:first-child,
.footer nav ul li:first-child {
    margin-left: 0;
}

.header nav ul li a,
.footer nav ul li a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header nav ul li a:hover,
.footer nav ul li a:hover {
    color: var(--foreground);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.dark .sun-icon,
.moon-icon {
    display: none;
}

.dark .moon-icon {
    display: block;
}

.main {
    flex: 1;
    padding: 1rem 1rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.checker {
    margin-bottom: 4rem;
}

.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px var(--ring);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--primary-foreground);
    background-color: var(--primary);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.button:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
    border-color: var(--primary);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.results-table th,
.results-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.results-table th {
    font-weight: 600;
    background-color: var(--muted);
}

.results-table tr:last-child td {
    border-bottom: none;
}
.results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.results ul {
    list-style-type: none; /* Remove default list style */
    padding: 0;           /* Remove default padding */
    margin: 0;            /* Remove default margin */
}

.results li {
    padding: 0.5rem 0;    /* Add some vertical padding */
    overflow-wrap: break-word; /* Break long words onto the next line */
    word-wrap: break-word; /* Break long words onto the next line */
    white-space: normal;   /* Allow text to wrap normally */
    max-width: 100%; /* Ensure li does not exceed the width of the parent */
}
.info, .features, .faq {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.features ul {
    list-style-type: none;
    padding-left: 0;
}

.features ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.features ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.faq-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--muted-foreground);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-menu{
    display: none;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Reset link styles */
a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

/* Underline effect */
a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Show underline on hover */
a:hover::after {
    transform: scaleX(1);
}

.footer-column ul li a, .tool-link {
                color: var(--muted-foreground);
                text-decoration: none;
                transition: color 0.2s ease;
            }

            .footer-column ul li a:hover, .tool-link:hover {
                color: var(--foreground);
            }

  
            .footer {
                border-top: 1px solid var(--border);
                padding: 3rem 0 1.5rem;
                color: var(--muted-foreground);
            }

            .footer-content {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap to a new line on smaller screens */
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1; /* Allows columns to take equal space */
    min-width: 200px; /* Sets a minimum width for responsiveness */
    max-width: 300px; /* Optional: maximum width for layout control */
    padding: 1rem; /* Padding for spacing */
    box-sizing: border-box; /* Ensures padding is included in the width */
    align-self: flex-start; /* Ensures each column starts at the top */
}

            .footer-logo {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 0.5rem;
                padding: 1rem;
                height: 100%;
            }

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

            .footer-logo span {
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--foreground);
            }

            .footer-column h3 {
                font-size: 1rem;
                font-weight: 600;
                color: var(--foreground);
                margin-bottom: 1rem;
            }

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

            .footer-column ul li {
                margin-bottom: 0.5rem;
            }
            

            .copyright {
    text-align: center; /* Center-aligns the text inside the copyright container */
    padding-top: 1.5rem; /* Optional: Adds space above the text */
    border-top: 1px solid var(--border);           /* Ensures the container spans the full width */
}



@media (max-width: 768px) {

    .desktop-nav{
      margin-left: auto;
    }
    .header nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--background);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

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

    .mobile-menu ul li {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .mobile-menu ul li a {
        font-size: 1.25rem;
        color: var(--foreground);
        text-decoration: none;
    }

    .mobile-menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--foreground);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .form {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
    .results ul {
        list-style-type: none; /* Remove default list style */
        padding: 0;           /* Remove default padding */
        margin: 0;            /* Remove default margin */
    }
    
    .results li {
        padding: 0.5rem 0;    /* Add some vertical padding */
        overflow-wrap: break-word; /* Break long words onto the next line */
        word-wrap: break-word; /* Break long words onto the next line */
        white-space: normal;   /* Allow text to wrap normally */
        max-width: 100%; /* Ensure li does not exceed the width of the parent */
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    .footer-content {
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                }

                .footer-logo {
                    align-items: center;
                    margin-bottom: 1.5rem;
                }

                .footer-column {
                    width: 100%;
                    max-width: none;
                }
}
