/* Unique Prefix: mn- (muslim names) */
.mn-generator-wrapper {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    line-height: 1.7;
    background: #f8f9fa;
}

/* Hero Section */
.mn-hero-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mn-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mn-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mn-hero-icon {
    color: #f1c40f;
    font-size: 4rem;
}

.mn-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mn-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.mn-stat-box {
    background: rgba(255,255,255,0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.mn-stat-box:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.mn-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z M50,50 C60,20 80,40 50,50 C20,60 40,80 50,50 C60,20 80,40 50,50"></path></svg>');
    background-size: 30px 30px;
    opacity: 0.6;
}

/* Generator Tool */
.mn-generator-tool {
    background: white;
    padding: 3rem 2rem;
    margin-top: -50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.mn-tool-container {
    max-width: 900px;
    margin: 0 auto;
}

.mn-tool-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mn-tool-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.mn-tool-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.mn-control-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.mn-control-group {
    margin-bottom: 1.5rem;
}

.mn-control-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mn-gender-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mn-gender-btn {
    background: #ecf0f1;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mn-gender-btn.active {
    background: #3498db;
    color: white;
}

.mn-gender-btn:hover {
    background: #bdc3c7;
}

.mn-gender-btn.active:hover {
    background: #2980b9;
}

/* Language Select Styling */
.mn-language-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    transition: all 0.3s ease;
}

.mn-language-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.mn-generate-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem auto 0;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.mn-generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

/* Results Section */
.mn-results-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 20px; /* For smooth scroll */
}

.mn-results-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 2rem;
}

.mn-loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
}

.mn-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mn-spinner-circle {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(76, 175, 80, 0.2);
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: mn-spin 1s linear infinite;
}

.mn-spinner-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

@keyframes mn-spin {
    to { transform: rotate(360deg); }
}

.mn-results-header {
    margin-bottom: 2rem;
}

.mn-results-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mn-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Name Card Design - Updated Style */
/*.mn-name-card {*/
/*    background: white;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 3px 10px rgba(0,0,0,0.08);*/
/*    padding: 1.5rem;*/
/*    transition: all 0.3s ease;*/
/*    border: 1px solid #eee;*/
/*}*/

.mn-name-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mn-name-script {
    font-size: 1.8rem;
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.mn-name-detail {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
}

/*.mn-detail-label {*/
/*    font-weight: 600;*/
/*    color: #2c3e50;*/
/*    min-width: 150px;*/
/*    margin-right: 1rem;*/
/*}*/

.mn-detail-value {
    color: #555;
    flex: 1;
}

.mn-name-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.mn-copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.mn-copy-btn:hover {
    background: #3e8e41;
    transform: translateY(-2px);
}

/* Generate More Button */
.mn-more-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    font-weight: 500;
}

.mn-more-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Culture Section */
.mn-culture-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.mn-culture-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mn-culture-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.mn-culture-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.mn-tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
}

.mn-tab-btn {
    flex: 1;
    padding: 1.25rem;
    border: none;
    background: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.mn-tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.mn-tab-btn:hover {
    background: #f8f9fa;
}

.mn-tab-content {
    padding: 2rem;
}

.mn-tab-pane {
    display: none;
}

.mn-tab-pane.active {
    display: block;
}

.mn-culture-detail {
    display: flex;
    gap: 2rem;
}

.mn-culture-text {
    flex: 2;
}

.mn-culture-visual {
    flex: 1;
}

.mn-arabic-pattern {
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 8px;
    opacity: 0.8;
}

/* SEO Section */
.mn-seo-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mn-seo-article {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.mn-seo-article h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mn-seo-article h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 2rem 0 1rem;
}

.mn-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mn-feature-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.mn-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mn-feature-box i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.mn-feature-box h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.mn-seo-cta {
    background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.mn-cta-btn {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.mn-cta-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mn-hero-title {
        font-size: 2.5rem;
    }
    
    .mn-culture-detail {
        flex-direction: column;
    }
    
    .mn-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mn-hero-title {
        font-size: 2rem;
    }
    
    .mn-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mn-gender-options {
        justify-content: center;
    }
    
    .mn-tab-header {
        flex-wrap: wrap;
    }
    
    .mn-tab-btn {
        flex: auto;
    }
}

/* Smooth scroll behavior for the page */
html {
    scroll-behavior: smooth;
}

.mn-theme-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}





/* Container for the entire result section */
.result-section {
    max-width: 750px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #e0f7fa, #ffe0b2); /* Attractive gradient background */
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid #777; /* Border around the entire card */
    font-family: 'Arial', sans-serif;
}

/* Title of the section */
.result-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #222;
}

/* Style for each detail block with border and background color */
.mn-name-detail {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    margin-bottom: 12px;
    border: 2px solid #ccc; /* Border around each detail card */
    border-radius: 10px;
    background-color: #ffffff; /* Base background for details */
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Different background colors for each detail to make them distinct */
.mn-name-detail:nth-child(1) {
    background-color: #ffe0b2; /* Light Orange */
}
.mn-name-detail:nth-child(2) {
    background-color: #d1c4e9; /* Light Purple */
}
.mn-name-detail:nth-child(3) {
    background-color: #b2ebf2; /* Light Cyan */
}
.mn-name-detail:nth-child(4) {
    background-color: #c8e6c9; /* Light Green */
}

/* Hover effect for detail blocks */
.mn-name-detail:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Labels styling */
.mn-detail-label {
    font-weight: 700;
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

/* Values styling */
.mn-detail-value {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Style for the copy button container to keep buttons uniform */
.copy-button-container {
    display: flex;
    justify-content: center; /* Center the button */
    margin-top: 30px;
}

/* Copy Button styles */
.mn-copy-btn {
    display: inline-block;
    min-width: 180px; /* Equal width for all buttons */
    padding: 15px 25px;
    background-color: #009688; /* Teal color for attractiveness */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.mn-copy-btn:hover {
    background-color: #00796b; /* Darker teal on hover */
    transform: scale(1.02);
}

/* Optional: icon inside button */
.mn-copy-btn i {
    margin-right: 8px;
}







.mn-name-card {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #ff5722; /* Vibrant border color */
    border-radius: 12px;
    background-color: #ffe0b2; /* Light Orange background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #d84315; /* Darker text color */
    font-family: 'Arial', sans-serif;
    text-align: center;
}




/* Style for the section with a white background, rounded corners, padding, and shadow */
.mn-islamic-name-purpose {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    max-width: 800px; /* maximum width for large screens */
    width: 90%; /* responsive width for smaller screens */
    box-sizing: border-box; /* ensure padding is included in width */
}

/* Optional container for inner content if needed */
.mn-container {
    text-align: center;
}

/* Styling for the header */
.mn-islamic-name-purpose h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon styling */
.mn-islamic-name-purpose h2 i {
    margin-right: 10px;
    color: #27ae60;
}

/* Paragraph styling */
.mn-islamic-name-purpose p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #34495e;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .mn-islamic-name-purpose {
        padding: 1.5rem; /* reduce padding on small screens */
    }
    .mn-islamic-name-purpose h2 {
        font-size: 1.5em; /* smaller heading font */
    }
    .mn-islamic-name-purpose p {
        font-size: 1em; /* adjust paragraph font size */
    }
}


.mn-seo-article h2 {
    font-size: calc(1.5em + 1vw); /* scales with viewport width */
    margin-bottom: 15px;
    color: #2c3e50; /* or your preferred color */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: further reduce font size on very small screens */
@media (max-width: 400px) {
    .mn-seo-article h2 {
        font-size: 1.2em;
    }
}


