/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    /* background-color: #fafbfc; */
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(74, 144, 228, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 144, 228, 0.1);
}

.navbar {
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h1 {
    color: #4a90e4;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Caveat', cursive;
    letter-spacing: 0.5px;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #4a90a4;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #4a90e4, #4a90a4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 0.5rem;
    display: inline;
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    transition: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: none;
}

.dropdown-link:hover {
    background-color: #f7fafc;
    color: #4a90a4;
    transform: none;
}

.dropdown-link::after {
    display: none;
}

.dropdown-divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 0.5rem 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.1) 0%, rgba(74, 144, 164, 0.1) 100%);
    color: #2d3748;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a90e4' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
    color: #4a90a4;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #4a5568;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(74, 144, 228, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 228, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e4 0%, #4a90a4 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 228, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4a90a4;
    border: 2px solid #4a90e4;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4a90e4 0%, #4a90a4 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 228, 0.3);
}

.btn-full {
    width: 100%;
}

.instant-results-message {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

.report-intro {
    background-color: #e8f5e8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(74, 144, 228, 0.05) 100%);
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #4a90a4;
    font-family: 'Caveat', cursive;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.feature-content p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.feature-content .btn {
    margin-top: auto;
    align-self: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    pointer-events: none;
}

.feature-card:hover,
.feature-card:focus {
    text-decoration: none;
    color: inherit;
}

.feature-card:active {
    transform: translateY(-2px);
}

/* CTA Sections */
.cta,
.calculator-cta {
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta {
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.9) 0%, rgba(74, 144, 164, 0.9) 100%);
}

.calculator-cta {
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.8) 0%, rgba(74, 144, 164, 0.8) 100%);
}

.cta::before,
.calculator-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Caveat', cursive;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333333;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Articles */
.articles-section {
    padding: 4rem 0;
}

.articles-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.articles-main {
    /* Main content area for articles */
}

.articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.article-item:last-child {
    border-bottom: none;
}

.article-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.article-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.article-category-light {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-left: 1rem;
    font-style: italic;
}

.articles-grid {
    display: grid;
    gap: 2rem;
}

.article-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    transition: border-color 0.2s ease;
    padding: 1.5rem;
    position: relative;
}

.article-card:hover {
    border-color: #cccccc;
}

.article-content {
    padding: 0;
}

.article-category {
    background: #f5f5f5;
    color: #333333;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.article-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 0.75rem;
}

.article-title-link:hover .article-title {
    color: #333333;
}

