/**
 * Custom styles for the front page
 * Color Palette: Cool Blues & Grays
 * Primary: Deep Blue (#3A5199)
 * Secondary: Bright Blue (#4D7CFE)
 * Dark: Dark Navy (#1E2C4F)
 * Light: Soft Gray (#F5F7FA)
 * Neutral: Light Blue Gray (#E9EEF6)
 */

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #1E2C4F;
    font-weight: 400;
    background-color: #F5F7FA;
}

h1, h2, h3, h4, h5, h6, .section-title, .recipe-title, .btn-primary {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.dr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.text-center {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: #3A5199;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3A5199;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: transparent;
    color: #4D7CFE !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}

/* Section Spacing */
section {
    padding: 40px 0;
    width: 100%;
    position: relative;
}

/* Removed unused full-width section styles */

/* Modern Hero Section */
.hero-section {
    position: relative;
    padding: 50px 0 40px;
    background-color: #F5F7FA;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(77, 124, 254, 0.1), transparent 60%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234D7CFE' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Headline Area */
.hero-headline-area {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-headline {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1E2C4F;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-headline span {
    color: #4D7CFE;
    position: relative;
    display: inline-block;
}

.hero-headline span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(77, 124, 254, 0.2);
    z-index: -1;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Search Bar */
.hero-search {
    max-width: 500px;
    margin: 0 auto 20px;
    position: relative;
}

.hero-search form {
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    height: 54px;
    border: none;
    border-radius: 27px;
    padding: 0 60px 0 25px;
    font-size: 1rem;
    background-color: white;
    box-shadow: 0 5px 20px rgba(30, 44, 79, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 5px 25px rgba(77, 124, 254, 0.2);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 7px;
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 50%;
    background-color: #4D7CFE;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #3A5199;
    transform: scale(1.05);
}

/* Featured Cards */
.hero-featured {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 44, 79, 0.1);
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(77, 124, 254, 0.15);
}

.hero-card-link {
    display: block;
    text-decoration: none;
    color: #1E2C4F;
}

.hero-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-card-content {
    padding: 20px;
}

.hero-card-category {
    display: inline-block;
    background-color: #4D7CFE;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-card-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.3;
    color: #1E2C4F;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-card-meta {
    font-size: 0.8rem;
    color: #666;
}

.hero-card-date {
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-featured {
        gap: 15px;
    }
    
    .hero-card {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.4rem;
    }
    
    .hero-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .search-input {
        height: 50px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .hero-headline span::after {
        height: 6px;
    }
}

.hero-card-meta {
    display: flex;
    justify-content: flex-start;
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-card-author {
    font-style: italic;
}

.hero-card-date {
    font-weight: 500;
}

.recipe-card {
    flex: 1;
    min-width: 250px;
    max-width: 380px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(44, 53, 70, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
    border: 1px solid #D9DDE4;
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(44, 53, 70, 0.12);
    border-color: #4D7CFE;
}

.recipe-card.small {
    min-width: 200px;
    max-width: 250px;
}

.recipe-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-image-wrapper {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recipe-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: radial-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.recipe-card:hover .recipe-overlay {
    opacity: 1;
}

.recipe-card:hover .recipe-view {
    transform: translateY(0);
}

.recipe-view {
    color: #fff;
    background-color: rgba(58, 81, 153, 0.9);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(58, 81, 153, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: translateY(5px);
}

.recipe-view:hover {
    background-color: rgba(77, 124, 254, 1);
    box-shadow: 0 10px 25px rgba(77, 124, 254, 0.6);
    transform: translateY(0) scale(1.05);
}

.hero-image {
    height: 400px;
}

.tall-image {
    height: 450px;
}

.recipe-card.small .recipe-image {
    height: 180px;
}

.recipe-title {
    padding: 22px 18px;
    margin: 0;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    color: #1E2C4F;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    background-color: #E9EEF6;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.recipe-card:hover .recipe-title {
    color: #4D7CFE;
    background-color: #F5F7FA;
    transform: scale(1.02);
}

/* About Section */
.about-section {
    background-color: white;
    padding: 60px 0;
    position: relative;
}
.about-section .section-title {
    margin-bottom: 15px;
}
.about-header {
    margin-bottom: 40px;
}

.about-subtitle {
    text-align: center;
    color: #4D7CFE;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.about-text-column {
    flex: 1;
    min-width: 300px;
}

.about-image-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(77, 124, 254, 0.1);
}

.about-image-frame:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #4D7CFE;
    border-radius: 10px;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease;
}

.about-image-frame:hover:before {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    opacity: 1;
}

.about-main-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image-frame:hover .about-main-image {
    transform: scale(1.05);
}

.about-intro {
    margin-bottom: 30px;
}

.about-intro-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1E2C4F;
    position: relative;
    padding-bottom: 12px;
}

.about-intro-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.about-description {
    line-height: 1.6;
    color: #1E2C4F;
    font-size: 1.05rem;
}

.about-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature-box {
    flex: 1;
    min-width: 150px;
    background-color: #E9EEF6;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(77, 124, 254, 0.1);
}

.feature-icon {
    margin-bottom: 15px;
}

.herb-icon {
    font-size: 2rem;
    color: #4D7CFE;
}

.about-feature-box h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: black;
}

.about-feature-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #393131;
    line-height: 1.5;
}

.about-cta {
    text-align: left;
    margin-top: 10px;
}

/* Modern Trending Recipes Section */
.trending-recipes-section {
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
    background-color: #F5F7FA;
}

.trending-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(77, 124, 254, 0.1), transparent 60%);
    z-index: 0;
}

.trending-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trending-title-wrap {
    position: relative;
}

.trending-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1E2C4F;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.trending-title span {
    color: #4D7CFE;
    position: relative;
    display: inline-block;
}

.trending-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(77, 124, 254, 0.2);
    z-index: -1;
}

.trending-subtitle {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

/* Navigation buttons removed */

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive styles for trending grid */
@media (max-width: 1200px) {
    .trending-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 30px;
    }
}

@media (max-width: 768px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 30px;
    }
}

@media (max-width: 576px) {
    .trending-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.trending-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(30, 44, 79, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.trending-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(77, 124, 254, 0.15);
}

.trending-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.trending-item-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
}

.trending-item:hover .trending-item-image {
    transform: scale(1.05);
}

.trending-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 44, 79, 0.1) 0%, rgba(30, 44, 79, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.trending-item-date {
    align-self: flex-start;
    background-color: rgba(77, 124, 254, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.trending-item-category {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1E2C4F;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-item-content {
    padding: 18px 20px 22px;
    position: relative;
}

.trending-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1E2C4F;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    min-height: 3em; /* Fixed height for consistent card sizing */
}

.trending-item:hover .trending-item-title {
    color: #4D7CFE;
}

.trending-item-meta {
    display: flex;
    justify-content: space-between;
    color: #1E2C4F;
    font-size: 0.85rem;
}

.trending-item-time, .trending-item-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-item-time svg, .trending-item-views svg {
    color: #4D7CFE;
}

.trending-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.trending-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D9DDE4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-dot.active {
    background-color: #4D7CFE;
    transform: scale(1.2);
}

/* Add JavaScript for the slider functionality */
@media (max-width: 768px) {
    .trending-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .trending-nav {
        align-self: center;
    }
    
    .trending-item {
        flex: 0 0 260px;
    }
    
    .trending-title {
        font-size: 1.8rem;
    }
    
    .trending-background {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .trending-recipes-section {
        padding: 40px 0;
    }
    
    .trending-item {
        flex: 0 0 220px;
    }
    
    .trending-item-image {
        height: 160px;
    }
    
    .trending-title {
        font-size: 1.5rem;
    }
    
    .trending-background {
        height: 200px;
    }
}

/* Modern Latest Recipes Section */
.latest-recipes-section {
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
    background-color: white;
}

.latest-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(77, 124, 254, 0.1), transparent 60%);
    z-index: 0;
}

.latest-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 40px;
}

.latest-title {
    color: #1E2C4F;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.latest-title span {
    color: #4D7CFE;
}

.latest-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.latest-subtitle {
    color: #3A5199;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 15px 0 0;
}

/* Navigation buttons removed */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive styles for latest grid */
@media (max-width: 1200px) {
    .latest-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 30px;
    }
}

