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

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header Navigation */
.header-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.header-nav a:hover {
    background: rgba(255,255,255,0.2);
}

.current-page {
    background: rgba(255,255,255,0.3);
}
/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    position: relative;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.site-logo {
    height: 60px; /* Adjust as needed */
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Adjust header text positioning */
.header-text {
    margin-top: 0.5rem;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Calculator Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.calculator-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
}

.calculator-card h2 {
    color: #4285f4;
    margin-bottom: 1rem;
}

.calculator-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Input Styles */
.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #4285f4;
    outline: none;
}

/* Button Styles */
button {
    background: #4285f4;
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
    transition: background 0.3s;
    font-weight: 600;
}

button:hover {
    background: #3367d6;
}

/* Result Styles */
.result {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: #e8f0fe;
    border-radius: 6px;
    display: none;
}

.result h3 {
    color: #4285f4;
    margin-bottom: 0.5rem;
}

/* Info Sections */
.intro-section {
    text-align: center;
    margin: 3rem 0;
}

.intro-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-card h3 {
    color: #34a853;
    margin-bottom: 0.5rem;
}

.info-section {
    margin: 4rem 0;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-section h2 {
    color: #4285f4;
    margin-bottom: 1.5rem;
}

.info-section h3 {
    margin: 1.5rem 0 1rem;
    color: #333;
}

.info-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-section li {
    margin-bottom: 0.5rem;
}

/* Footer Styles */
.main-footer {
    background: #f1f3f4;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #5f6368;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #4285f4;
}

.copyright {
    text-align: center;
    color: #70757a;
    font-size: 0.9rem;
}

/* Page-specific Styles */
.page-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 20px;
}

.page-content h1 {
    color: #4285f4;
    margin-bottom: 1.5rem;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form .input-group {
    margin-bottom: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    min-height: 150px;
}

/* Terms/Privacy Content Styles */
.legal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-content h2 {
    color: #4285f4;
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    margin: 1.5rem 0 0.8rem;
    color: #333;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}
/* Thank You Page Styles */
.thank-you-section {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.thank-you-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 700px;
    text-align: center;
}

.thank-you-card h2 {
    color: #4285f4;
    margin-bottom: 1.5rem;
}

.thank-you-card p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.action-buttons .button {
    background: #4285f4;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.action-buttons .button:hover {
    background: #3367d6;
}

.return-home {
    margin-top: 2rem;
}

.return-home a {
    color: #5f6368;
    text-decoration: none;
}

.return-home a:hover {
    text-decoration: underline;
}
/* Calculator Page Specific Styles */
.calculator-container {
    max-width: 800px;
    margin: 2rem auto;
}

.bmi-chart table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.bmi-chart th, .bmi-chart td {
    padding: 0.8rem;
    border: 1px solid #ddd;
    text-align: left;
}

.bmi-chart th {
    background-color: #f2f2f2;
}

.bmi-chart tr:nth-child(even) {
    background-color: #f9f9f9;
}

.info-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 3rem;
}

.info-section h2 {
    color: #4285f4;
    margin-bottom: 1.5rem;
}

.info-section h3 {
    margin: 1.5rem 0 1rem;
    color: #333;
}

.info-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-section li {
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .site-logo {
        height: 50px; /* Smaller on mobile */
    }
    
    .main-header {
        padding: 1rem 0;
    }
}