/* 
  MealPrepBudgeter Design System
  Colors: 
    Primary: #E31E24 (Red)
    Secondary: #0B1C3F (Navy)
    Bg: #F8F9FA
    Text: #333
*/

:root {
    --primary-color: #E31E24;
    --secondary-color: #0B1C3F;
    --bg-color: #F8F9FA;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Header */
.main-header {
    background-color: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    font-weight: 600;
    color: var(--secondary-color);
}

.nav-menu ul li a.active,
.nav-menu ul li a:hover {
    color: var(--primary-color);
}

/* Category Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown .dropdown-trigger i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-trigger i {
    transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    flex-direction: column;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li {
    margin: 0;
}

.nav-dropdown .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    white-space: nowrap;
    border-radius: 0;
}

.nav-dropdown .dropdown-menu li a:hover {
    background: rgba(227, 30, 36, 0.08);
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Footer Section */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.main-footer .logo {
    margin-bottom: 15px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* Newsletter Form */
.newsletter-form-inner {
    display: flex;
    align-items: stretch;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.newsletter-form-inner:focus-within {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--white);
    background: transparent;
    border: none;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 0;
    margin: 0;
    flex-shrink: 0;
}

.newsletter-form .btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.footer-col:last-child p {
    margin-bottom: 16px;
}

/* Sitemap Page */
.sitemap-page .section-title {
    margin-bottom: 50px;
}

.sitemap-content {
    max-width: 900px;
    margin: 0 auto;
}

.sitemap-section {
    margin-bottom: 40px;
}

.sitemap-section h2 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-section li {
    margin-bottom: 10px;
}

.sitemap-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.sitemap-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Hero Slider */
.hero-slider {
    background: linear-gradient(135deg, #f1f4f9 0%, #e9ecef 100%);
    padding: 100px 20px;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    width: 100%;
    min-height: 400px;
    box-sizing: border-box;
}

.slide {
    display: flex;
    align-items: center;
    gap: 50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(227, 30, 36, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slide-content {
    flex: 1.2;
    z-index: 10;
    min-width: 0;
}

.slide-content h1 {
    font-size: 56px;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 25px;
}

.slide-content h1 span {
    color: var(--primary-color);
}

.slide-content p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 35px;
}

.slide-btns {
    display: flex;
    gap: 15px;
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.slide-image {
    flex: 1;
    position: relative;
    min-height: 380px;
    height: clamp(350px, 35vw, 450px);
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.img-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-card {
    width: min(320px, 55%);
    height: min(420px, 95%);
    min-width: 260px;
    min-height: 340px;
    z-index: 2;
    top: 0;
    left: 10%;
}

.side-card-1 {
    width: min(240px, 42%);
    height: min(300px, 68%);
    min-width: 180px;
    min-height: 220px;
    z-index: 1;
    top: 5%;
    right: 2%;
    transform: rotate(5deg);
}

.side-card-2 {
    width: min(200px, 35%);
    height: min(250px, 58%);
    min-width: 150px;
    min-height: 190px;
    z-index: 3;
    bottom: 2%;
    left: 2%;
    transform: rotate(-10deg);
}

/* Desktop responsive – side cards scale with viewport */
@media (min-width: 992px) and (max-width: 1200px) {
    .slide-image {
        max-width: 420px;
        height: clamp(320px, 32vw, 400px);
    }

    .main-card {
        width: min(260px, 58%);
        height: min(360px, 95%);
        left: 8%;
    }

    .side-card-1 {
        width: min(180px, 40%);
        height: min(240px, 65%);
        right: 0;
    }

    .side-card-2 {
        width: min(150px, 33%);
        height: min(200px, 55%);
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .slide-image {
        max-width: 480px;
    }
}

@media (min-width: 1401px) {
    .slide-image {
        max-width: 560px;
    }
}

@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 48px;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary-color);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    max-width: 100%;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 20px;
    color: var(--light-text);
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
}

.help-text {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 5px;
    display: block;
}

.calc-results {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2a4a 100%);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-card.featured h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #ffd700;
}

.savings-amount {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.result-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-card span {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 5px;
}

.mini-card strong {
    font-size: 24px;
    color: var(--white);
}

.calc-note {
    font-size: 12px;
    color: #999;
}

/* Reasons Section */
.reasons-section {
    padding: 100px 0;
    background-color: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    min-width: 0;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reason-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.reason-text p {
    font-size: 14px;
    color: var(--light-text);
}

.reason-number {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 14px;
    font-weight: 700;
    color: #eee;
}

.reasons-center {
    display: flex;
    justify-content: center;
}

.floating-3d-element {
    width: 300px;
    height: 350px;
    background: linear-gradient(to bottom, #ff9a9e 0%, #fecfef 100%);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
    z-index: 5;
    box-shadow: 0 15px 30px rgba(227, 30, 36, 0.3);
    animation: float 4s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(227, 30, 36, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    animation: rotate 10s linear infinite;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation: rotate 15s linear infinite reverse;
}

.orbit-3 {
    width: 260px;
    height: 260px;
    border-style: dotted;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Process Section */
.process-section {
    padding: 80px 0 60px;
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.step-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.step-num {
    font-size: 24px;
    font-weight: 800;
    color: #eee;
    margin: 10px 0;
}

.process-footer {
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
}

.process-footer a {
    color: var(--primary-color);
}

/* Testimonials */
.testimonials-section {
    padding: 50px 0 70px;
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.testimonials-info .subtitle {
    margin-bottom: 8px;
}

.testimonials-info h2 {
    margin-bottom: 10px;
}

.testimonials-info > p {
    margin-bottom: 0;
    color: var(--light-text);
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.circle-rating {
    width: 80px;
    height: 80px;
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.stars i {
    color: #ffd700;
}

.testimonials-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    min-width: 0;
}

.testimonial-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 2px solid #e9ecef;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--secondary-color);
    box-shadow: var(--box-shadow);
}

.testimonial-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.testimonials-slider {
    flex: 1;
    min-width: 0;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.testimonials-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-left: 100px;
    flex-shrink: 0;
    height: 180px;
    /* Reduced height to fit two in view if needed, or scroll one by one */
}

.testimonial-card p {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 14px;
}

.user-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-rating {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 700;
}

.savings-badge {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.user-img {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.user-img img {
    width: 100%;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    position: relative;
    height: 250px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    line-height: 1;
}

.blog-date span:first-child {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.blog-date span:last-child {
    font-size: 10px;
}

.blog-cat {
    position: absolute;
    top: 20px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 a {
    color: inherit;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-author {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.blog-author a {
    margin-left: auto;
    font-size: 12px;
    color: var(--light-text);
}

/* Blog Follow - Popup social icons */
.blog-card {
    position: relative;
}

.blog-follow-wrap {
    margin-left: auto;
    position: relative;
}

.blog-follow-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-follow-btn:hover {
    color: var(--primary-color);
}

.blog-social-icons {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: var(--white);
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    gap: 8px;
    align-items: center;
    z-index: 10;
}

.blog-social-icons::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: var(--white);
}

.blog-follow-wrap.active .blog-social-icons {
    display: flex;
}

.blog-social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(227, 30, 36, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    margin-left: 0 !important;
}

.blog-social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Final Responsive */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .main-header {
        height: 70px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        z-index: 1000;
        transition: var(--transition);
        padding: 40px 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-menu ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-menu ul li a {
        font-size: 18px;
        display: block;
        padding: 15px 20px;
    }

    /* Mobile dropdown - full width, stack below trigger */
    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .nav-dropdown .dropdown-trigger {
        cursor: pointer;
        justify-content: center;
        width: 100%;
        padding: 15px 20px;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        margin: 0;
        margin-top: 0;
        margin-bottom: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.04);
        border-radius: 0;
        padding: 0;
        transition: max-height 0.3s ease;
        width: 100%;
        min-width: 100%;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 320px;
        padding: 8px 0 12px;
        margin-top: 0;
    }

    .nav-dropdown .dropdown-menu li {
        border-bottom: none;
    }

    .nav-dropdown .dropdown-menu li a {
        font-size: 15px;
        padding: 12px 20px;
        text-align: center;
    }

    .header-cta {
        display: none;
    }

    .hero-slider {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .slider-container {
        padding: 0 16px;
        max-width: 100%;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        position: absolute;
        width: 100%;
    }

    .slide.active {
        position: relative;
    }

    .slide-content {
        margin-bottom: 50px;
    }

    .slide-content h1 {
        font-size: 42px;
    }

    .slide-btns {
        justify-content: center;
    }

    .slide-image {
        height: 400px;
        width: 100%;
    }

    .main-card {
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 380px;
    }

    .side-card-1,
    .side-card-2 {
        display: none;
    }

    .calculator-section .container {
        padding: 0 16px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .reasons-section .container,
    .process-section .container,
    .testimonials-section .container,
    .blog-section .container {
        padding: 0 16px;
    }

    .testimonials-section {
        padding: 40px 0 60px;
    }

    .testimonials-grid {
        gap: 24px;
    }

    .testimonials-info {
        text-align: center;
    }

    .testimonials-info h2 {
        font-size: 24px;
    }

    .rating-box {
        justify-content: center;
        flex-wrap: wrap;
    }

    .circle-rating {
        width: 64px;
        height: 64px;
        font-size: 20px;
    }

    .testimonials-slider-wrapper {
        gap: 8px;
        width: 100%;
    }

    .testimonial-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .testimonials-slider {
        height: 300px;
        min-height: 300px;
    }

    .testimonial-card {
        padding: 24px 20px;
        height: 260px;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-card .user-img {
        position: static;
        margin: 0 auto 12px;
    }

    .testimonial-card .user-meta {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-bottom: 12px;
    }

    .testimonial-card .user-meta h3 {
        text-align: center;
    }

    .testimonial-card p {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .testimonial-card .savings-badge {
        margin-top: auto;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .reasons-center {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .newsletter-form-inner {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        padding: 0 16px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-image {
        height: 380px;
    }

    .calculator-grid {
        padding: 20px 16px;
    }

    .calc-results {
        padding: 28px 20px;
    }

    .savings-amount {
        font-size: 48px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .main-footer .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        padding: 90px 12px 50px;
    }

    .slider-container {
        padding: 0 12px;
    }

    .slide-content {
        padding: 0 4px;
    }

    .slide-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 8px;
    }

    .slide-btns .btn {
        width: 100%;
    }

    .slide-image {
        height: 320px;
    }

    .main-card {
        width: 240px;
        height: 320px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .calculator-section .container,
    .reasons-section .container,
    .process-section .container,
    .testimonials-section .container,
    .blog-section .container {
        padding: 0 12px;
    }

    .calculator-grid {
        padding: 16px 12px;
    }

    .calc-results {
        padding: 24px 16px;
    }

    .savings-amount {
        font-size: 40px;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-card .user-img {
        width: 48px;
        height: 48px;
    }

    .main-footer .container {
        padding: 0 12px;
    }

    .main-header .container {
        padding: 0 12px;
    }

    .nav-menu ul li a {
        font-size: 16px;
    }

    .nav-dropdown .dropdown-trigger {
        padding: 12px 16px;
    }

    .nav-dropdown .dropdown-menu li a {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ===== About Us Page ===== */
.page-banner {
    position: relative;
    padding: 120px 20px 100px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d4a 100%);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&q=60&w=1920") center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 28, 63, 0.92) 0%, rgba(26, 45, 74, 0.9) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-banner-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(227, 30, 36, 0.2);
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.page-banner h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
}

.page-banner h1 span {
    color: var(--primary-color);
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* About Sections */
.about-section {
    padding: 100px 0;
}

.about-section:nth-child(even) {
    background-color: var(--white);
}

/* About Story */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.about-story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-story-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 16px;
    text-align: center;
}

.about-story-badge .big-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.about-story-badge span:last-child {
    font-size: 14px;
    opacity: 0.9;
}

.about-story-content .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-story-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}

/* About Mission */
.about-mission-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-mission-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(227, 30, 36, 0.2);
}

.about-mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-mission-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.about-mission-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.about-mission-card p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 15px;
}

/* About Vision */
.about-vision {
    background: linear-gradient(180deg, #f1f4f9 0%, var(--bg-color) 100%);
}

.about-vision-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-vision-content .vision-statement {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 32px;
}

.vision-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vision-point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--secondary-color);
}

.vision-point i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.about-vision-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.about-vision-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* About Page Responsive */
@media (max-width: 992px) {
    .about-story-grid,
    .about-vision-wrapper {
        grid-template-columns: 1fr;
    }

    .about-story-image {
        order: -1;
    }

    .about-mission-content {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 20px 80px;
    }

    .page-banner h1 {
        font-size: 34px;
    }

    .page-banner p {
        font-size: 16px;
    }

    .about-section {
        padding: 60px 0;
    }
}

/* ===== Contact Us Page ===== */
.contact-banner {
    position: relative;
}

.contact-banner::before {
    display: none;
}

.contact-banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.7;
}

.contact-banner-pattern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-banner .page-banner-overlay {
    background: linear-gradient(135deg, rgba(11, 28, 63, 0.88) 0%, rgba(26, 45, 74, 0.85) 100%);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(227, 30, 36, 0.2);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

/* Contact Form */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-intro .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-form-intro h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.contact-form-intro h2 span {
    color: var(--primary-color);
}

.contact-form-intro p {
    color: var(--light-text);
    line-height: 1.7;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-form .form-group label span {
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: var(--transition);
    background: #f8f9fa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.btn-submit {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 16px;
}

.btn-submit i {
    margin-right: 8px;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-intro h2 {
        font-size: 26px;
    }
}

/* ===== Blog Page ===== */
.blog-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&q=60&w=1920") center/cover;
    z-index: 0;
}

.blog-banner-overlay {
    background: linear-gradient(135deg, rgba(11, 28, 63, 0.88) 0%, rgba(26, 45, 74, 0.85) 100%) !important;
}

.blog-page-section {
    padding: 80px 0 100px;
}

.blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    justify-content: center;
}

.blog-tab {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: var(--white);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.blog-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.blog-page-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .blog-tab {
        padding: 10px 18px;
        font-size: 14px;
    }

    .blog-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Category Pages ===== */
.category-banner::before {
    display: none;
}

.category-banner-lineart {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.6;
}

.category-banner-lineart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-banner .page-banner-overlay {
    background: linear-gradient(135deg, rgba(11, 28, 63, 0.9) 0%, rgba(26, 45, 74, 0.88) 100%);
}

/* Category Section */
.category-section {
    padding: 80px 0;
}

.category-calculator-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.calc-inputs-side .form-group {
    margin-bottom: 24px;
}

.calc-inputs-side .form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.calc-inputs-side .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-inputs-side .input-wrapper i {
    position: absolute;
    left: 18px;
    color: var(--light-text);
    font-size: 16px;
}

.calc-inputs-side .input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    transition: var(--transition);
}

.calc-inputs-side .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calc-inputs-side .btn {
    margin-top: 8px;
}

.calc-results-side h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

/* Budget bars */
.budget-bars {
    margin-bottom: 24px;
}

.budget-bar-item {
    margin-bottom: 20px;
}

.bar-label {
    display: block;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 6px;
}

.bar-track {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 4px;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.bar-needs { background: var(--secondary-color); }
.bar-wants { background: var(--primary-color); }
.bar-savings { background: #28a745; }

.bar-amount {
    font-weight: 700;
    color: var(--secondary-color);
}

.budget-food-highlight {
    padding: 20px;
    background: rgba(227, 30, 36, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.budget-food-highlight i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Meal result */
.meal-result-box {
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d4a 100%);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.meal-result-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.meal-result-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.meal-result-secondary {
    font-size: 14px;
    color: var(--light-text);
}

.meal-result-secondary strong {
    color: var(--primary-color);
}

/* Savings result */
.savings-result-box {
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d4a 100%);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.savings-result-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.savings-result-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.savings-result-secondary p {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light-text);
}

.savings-result-secondary i {
    color: var(--primary-color);
    margin-right: 8px;
}

.savings-progress {
    margin-top: 20px;
}

.progress-label {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0;
}

/* Grocery calculator */
.grocery-calc {
    grid-template-columns: 1fr 1fr;
}

.grocery-add-form .form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #f8f9fa;
}

.grocery-add-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.grocery-add-row {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 12px;
}

.btn-add-item {
    margin-top: 16px;
}

.grocery-list {
    margin-top: 24px;
    max-height: 220px;
    overflow-y: auto;
}

.grocery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.grocery-item span:first-child {
    flex: 1;
    min-width: 0;
}

.item-total {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 4px;
}

.btn-remove:hover {
    color: var(--primary-color);
}

.empty-list {
    color: var(--light-text);
    font-size: 14px;
}

.grocery-result-box {
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d4a 100%);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.grocery-result-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.grocery-result-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.grocery-result-tip {
    font-size: 14px;
    color: var(--light-text);
}

.grocery-result-tip i {
    color: var(--primary-color);
    margin-right: 6px;
}

/* Category info section */
.category-info-section {
    padding: 80px 0;
    background: var(--white);
}

.category-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-info-card {
    padding: 36px 28px;
    background: var(--bg-color);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.category-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.category-info-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-info-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.category-info-card p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

/* Category page responsive */
@media (max-width: 992px) {
    .category-calculator-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .grocery-calc {
        grid-template-columns: 1fr;
    }

    .category-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .category-section,
    .category-info-section {
        padding: 50px 0;
    }

    .category-calculator-card {
        padding: 30px 20px;
    }

    .meal-result-amount,
    .savings-result-amount,
    .grocery-result-amount {
        font-size: 28px;
    }

    .grocery-add-row {
        grid-template-columns: 1fr 70px;
    }
}