@media (max-width: 768px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 30px;
    }
}

@media (max-width: 576px) {
    .latest-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.latest-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(30, 44, 79, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.latest-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(77, 124, 254, 0.15);
}

.latest-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.latest-item-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
}

.latest-item:hover .latest-item-image {
    transform: scale(1.05);
}

.latest-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 44, 79, 0.1) 0%, rgba(30, 44, 79, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.latest-item-date {
    align-self: flex-start;
    background-color: rgba(77, 124, 254, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.latest-item-category {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1E2C4F;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-item-content {
    padding: 18px 20px 22px;
    position: relative;
}

.latest-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1E2C4F;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    min-height: 3em; /* Fixed height for consistent card sizing */
}

.latest-item:hover .latest-item-title {
    color: #4D7CFE;
}

.latest-item-meta {
    display: flex;
    justify-content: space-between;
    color: #1E2C4F;
    font-size: 0.85rem;
}

.latest-item-time, .latest-item-difficulty {
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-item-time svg, .latest-item-difficulty svg {
    color: #4D7CFE;
}

.latest-cta {
    margin-top: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.latest-cta .btn-primary {
    background-color: #4D7CFE;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}

.latest-cta .btn-primary:hover {
    background-color: #3A5199;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 124, 254, 0.4);
}

@media (max-width: 768px) {
    .latest-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .latest-nav {
        align-self: center;
    }
    
    .latest-item {
        flex: 0 0 260px;
    }
    
    .latest-title {
        font-size: 1.8rem;
    }
    
    .latest-background {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .latest-recipes-section {
        padding: 40px 0;
    }
    
    .latest-item {
        flex: 0 0 220px;
    }
    
    .latest-item-image {
        height: 160px;
    }
    
    .latest-title {
        font-size: 1.5rem;
    }
    
    .latest-background {
        height: 200px;
    }
}

/* Removed unused recipe card styles */

/* Modern Category Section */
.category-section {
    padding: 40px 0 40px;
    position: relative;
    background-color: #F5F7FA;
    overflow: hidden;
}

.category-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(77, 124, 254, 0.08), transparent 60%);
    z-index: 1;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1E2C4F;
    margin-bottom: 15px;
    line-height: 1.2;
}

.category-title span {
    color: #4D7CFE;
    position: relative;
    display: inline-block;
}

.category-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(77, 124, 254, 0.2);
    z-index: -1;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

/* Category Cards */
.category-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.category-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(30, 44, 79, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(77, 124, 254, 0.15);
}

.category-card-link {
    display: block;
    text-decoration: none;
    color: #1E2C4F;
}

/* Removed category-card-icon styles */

.category-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
}

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

.category-card-content {
    padding: 18px 20px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.category-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1E2C4F;
}

.category-card-description {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-card-button {
    display: inline-block;
    color: #4D7CFE;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.category-card-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4D7CFE;
    transition: width 0.3s ease;
}

.category-card:hover .category-card-button::after {
    width: 100%;
}

/* Responsive Styles for Category Section */
@media (max-width: 1200px) {
    .category-cards {
        gap: 15px;
        max-width: 960px;
    }
    
    .category-card {
        flex: 0 0 calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
    
    .category-card-image {
        height: 140px;
    }
    
    .category-card-content {
        padding: 15px 18px 18px;
    }
    
    .category-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .category-section {
        padding: 40px 0 40px;
    }
    
    .category-title {
        font-size: 2.2rem;
    }
    
    .category-cards {
        flex-wrap: wrap;
        max-width: 720px;
    }
    
    .category-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    .category-card-image {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 40px 0 30px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .category-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .category-cards {
        max-width: 540px;
        gap: 15px;
    }
    
    .category-card-icon {
        width: 42px;
        height: 42px;
    }
    
    .category-card-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .category-card-content {
        padding: 12px 15px 15px;
    }
    
    .category-card-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .category-card-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .category-card-button {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .category-section {
        padding: 40px 0 25px;
    }
    
    .category-header {
        margin-bottom: 30px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .category-title span::after {
        height: 5px;
        bottom: 3px;
    }
    
    .category-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .category-cards {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .category-card-image {
        height: 140px;
    }
}

.categories-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E2C4F;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.categories-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.categories-subtitle {
    font-size: 1.1rem;
    color: #4D7CFE;
    font-weight: 400;
}

/* This section was removed as it duplicated the main category card styles */

/* This section was removed as it duplicated or contained unused styles */

/* Categories More Link */
.categories-more-2 {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.categories-more-link-2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #4D7CFE;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}

.categories-more-link-2:hover {
    background-color: #3A5199;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 124, 254, 0.4);
}

.categories-more-link-2 svg {
    transition: transform 0.3s ease;
}

.categories-more-link-2:hover svg {
    transform: translateX(5px);
}


/* Removed duplicated responsive styles */
/* Removed unused popular-recipes-section style */

/* Modern Popular Categories Section */
.popular-categories-section {
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
    background-color: #F5F7FA;
}

.categories-decor-left-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(77, 124, 254, 0.08), transparent 60%);
    z-index: 0;
}

.categories-decor-right-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 70%, rgba(58, 81, 153, 0.06), transparent 60%);
    z-index: 0;
}

.categories-header-2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 40px;
}

.categories-title-2 {
    color: #1E2C4F;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    display: inline-block;
}

.categories-title-2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.categories-subtitle-2 {
    color: #3A5199;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 15px 0 0;
}

.categories-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.category-card-2 {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(30, 44, 79, 0.15);
    transition: all 0.4s ease;
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
}

.category-card-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(77, 124, 254, 0.25);
}

.category-link-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 2;
}

.category-overlay-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 44, 79, 0.1) 0%, rgba(30, 44, 79, 0.85) 100%);
    z-index: 1;
}

.category-content-2 {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
}

.category-icon-2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-title-2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-desc-2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.category-count-2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(77, 124, 254, 0.8);
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.category-card-2:hover .category-count-2 {
    background-color: #4D7CFE;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Responsive styles for popular categories */
@media (max-width: 1200px) {
    .categories-grid-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 960px;
    }
    
    .category-card-2 {
        height: 300px;
    }
    
    .category-content-2 {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .popular-categories-section {
        padding: 40px 0 40px;
    }
    
    .categories-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 720px;
    }
    
    .categories-title-2 {
        font-size: 2rem;
    }
    
    .category-card-2 {
        height: 280px;
    }
    
    .category-icon-2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .popular-categories-section {
        padding: 40px 0 40px;
    }
    
    .categories-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 540px;
    }
    
    .categories-title-2 {
        font-size: 1.8rem;
    }
    
    .categories-subtitle-2 {
        font-size: 1rem;
    }
    
    .category-card-2 {
        height: 260px;
    }
    
    .category-content-2 {
        padding: 20px;
    }
    
    .category-title-2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .category-desc-2 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .category-count-2 {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .popular-categories-section {
        padding: 40px 0 30px;
    }
    
    .categories-grid-2 {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 25px;
    }
    
    .categories-title-2 {
        font-size: 1.6rem;
    }
    
    .category-card-2 {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .categories-title-2 {
        font-size: 1.5rem;
    }
    
    .categories-subtitle-2 {
        font-size: 0.9rem;
    }
    
    .category-card-2 {
        height: 220px;
    }
    
    .category-icon-2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .category-title-2 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .category-desc-2 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .category-count-2 {
        padding: 5px 15px;
        font-size: 0.8rem;
    }
}

/* Featured In Section */
.featured-in-section {
    background-color: #F5F7FA;
    padding: 40px 0;
}

.featured-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.featured-logo {
    max-height: 60px;
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.featured-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #4D7CFE;
    color: #fff;
    padding: 40px 0;
}

.newsletter-section .section-title {
    color: #fff;
    text-align: center;
}

.newsletter-section .section-title:after {
    background-color: #F5F7FA;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-section .btn-primary {
    background-color: #1E2C4F;
    color: #fff !important;
    border-color: #1E2C4F;
    margin-top: 0;
    border-radius: 30px;
}

.newsletter-section .btn-primary:hover {
    background-color: #4D7CFE;
    color: #fff !important;
    border-color: #4D7CFE;
}

/* Modern About Section */
.about-section {
    position: relative;
    padding: 50px 0 40px;
    background-color: #fff;
    overflow: hidden;
}

.about-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F5F7FA' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(30, 44, 79, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(30, 44, 79, 0.7), transparent);
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1E2C4F;
    margin-bottom: 5px;
    line-height: 1.2;
}

.about-title span {
    color: #4D7CFE;
    position: relative;
    display: inline-block;
}

.about-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(77, 124, 254, 0.2);
    z-index: -1;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.about-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.about-description p {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-feature {
    background-color: #F5F7FA;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background-color: #4D7CFE;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(77, 124, 254, 0.2);
}

.about-feature:hover .feature-icon,
.about-feature:hover h4,
.about-feature:hover p {
    color: white;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #4D7CFE;
    transition: color 0.3s ease;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1E2C4F;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.about-feature p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.about-cta {
    margin-top: 20px;
}

.about-cta .btn-primary {
    display: inline-block;
    background-color: #4D7CFE;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.about-cta .btn-primary:hover {
    background-color: #3A5199;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(58, 81, 153, 0.2);
}

/* Responsive Adjustments */


@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .dr-category-image-wrap {
        max-width: 180px;
    }
    
    .hero-card-title {
        font-size: 1.6rem;
    }
    
    .hero-secondary-item .hero-card-title {
        font-size: 1.2rem;
    }
    
    .hero-main-feature .hero-card {
        min-height: 500px;
    }
    
    .about-features-row {
        gap: 15px;
    }
    
    .about-feature-box {
        padding: 15px;
    }
    
    .herb-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-main-feature {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero-secondary-features {
        grid-column: 1;
        grid-row: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .hero-secondary-item:first-child {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
    
    .hero-secondary-item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .hero-secondary-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .hero-main-feature .hero-card {
        min-height: 400px;
    }
    
    .hero-card {
        min-height: 250px;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
    }
    
    /* Removed unused recipe card responsive styles */
    
    .dr-recipe-categories-row {
        gap: 30px;
    }
    
    .dr-recipe-category-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .dr-category-image-wrap {
        width: 150px;
        height: 150px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input, .newsletter-section .btn-primary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-secondary-features {
        grid-template-columns: 1fr;
    }
    
    .hero-secondary-item:first-child,
    .hero-secondary-item:nth-child(2),
    .hero-secondary-item:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .hero-card-title {
        font-size: 1.4rem;
    }
    
    .hero-card {
        min-height: 200px;
    }
    
    .hero-main-feature .hero-card {
        min-height: 350px;
    }
    
    .hero-card-overlay {
        padding: 20px 15px;
    }
    
    .recipe-card.small {
        min-width: 100%;
    }
    
    .dr-recipe-category-item {
        width: 100%;
        max-width: 100%;
    }
}