/* Custom CSS for Solar Battery Landing Page */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Vazir:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-yellow: #fbbf24;
    --primary-orange: #f97316;
    --primary-red: #ef4444;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-yellow), var(--primary-orange));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-orange), var(--primary-red));
}

/* Solar System Animation */
.solar-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    opacity: 0.3;
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #fbbf24, #f97316, #ef4444);
    border-radius: 50%;
    box-shadow: 
        0 0 50px #fbbf24,
        0 0 100px #f97316,
        0 0 150px #ef4444;
    animation: sunPulse 4s ease-in-out infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 120px;
    height: 120px;
    animation: orbit 8s linear infinite;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation: orbit 12s linear infinite;
}

.orbit-3 {
    width: 240px;
    height: 240px;
    animation: orbit 16s linear infinite;
}

.orbit-4 {
    width: 300px;
    height: 300px;
    animation: orbit 20s linear infinite;
}

.orbit-5 {
    width: 360px;
    height: 360px;
    animation: orbit 24s linear infinite;
}

.planet {
    position: absolute;
    border-radius: 50%;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.mercury {
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6;
}

.venus {
    width: 12px;
    height: 12px;
    background: #f59e0b;
    box-shadow: 0 0 15px #f59e0b;
}

.earth {
    width: 16px;
    height: 16px;
    background: #3b82f6;
    box-shadow: 0 0 20px #3b82f6;
    position: relative;
}

.moon {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 50%;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    animation: moonOrbit 2s linear infinite;
}

.mars {
    width: 10px;
    height: 10px;
    background: #ef4444;
    box-shadow: 0 0 12px #ef4444;
}

.jupiter {
    width: 24px;
    height: 24px;
    background: #f97316;
    box-shadow: 0 0 25px #f97316;
}

/* Animations */
@keyframes sunPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 50px #fbbf24,
            0 0 100px #f97316,
            0 0 150px #ef4444;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 60px #fbbf24,
            0 0 120px #f97316,
            0 0 180px #ef4444;
    }
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes moonOrbit {
    from {
        transform: translateX(-50%) rotate(0deg) translateX(20px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateX(20px) rotate(-360deg);
    }
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-image {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.1);
}

/* Stat Cards */
.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-weight: 500;
}

/* About Image */
.about-image {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.1), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    border-color: rgba(251, 191, 36, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1.2rem;
}

/* Form Styles */
.form-input {
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Social Links */
.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
    color: black;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .solar-system {
        width: 400px;
        height: 400px;
    }
    
    .sun {
        width: 40px;
        height: 40px;
    }
    
    .orbit-1 { width: 60px; height: 60px; }
    .orbit-2 { width: 90px; height: 90px; }
    .orbit-3 { width: 120px; height: 120px; }
    .orbit-4 { width: 150px; height: 150px; }
    .orbit-5 { width: 180px; height: 180px; }
    
    .mercury { width: 4px; height: 4px; }
    .venus { width: 6px; height: 6px; }
    .earth { width: 8px; height: 8px; }
    .mars { width: 5px; height: 5px; }
    .jupiter { width: 12px; height: 12px; }
    
    .feature-card,
    .product-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-yellow);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Particle Animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-yellow);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Selection */
::selection {
    background: var(--primary-yellow);
    color: black;
}

/* Focus Styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card,
    .product-card,
    .stat-card,
    .contact-item {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Hero Section Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-180deg);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(90deg);
    }
}

@keyframes pulse-delayed {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up-delayed {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 10s ease-in-out infinite;
}

.animate-pulse-delayed {
    animation: pulse-delayed 3s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-fade-in-delayed {
    animation: fade-in 1s ease-out 0.3s both;
}

.animate-fade-in-delayed-2 {
    animation: fade-in 1s ease-out 0.6s both;
}

.animate-fade-in-delayed-3 {
    animation: fade-in 1s ease-out 0.9s both;
}

.animate-slide-up {
    animation: slide-up 1s ease-out;
}

.animate-slide-up-delayed {
    animation: slide-up-delayed 1s ease-out 0.5s both;
}

/* Solar Panel Float Elements */
.solar-panel-float {
    background: linear-gradient(135deg, #1E969B, #1E969B80);
    box-shadow: 0 4px 15px rgba(30, 150, 155, 0.2);
}

/* Energy Flow Lines */
.energy-line {
    background: linear-gradient(90deg, transparent, #1E969B, transparent);
    height: 2px;
}

/* Hero Section Specific Styles */
#home {
    position: relative;
    background: linear-gradient(135deg, #F9F9F9 0%, #FFFFFF 50%, #F9F9F9 100%);
}

/* Button Hover Effects */
.group:hover .group-hover\:animate-pulse {
    animation: pulse 1s ease-in-out infinite;
}

.group:hover .group-hover\:animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

/* Stats Preview Styling */
#home .grid > div {
    transition: all 0.3s ease;
}

#home .grid > div:hover {
    transform: translateY(-5px);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow,
    .animate-pulse-delayed {
        animation: none;
    }
}

