
/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0a0a23;
    color: #f3f4f6;
    line-height: 1.6;
}
a {
    color: #61dafb;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header {
    background-color: #0a0a23;
    border-bottom: 1px solid #1f2937;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}
nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
}
nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}
nav ul li a {
    color: #f3f4f6;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #e74c3c;
}

/* Utility classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e6e7eb;
}
.section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #9ca3af;
}

/* Hero section */
#hero {
    text-align: center;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #1f2937 0%, #0a0a23 100%);
}
#hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #f3f4f6;
}
#hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #9ca3af;
}
#hero .cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
#hero .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
#hero .btn.primary {
    background-color: #e74c3c;
    color: #fff;
}
#hero .btn.primary:hover {
    background-color: #c0392b;
}
#hero .btn.secondary {
    background-color: #1f2937;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}
#hero .btn.secondary:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Services section */
#services .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
#services .card {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#services .card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #e74c3c;
}
#services .card p {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* Pricing section */
#pricing .plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
#pricing .plan {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#pricing .plan h4 {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}
#pricing .plan .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e6e7eb;
}
#pricing .plan ul {
    list-style: none;
    margin-bottom: 1.5rem;
    color: #9ca3af;
}
#pricing .plan ul li {
    margin-bottom: 0.5rem;
}
#pricing .plan .btn {
    margin-top: auto;
}

/* Scanner section */
#scanner .scanner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
#scanner video {
    width: 100%;
    max-width: 400px;
    border-radius: 0.5rem;
    background-color: #1f2937;
}
#scanner textarea {
    width: 100%;
    max-width: 400px;
    height: 4rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #1f2937;
    color: #f3f4f6;
    border: 1px solid #374151;
    resize: none;
}
#scanner .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
#scanner .actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    background-color: #1f2937;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#scanner .actions button:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Nutrition section */
#nutrition .book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
#nutrition .book-card {
    background-color: #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#nutrition .book-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
#nutrition .book-card .info {
    padding: 0.75rem;
    text-align: center;
}
#nutrition .book-card .info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #e6e7eb;
}
#nutrition .book-card .info p {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* FAQ section */
#faq .faq-item {
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#faq .faq-item h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}
#faq .faq-item p {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Contact section */
#contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
#contact a {
    color: #61dafb;
}
#contact form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}
#contact form input,
#contact form textarea {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #1f2937;
    color: #f3f4f6;
    border: 1px solid #374151;
}
#contact form button {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    background-color: #e74c3c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact form button:hover {
    background-color: #c0392b;
}

/* Footer */
footer {
    background-color: #0a0a23;
    border-top: 1px solid #1f2937;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}
footer a {
    color: #61dafb;
}
    
nav .logo img{height:56px;width:auto;display:block}


.hero-logo {
    max-width: 200px;
    margin: 0 auto 2rem;
    display: block;
}

.grid{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap:1rem;
}
.card{
    background:#0f172a;
    padding:1rem;
    border-radius:12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

#blog .card h3{margin-bottom:.5rem}

/* Contact info enhancements */
#contact .contact-info p {
    font-size: 1rem;
    color: #f3f4f6;
}
#contact .contact-info p strong {
    color: #e74c3c;
}

/* Blog section styles */
#blog .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
#blog .blog-card {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#blog .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}
#blog .blog-card h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}
#blog .blog-card p {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}
#blog .blog-card .btn {
    margin-top: auto;
}
/* Blog post styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
.blog-post img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}
.blog-post h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}
.blog-post p {
    margin-bottom: 1rem;
    color: #f3f4f6;
}
