/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #e74c3c;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus {
    color: #e74c3c;
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.input-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
}

.input-suffix {
    font-weight: 500;
    color: #666;
    min-width: 60px;
}

.help-text {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.convert-btn {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.convert-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.convert-btn:focus {
    outline: 3px solid rgba(231, 76, 60, 0.3);
    outline-offset: 2px;
}

/* Results Section */
.results-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.results-section.show {
    opacity: 1;
    transform: translateY(0);
}

.results-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.results-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.result-label {
    font-weight: 600;
    color: #333;
}

.result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.conversion-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.9rem;
    color: #856404;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #333;
}

.conversion-chart {
    text-align: center;
    margin-top: 2rem;
}

.conversion-chart img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Why Use Section */
.why-use-section {
    padding: 4rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    background: #f8f9fa;
    border-top: 4px solid #e74c3c;
}

.benefit h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background: #e9ecef;
}

.faq-item summary:focus {
    outline: 2px solid #e74c3c;
    outline-offset: -2px;
}

.faq-item p {
    padding: 1.5rem;
    line-height: 1.6;
}

/* Related Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.tool-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.tool-embed {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tool-link {
    display: inline-block;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.tool-link:hover,
.tool-link:focus {
    background: #c0392b;
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

.conversion-chart-container {
    text-align: center;
    margin: 1.5rem 0;
}

.conversion-chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Mini Calculator Widget */
.calculator-widget {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.mini-calculator {
    display: grid;
    gap: 1rem;
}

.mini-calculator label {
    font-weight: 600;
    color: #333;
}

.mini-calculator input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.cost-result {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 2px solid #e74c3c;
}

.packaging-converter {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.packaging-converter ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.packaging-converter li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
    outline: 1px solid white;
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .calculator-form,
    .results-section {
        margin: 0 10px 2rem;
        padding: 1.5rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .calculator-form,
    .results-section {
        margin: 0 5px 1.5rem;
        padding: 1rem;
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
    }
    
    .convert-btn {
        border: 2px solid white;
    }
    
    .nav-link:focus,
    .tool-link:focus,
    .footer-section a:focus {
        outline: 3px solid yellow;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}/* C
hart Placeholder Styles */
.chart-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e74c3c;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.chart-placeholder h4 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.chart-content {
    display: grid;
    gap: 1rem;
}

.chart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    font-weight: 500;
}

.chart-row span:first-child {
    color: #333;
}

.chart-row span:last-child {
    color: #e74c3c;
    font-weight: 600;
}

/* Tool Preview Styles */
.tool-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.preview-content ul {
    list-style: none;
    margin-top: 1rem;
}

.preview-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #333;
}

.preview-content li:last-child {
    border-bottom: none;
}

.chart-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.chart-preview h5 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.chart-items {
    display: grid;
    gap: 0.5rem;
}

.chart-items div {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
    font-weight: 500;
}

/* Page Layout Styles */
.page-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.page-content {
    padding: 4rem 0;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #666;
}

/* Calculator Page Styles */
.calculator-page {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-intro h2 {
    color: #333;
    margin-bottom: 1rem;
}

.calculator-intro p {
    color: #666;
    font-size: 1.1rem;
}

/* Energy Calculator Specific */
.energy-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.energy-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.energy-results h3 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.results-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.comparison-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.comparison-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

.comparison-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.submit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #c0392b;
}

.submit-btn:focus {
    outline: 3px solid rgba(231, 76, 60, 0.3);
    outline-offset: 2px;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .chart-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-comparison {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
    }
}/* M
odern Homepage Styles */
.hero-modern {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.air-fryer-icon {
    font-size: 8rem;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.conversion-preview {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.preview-item:last-child {
    margin-bottom: 0;
}

.arrow {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: #fff;
}

/* Modern Calculator Section */
.calculator-section-modern {
    padding: 5rem 0;
    background: #f8f9fa;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calculator-side, .results-side {
    padding: 3rem;
}

.calculator-side {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-right: 1px solid #e9ecef;
}

.calculator-side h2, .results-side h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.calculator-subtitle, .results-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.calculator-form-modern .form-group {
    margin-bottom: 2rem;
}

.calculator-form-modern label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.1rem;
}

.calculator-form-modern .input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.calculator-form-modern input {
    flex: 1;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.calculator-form-modern input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-2px);
}

.calculator-form-modern select {
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    font-size: 1.1rem;
    cursor: pointer;
    min-width: 80px;
}

.convert-btn-modern {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 18px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.convert-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Modern Results Section */
.results-side {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.results-section-modern {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-display {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
}

.result-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.result-card.active .result-icon {
    filter: grayscale(0%);
}

.result-content {
    flex: 1;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    display: block;
}

.result-value.active {
    color: #e74c3c;
}

.conversion-tips {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
}

.conversion-tips h4 {
    margin-bottom: 1rem;
    color: #333;
}

.conversion-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.conversion-tips li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.conversion-tips li:last-child {
    border-bottom: none;
}

/* Quick Tools Section */
.quick-tools-section {
    padding: 4rem 0;
    background: white;
}

.quick-tools-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-tool {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.quick-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #e74c3c;
    background: white;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.quick-tool h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.quick-tool p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Design for Modern Layout */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .calculator-side {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .air-fryer-icon {
        font-size: 5rem;
    }
    
    .calculator-side, .results-side {
        padding: 2rem;
    }
    
    .quick-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .calculator-container {
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .calculator-side, .results-side {
        padding: 1.5rem;
    }
    
    .result-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .result-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
}/* Adv
anced Tools Section */
.advanced-tools-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.advanced-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advanced-tool-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.advanced-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advanced-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #e74c3c;
}

.advanced-tool-card:hover::before {
    transform: scaleX(1);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.tool-icon-large {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.advanced-tool-card:hover .tool-icon-large {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: scale(1.1);
}

.tool-badge {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advanced-tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.advanced-tool-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature {
    background: #f8f9fa;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.advanced-tool-card:hover .feature {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.tool-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #e74c3c;
    font-size: 1.1rem;
}

.tool-action .arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.advanced-tool-card:hover .tool-action .arrow {
    transform: translateX(5px);
}

.view-all-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.view-all-card::before {
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8));
}

.view-all-card h3,
.view-all-card p {
    color: white;
}

.view-all-card .tool-icon-large {
    background: rgba(255,255,255,0.2);
    color: white;
}

.view-all-card:hover .tool-icon-large {
    background: rgba(255,255,255,0.3);
}

.view-all-card .feature {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.view-all-card:hover .feature {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.view-all-card .tool-action {
    color: white;
}

.view-all-card .tool-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Responsive Design for Advanced Tools */
@media (max-width: 1024px) {
    .advanced-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .advanced-tools-section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .advanced-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
    }
    
    .advanced-tool-card {
        padding: 1.5rem;
    }
    
    .tool-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .tool-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .advanced-tool-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .advanced-tool-card p {
        text-align: center;
    }
    
    .tool-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .advanced-tool-card {
        padding: 1rem;
    }
    
    .tool-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        text-align: center;
        min-width: 120px;
    }
}/* M
odern Package Converter Styles */
.modern-converter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.converter-side {
    padding: 3rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-right: 1px solid #e9ecef;
}

.results-side-modern {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.converter-side h3, .results-side-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.converter-subtitle, .results-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modern-converter-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #e74c3c;
}

.form-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #e74c3c;
    font-weight: 600;
}

.modern-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
}

.modern-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
}

.input-group-modern {
    display: flex;
    gap: 12px;
    align-items: center;
}

.modern-select-small {
    padding: 14px 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    min-width: 80px;
}

.input-suffix-modern {
    font-weight: 500;
    color: #666;
    min-width: 60px;
    font-size: 1rem;
}

.modern-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    background: white;
}

.modern-textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
}

.convert-btn-modern {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 18px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.convert-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.convert-btn-modern:active {
    transform: translateY(-1px);
}

/* Modern Results Section */
.modern-results-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.results-display-modern {
    display: grid;
    gap: 1.5rem;
}

.result-card-modern {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid #e9ecef;
}

.result-card-modern.active {
    border-left-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.result-icon-modern {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.result-card-modern.active .result-icon-modern {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: scale(1.1);
}

.result-content-modern {
    flex: 1;
}

.result-label-modern {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.result-value-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    display: block;
}

.result-value-modern.active {
    color: #e74c3c;
}

.instructions-section-modern {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.instructions-section-modern h4 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.2rem;
}

.instructions-content {
    line-height: 1.6;
}

.instructions-content ol {
    margin-left: 1.5rem;
    color: #333;
}

.instructions-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.placeholder-text {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Responsive Design for Modern Converter */
@media (max-width: 1024px) {
    .modern-converter-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .converter-side {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

@media (max-width: 768px) {
    .converter-side, .results-side-modern {
        padding: 2rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .modern-converter-container {
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .result-card-modern {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .result-icon-modern {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .result-value-modern {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .converter-side, .results-side-modern {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .modern-input, .modern-select, .modern-textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .convert-btn-modern {
        padding: 16px 20px;
        font-size: 1.1rem;
    }
    
    .instructions-section-modern {
        padding: 1.5rem;
    }
}