.article-title {
    font-size: 1.4rem;
    margin: 0;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.article-excerpt {
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

/* Individual Article Page */
.article-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333333;
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #333333;
}

.article-meta-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.article-category-badge {
    background: rgba(0, 0, 0, 0.1);
    color: #333333;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-category-badge:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    transform: translateY(-1px);
}



.article-content-section {
    padding: 2rem 0;
}



.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-main {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.article-main .article-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-body h1 {
    font-size: 2rem;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
}

.article-body {
    line-height: 1.8;
}

.article-body h2 {
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.article-body h3 {
    color: #374151;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.25rem;
}

.article-body p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.article-body ul, .article-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.article-footer {
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: #6b7280;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.article-navigation {
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-articles {
    list-style: none;
}

.related-articles li {
    margin-bottom: 0.75rem;
}

.related-articles a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-articles a:hover {
    color: #2563eb;
}

.newsletter-widget {
    background: #f8fafc;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.875rem;
}

.newsletter-form button {
    padding: 10px;
    font-size: 0.875rem;
}

/* Sidebar */
.articles-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(74, 144, 228, 0.1);
    border: 1px solid rgba(74, 144, 228, 0.1);
    backdrop-filter: blur(10px);
}

.sidebar-widget h3,
.sidebar-widget h4 {
    margin-bottom: 1.5rem;
    color: #4a90a4;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
}

.category-list,
.popular-articles {
    list-style: none;
}

.category-list li,
.popular-articles li {
    margin-bottom: 0.5rem;
}

.category-list a,
.popular-articles a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover,
.popular-articles a:hover {
    color: #2563eb;
}

.cta-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-widget h3 {
    color: white;
}

/* Forms */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(74, 144, 228, 0.1);
    border: 1px solid rgba(74, 144, 228, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #4a5568;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(74, 144, 228, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e4;
    box-shadow: 0 0 0 3px rgba(74, 144, 228, 0.1);
    background: rgba(255, 255, 255, 1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: #4a90e4;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #4a90e4;
    transform: translateX(3px);
}

.quick-links-inline,
.legal-links-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.link-separator {
    color: #9ca3af;
    font-weight: 300;
    user-select: none;
}

.quick-links-inline a,
.legal-links-inline a {
    transform: none;
}

.quick-links-inline a:hover,
.legal-links-inline a:hover {
    transform: none;
}

.footer-bottom {
    border-top: 1px solid rgba(74, 144, 228, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Error Pages */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: 400;
    color: #4a90e4;
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
}

.error-actions {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.helpful-links {
    margin-top: 3rem;
}

.helpful-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.helpful-links a {
    color: #2563eb;
    text-decoration: none;
}

/* Success Message */
.success-message {
    color: #4a90e4;
    font-weight: 500;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
}

/* Error Message */
.error-message {
    color: #e53e3e;
    font-weight: 500;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
}

/* Calculator Page */
.calculator-section {
    padding: 4rem 0;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-info h2 {
    color: #4a90a4;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-family: 'Caveat', cursive;
    font-weight: 400;
}

.calculator-info p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.tdee-components {
    margin: 2rem 0;
}

.component {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.component h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.component p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.how-to-use {
    background: #e0f2fe;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.how-to-use h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.how-to-use ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.how-to-use li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.how-to-use em {
    color: #6b7280;
    font-size: 0.9rem;
}

.calculator-form,
.calculator-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(74, 144, 228, 0.15);
    overflow: hidden;
    border: 1px solid rgba(74, 144, 228, 0.1);
    backdrop-filter: blur(10px);
}

.form-container,
.results-container {
    padding: 2.5rem;
}

.form-container h3,
.results-container h3 {
    color: #4a90a4;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: 'Caveat', cursive;
    font-weight: 600;
}

.form-container p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.tdee-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.unit-label {
    font-style: italic;
}

/* Results Styling */
.result-card {
    background: rgba(74, 144, 228, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid rgba(74, 144, 228, 0.1);
    backdrop-filter: blur(10px);
}

.result-card.primary {
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.9) 0%, rgba(74, 144, 164, 0.9) 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 30px rgba(74, 144, 228, 0.2);
}

.result-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: inherit;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: inherit;
}

.result-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.result-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.goals-section {
    margin: 2rem 0;
}

.goals-section h4 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.goal-category {
    margin-bottom: 2rem;
}

.goal-category h5 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.goal-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.goal-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    position: relative;
}

.goal-option.recommended {
    border-color: #10b981;
    background: #ecfdf5;
}

.goal-rate {
    font-weight: 500;
    color: #374151;
}

.goal-calories {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
}

.recommended-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .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);
        z-index: 999;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-section .container {
        grid-template-columns: 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-body h1 {
        font-size: 2rem;
    }

    .article-navigation {
        flex-direction: column;
    }

    .share-buttons {
        justify-content: center;
    }

    .article-meta-header {
        flex-wrap: wrap;
    }

    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .result-actions {
        flex-direction: column;
    }

    .goal-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .recommended-badge {
        position: static;
        align-self: flex-end;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quick-links-inline,
    .legal-links-inline {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
    }

    .link-separator {
        display: none;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .helpful-links ul {
        flex-direction: column;
    }
}

/* FAQ Section Styling */
.faq-section {
    margin-top: 3rem;
}

.faq-section h3 {
    color: #4a90a4;
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(74, 144, 228, 0.1);
    border: 1px solid rgba(74, 144, 228, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(74, 144, 228, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.05) 0%, rgba(74, 144, 164, 0.05) 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(74, 144, 228, 0.1) 0%, rgba(74, 144, 164, 0.1) 100%);
}

.faq-question h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a90e4;
    transition: transform 0.3s ease;
    user-select: none;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 0;
}

.faq-answer p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section Styling */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(74, 144, 228, 0.05) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #4a90a4;
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(74, 144, 228, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 144, 228, 0.15);
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.contact-details h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.2rem;
}

.contact-details p {
    margin: 0 0 0.25rem 0;
    color: #4a90e4;
    font-weight: 500;
}

.contact-details span {
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(74, 144, 228, 0.15);
    border: 1px solid rgba(74, 144, 228, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: #4a90a4;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Success Message Styling */
.success-container {
    text-align: center;
    padding: 3rem 2.5rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: successPulse 2s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-container h3 {
    color: #10b981;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.success-content p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.success-content p:last-of-type {
    margin-bottom: 2.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 160px;
    padding: 12px 24px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h4 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        min-width: auto;
    }

    .success-container {
        padding: 2rem 1.5rem;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-container h3 {
        font-size: 1.8rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}
