/* ========== Base ========== */
body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb; /* Blue */
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2563eb; /* Blue */
  margin: 1.5rem 0 0.5rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2563eb;
  margin: 1rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.highlight {
  color: #4CAF50; /* Green */
  font-weight: 600;
}

/* ========== Header ========== */
header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4CAF50;
  text-decoration: none;
}

header a.logo span {
  color: #2563eb; /* Blue */
}

header nav a {
  color: #333;
  font-weight: 500;
  margin-left: 1rem;
  text-decoration: none;
}

header nav a:hover {
  color: #4CAF50;
}

/* ========== Buttons ========== */
button,
a.btn {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

button:hover,
a.btn:hover {
  background: #388E3C;
}

/* Back button special */
a.back-btn {
  background: #4CAF50;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}
a.back-btn:hover {
  background: #388E3C;
}

/* ========== Forms ========== */
input, select {
  width: 100%;
  padding: 0.6rem;
  margin: 0.4rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus, select:focus {
  border-color: #2563eb;
  outline: none;
}

/* ========== Table ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

table th {
  background: #f3f4f6;
  font-weight: 600;
}

/* ========== FAQs ========== */
.faq-question {
  color: #2563eb;
  font-weight: 600;
  margin-top: 1rem;
}

.faq-answer {
  margin-bottom: 1rem;
  color: #333;
}

/* ========== Internal Tools Box ========== */
.tools-box {
  border: 2px solid #2563eb;
  padding: 12px;
  border-radius: 8px;
  background-color: #f0f7ff;
  margin-top: 20px;
  font-size: 0.95rem;
}

.tools-box a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.tools-box a:hover {
  text-decoration: underline;
}

/* ========== Footer ========== */
footer {
  background: #f7f7f7;
  border-top: 1px solid #ddd;
  padding: 2rem 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #555;
}

footer h3 {
  color: #4CAF50;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  color: #4CAF50;
  text-decoration: underline;
}

footer .bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* ========== Info Box (Internal Links) ========== */
.info-box {
  border: 2px solid #2563eb;   /* Blue border */
  background: #f0f7ff;         /* Light blue background */
  padding: 12px;
  border-radius: 8px;
  margin: 1rem 0;
}

.info-box-text {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
  color: #333;
}

.info-box-text a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.info-box-text a:hover {
  text-decoration: underline;
}

:root {
    --primary-color: #4CAF50;  /* Tumhari site ka green */
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --accent-color: #2196F3;
    --accent-orange: #FF9800;
    --text-color: #333;
    --bg-color: #f9fafb;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

html {
    scroll-behavior: smooth;
}

/* ================= UTILITIES ================= */
.primary-bg { background-color: var(--primary-color); }
.primary-text { color: var(--primary-color); }
.accent-bg { background-color: var(--accent-color); }
.accent-text { color: var(--accent-color); }
.accent-orange-bg { background-color: var(--accent-orange); }

/* ================= BUTTONS ================= */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-accent:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
}

/* ================= CALCULATOR ================= */
.calculator-tab {
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.calculator-tab.active {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}
.calculator-content { display: none; }
.calculator-content.active { display: block; }

/* Result cards */
.results-card {
    border-left: 4px solid var(--primary-color);
    background-color: #f1f9f1;
}
.food-item {
    border-left: 3px solid var(--accent-color);
}

/* ================= NAVBAR ================= */
.navbar { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }

/* ================= BLOG ================= */
.blog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.blog-content.expanded { max-height: 2000px; }

/* ================= TESTIMONIALS ================= */
.quote-icon {
    font-size: 2rem;
    color: rgba(76, 175, 80, 0.2);
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.testimonial-card {
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ================= PAGES ================= */
.page-section { display: none; }
.page-section.active { display: block; }

/* ================= LEGAL CONTENT ================= */
.legal-content {
    line-height: 1.8;
}
.legal-content h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content li { margin-bottom: 0.5rem; }

/* ================= SOCIAL LINKS ================= */
.social-links a {
    transition: all 0.3s ease;
}
.social-links a:hover {
    transform: translateY(-2px);
}

/* ================= THANK YOU MESSAGE ================= */
.thank-you-message {
    display: none;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #155724;
}
.thank-you-message.show { display: block; }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .calculator-tabs { flex-wrap: wrap; }
    .calculator-tab {
        width: 50%;
        text-align: center;
        padding: 10px;
        margin-bottom: 5px;
    }
}

/* ================= FOOTER ================= */
footer {
    background-color: #111827; /* Tailwind bg-gray-900 */
    color: #e5e7eb; /* Tailwind text-gray-200 */
}

footer h4, 
footer h3 {
    color: #ffffff; /* White headings */
}

footer a {
    color: #9ca3af; /* Tailwind text-gray-400 */
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff; /* Hover white */
}

footer p {
    color: #9ca3af; /* Footer text */
}

footer .bottom-bar {
    border-top: 1px solid #374151; /* Tailwind border-gray-700 */
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.primary-bg {
    background-color: #C8E6C9 !important;  /* light green from your theme */
}
