/* Melorin-Specific Styles */
.melorin-hero {
    background: linear-gradient rgba(24, 0, 0, 0.6), url('../images/melorin.jpg');
    background-size: cover;
    background-position: center;
    color: #444242;
    background-color: rgb(245, 230, 211);
    padding: 180px 0 100px;
    text-align: center;
}












.melorin-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.melorin-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* How It Works */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    margin-top: 50px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
    margin-left: 15px;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .melorin-hero h1 {
        font-size: 2.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
    }
    
    .btn-white {
        margin-left: 0;
        margin-top: 15px;
    }
}



/* Calibration UI Styles */
.calibration-header {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.calibration-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.progress-bar {
    flex-grow: 1;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: #10b981;
    width: 0%;
    transition: width 0.3s;
}

.calibration-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.calibration-measurements {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.calibration-measurements th, 
.calibration-measurements td {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.calibration-measurements th {
    background: #f8fafc;
}

.calibration-summary {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.calibration-frequencies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.freq-correction {
    background: white;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
}

.quality-good {
    color: #10b981;
    font-weight: bold;
}

.quality-fair {
    color: #f59e0b;
    font-weight: bold;
}

.error {
    color: #ef4444;
}

.success {
    color: #10b981;
}











 /* Language and Currency Selector Styles */
        .language-currency-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 20px;
        }
        
        .selector-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .selector-btn {
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }
        
        .selector-dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 4px;
            right: 0;
        }
        
        .selector-dropdown-content a {
            color: #333;
            padding: 8px 12px;
            text-decoration: none;
            display: block;
            font-size: 14px;
        }
        
        .selector-dropdown-content a:hover {
            background-color: #f1f1f1;
        }
        
        .selector-dropdown:hover .selector-dropdown-content {
            display: block;
        }
        
        .selector-dropdown:hover .selector-btn {
            background: rgba(255,255,255,0.2);
        }
        
        .flag-icon {
            width: 16px;
            height: 12px;
            margin-right: 5px;
        }
        
        @media (max-width: 768px) {
            .language-currency-selector {
                margin: 10px 0;
                justify-content: flex-end;
            }
        }










          body {
            font-family: 'Vazirmatn', 'Tanha', 'Samim', 'Parastoo', Tahoma, sans-serif;
            font-weight: 400;
            line-height: 1.8;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Vazirmatn', 'Samim', sans-serif;
            font-weight: 700;
        }
        
        .hero-content h1 {
            font-family: 'Vazirmatn', 'Tanha', sans-serif;
            font-weight: 800;
        }
        
        .section-title {
            font-family: 'Vazirmatn', 'Samim', sans-serif;
            font-weight: 700;
        }
        
        .service-card h3 {
            font-family: 'Vazirmatn', 'Parastoo', sans-serif;
            font-weight: 600;
        }
        
        /* Language and Currency Selector Styles */
        .language-currency-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 20px;
            font-family: 'Vazirmatn', sans-serif;
        }
        





         /* Mobile Menu Fixes */
        .navbar {
            transition: all 0.3s ease;
        }
        
        .navbar.active {
            display: block !important;
            position: absolute;
            top: 80px;
            right: 0;
            background: #fff;
            width: 80%;
            padding: 20px;
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            border-radius: 5px;
            z-index: 1000;
        }
        
        .navbar ul {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 18px;
            cursor: pointer;
        }
        
        .hamburger span {
            display: block;
            width: 100%;
            height: 2px;
            background: #fff;
            transition: all 0.3s ease;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
        
        @media (min-width: 769px) {
            .navbar {
                display: block !important;
            }
            .mobile-menu-btn {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .navbar {
                display: none;
            }
            .mobile-menu-btn {
                display: block;
            }
        }





/* Updated Responsive Menu Styles */
    .navbar {
        display: none;
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 600px;
        background: #fff;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 5px;
    }

    .navbar.active {
        right: 10px;
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        gap: .5rem;
    }

    .navbar ul li {
        width: 100%;
        text-align: right;
    }

    .mobile-menu-btn {
        display: none;
    }

    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block;
            order: -1;
            margin-right: 15px;
        }

        .navbar {
            display: block;
        }
    }

    @media (min-width: 769px) {
        .navbar {
            display: flex !important;
            position: static;
            width: auto;
            background: transparent;
            box-shadow: none;
            padding: 0;
        }

        .navbar ul {
            flex-direction: row;
            gap: 2rem;
        }

        .navbar ul li {
            width: auto;
        }
    }
        