:root {
    --primary: #e2be47;
    --dark: #f7cd44;
}

body {
    font-family: Arial, sans-serif;
    background: var(--dark);
    color: white;
    margin: 0;
}

.header {
    background: var(--dark);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Add more styles as needed */
/* Legal Pages */
.legal-page {
    max-width: 800px;
    line-height: 1.6;
}
.legal-page h2 {
    color: #6e45e2;
    margin-top: 2rem;
}

/* About Page */
.about-section {
    margin-bottom: 3rem;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.feature {
    background: #1e1e2e;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    background: #2d2d42;
    border: 1px solid #3e3e5a;
    color: white;
}
/* ===== Global Styles ===== */
:root {
    --primary: #6e45e2;
    --primary-dark: #4a2dbf;
    --secondary: #1a1a2e;
    --light: #f8f9fa;
    --dark: #0f0f1a;
    --gray: #6c757d;
    --success: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Header Styles ===== */
.header {
    background-color: var(--secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    margin: 0;
}

.tagline {
    margin: 0 0 0 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.arrow {
    border: solid var(--light);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
}

.down {
    transform: rotate(45deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 5px 5px;
}

.dropdown-content a {
    color: var(--light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0.5rem;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tool-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.tool-btn:hover {
    background-color: var(--primary-dark);
}

/* ===== Tools Section ===== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background-color: var(--secondary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ===== Features Section ===== */
.features-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===== Footer Styles ===== */
.footer {
    background-color: var(--dark);
    color: var(--gray);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    color: var(--light);
    margin-bottom: 1rem;
}

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

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

.footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tagline {
        margin: 0.5rem 0 0 0;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
        margin: 0;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    /* Precision Input Styling */
.precision-input {
    width: 100%;
    padding: 0.75rem;
    background: #2a2a3a;
    border: 1px solid #3a3a4e;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
}

.precision-input:focus {
    outline: none;
    border-color: #6e45e2;
    box-shadow: 0 0 0 2px rgba(110, 69, 226, 0.3);
}

.input-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #aaa;
}
}