/* Navigation Styles */
nav {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

nav a {
    position: relative;
}

nav a:hover {
    opacity: 1;
}

/* Logo Container - Simple and Clean - No Deformation */
nav .logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 50px;
    flex-shrink: 0;
    overflow: visible;
}

nav .logo-wrapper {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav img.logo-img,
nav .logo-img {
    height: 34px !important;
    width: auto !important;
    max-height: 34px !important;
    min-width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    image-rendering: auto;
    /* Prevent any stretching or distortion */
    aspect-ratio: auto !important;
    /* Override any conflicting styles */
    transform: none !important;
    -webkit-transform: none !important;
}

/* Footer Logo - White Rectangle */
footer .footer-logo-wrapper {
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

footer .footer-logo-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    image-rendering: auto;
    aspect-ratio: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
}

/* Hero Section Styles - Professional */
#home {
    position: relative;
}

#home img {
    object-position: center;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

#home .absolute.inset-0.z-0::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 150, 155, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Hero Content Animations */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    animation: fadeInDown 1s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
    text-shadow: 0 2px 15px rgba(30, 150, 155, 0.4);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-divider {
    animation: expandWidth 1s ease-out 0.6s both;
    box-shadow: 0 0 20px rgba(30, 150, 155, 0.5);
}

.hero-description {
    animation: fadeIn 1s ease-out 0.8s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    animation: fadeIn 1s ease-out 1s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 1.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 96px;
    }
}

/* Hero Buttons */
.btn-primary {
    box-shadow: 0 10px 30px rgba(30, 150, 155, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(30, 150, 155, 0.6);
}

.btn-secondary {
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Customers Grid Styles */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.customer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 140px;
    background: white;
    border-radius: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 1px solid rgba(200, 200, 200, 0.2);
}

.customer-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 150, 155, 0.3);
}

.customer-logo {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.customer-logo-item:hover .customer-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* Responsive design for customers grid */
@media (max-width: 1024px) {
    .customers-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .customer-logo-item {
        padding: 1.5rem;
        height: 120px;
    }
    
    .customer-logo {
        max-width: 150px;
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .customers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
    
    .customer-logo-item {
        padding: 1rem;
        height: 100px;
    }
    
    .customer-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 640px) {
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .customer-logo-item {
        padding: 0.75rem;
        height: 90px;
    }
    
    .customer-logo {
        max-width: 100px;
        max-height: 50px;
    }
}

/* Calculator Styles */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(200, 200, 200, 0.3);
}

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

.calculator-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #C8C8C8;
    border-radius: 0.5rem;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calculator-input:focus {
    outline: none;
    border-color: #1E969B;
    box-shadow: 0 0 0 3px rgba(30, 150, 155, 0.1);
}

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

.calculator-table th {
    background-color: #F9F9F9;
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: #2D2D2D;
    border-bottom: 2px solid #C8C8C8;
}

.calculator-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E5E5;
}

.calculator-table tr:hover {
    background-color: #F9F9F9;
    transition: background-color 0.2s ease;
}

.calculator-result-card {
    background: linear-gradient(135deg, rgba(30, 150, 155, 0.1), rgba(30, 150, 155, 0.05));
    border: 1px solid rgba(30, 150, 155, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.calculator-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 150, 155, 0.15);
}

.calculator-result-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(30, 150, 155, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #1E969B;
    font-size: 1.5rem;
}

.calculator-btn {
    background: #1E969B;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Vazir', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calculator-btn:hover {
    background: rgba(30, 150, 155, 0.9);
    box-shadow: 0 4px 12px rgba(30, 150, 155, 0.3);
    transform: translateY(-1px);
}

.calculator-btn:active {
    transform: translateY(0);
}

.calculator-btn-danger {
    background: transparent;
    color: #ef4444;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.25rem;
}

.calculator-btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.calculator-info-box {
    background: rgba(30, 150, 155, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-right: 4px solid #1E969B;
}

.calculator-expert-section {
    background: linear-gradient(135deg, rgba(30, 150, 155, 0.1), rgba(30, 150, 155, 0.05));
    border: 1px solid rgba(30, 150, 155, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
}

/* Calculator Responsive */
@media (max-width: 768px) {
    .calculator-input-group {
        grid-template-columns: 1fr;
    }
    
    .calculator-table {
        font-size: 0.875rem;
    }
    
    .calculator-table th,
    .calculator-table td {
        padding: 0.5rem;
    }
    
    .calculator-result-card {
        padding: 1rem;
    }
    
    .calculator-expert-section {
        padding: 1.5rem;
    }
}

/* Calculator Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-result-card {
    animation: slideInUp 0.5s ease-out;
}

/* Calculator Number Formatting */
.calculator-number {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    unicode-bidi: embed;
}

/* Mobile Menu Styles */
#mobileMenu {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#mobileMenu.hidden {
    display: none !important;
}

#mobileMenu:not(.hidden) {
    display: block !important;
}

