/* ============================
   Main Page Styles – Anjeer Foods
   ============================ */

/* ===== Base & Global ===== */
body {
    font-family: "Poppins", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: #2b4220;
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

a {
    text-decoration: none;
    color: #8dc63f;
    transition: all 0.3s ease;
}

    a:hover {
        color: #5fa021;
    }

/* ===== Hero Section ===== */
.hero-banner {
    position: relative;
    height: 75vh;
    background: url('/images/main-header-page.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

    .hero-banner .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(25, 45, 20, 0.6);
    }

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

.highlight-green {
    color: #8dc63f;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #e5f6d4;
}

.subtext {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #f3f3f3;
}

.btn-hero {
    background-color: #8dc63f;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .btn-hero:hover {
        background-color: #74b02e;
        transform: translateY(-3px);
    }

/* ===== Popular Categories ===== */
.fav-partner {
    padding: 60px 20px;
    background-color: #f9fdf5;
}

    .fav-partner h2 {
        font-size: 2rem;
        color: #2b4220;
        margin-bottom: 40px;
        text-align: center;
    }

.image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

    .image-wrapper img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 1s ease;
    }

    .image-wrapper:hover img {
        transform: scale(1.08);
    }

.fav-partner h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #5fa021;
}

.fav-partner p {
    max-width: 280px;
    margin: 0 auto;
}

/* ===== Our Story / expertise-food ===== */
.expertise-food-section {
    background-color: #fff;
    padding: 40px 10px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 10px;
}

.expertise-food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.expertise-food-card {
    background-color: #f9fdf5;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .expertise-food-card:hover {
        transform: translateY(-5px);
        background-color: #f2fceb;
    }

    .expertise-food-card .icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

/* ===== Why Choose Us ===== */
.features {
    background-color: #f8f8f8;
    text-align: center;
    padding: 70px 20px;
}

    .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    }

    .card h3 {
        color: #5fa021;
        margin-bottom: 10px;
    }

/* ===== Contact Section ===== */
.contact-section {
    background-color: #f9fdf5;
    padding: 60px 20px;
    color: #333;
}

    .contact-section h2 {
        color: #2b4220;
        margin-bottom: 20px;
    }

    .contact-section p {
        font-size: 1rem;
        margin: 8px 0;
    }

/* ===== Footer ===== */
.footer-section {
    background-color: #2b4220;
    color: #f3f3f3;
    font-size: 0.95rem;
}

    .footer-section p {
        margin: 5px 0;
    }

    .footer-section b {
        color: #8dc63f;
    }

/* ===== Animations ===== */
.animate-fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-banner {
        height: 75vh;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .subtext {
        font-size: 1rem;
    }

    .expertise-food-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Our Expertise Section ===== */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00e6e6;
    text-shadow: 0 0 15px rgba(0, 230, 230, 0.5);
}

.section-subtitle {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

/* ===== Grid Layout ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-items: center;
}


.expertise-section {
    padding: 20px 10px;
    background: radial-gradient(circle at 20% 30%, #117542 0%, #018143 25%, #088348 65%, #1a593b 85%, #1a1a1a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* Subtle animated overlay for motion depth */
    .expertise-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), transparent 70%), radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08), transparent 60%);
        animation: gradientMove 12s ease-in-out infinite alternate;
        z-index: 0;
    }

    /* Layer content above the overlay */
    .expertise-section > * {
        position: relative;
        z-index: 2;
    }

/* Animation for soft moving gradient shimmer */
@keyframes gradientMove {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(10px, -10px);
    }
}


/* ===== Card Styling ===== */
.expertise-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    /* Equal card text height fix */
    .expertise-card h3 {
        min-height: 50px;
        margin-bottom: 10px;
        font-size: 1.3rem;
        color: #00ffff;
        letter-spacing: 0.5px;
    }

    .expertise-card p {
        color: #ddd;
        font-size: 0.95rem;
        line-height: 1.6;
        flex-grow: 1;
    }

    /* ===== Card Hover Effect ===== */
    .expertise-card:hover {
        transform: translateY(-10px);
        border-color: #00ffff;
        box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    }

    /* ===== Icon Styling ===== */
    .expertise-card .icon {
        font-size: 2rem;
        margin-bottom: 15px;
        background: linear-gradient(135deg, #00ffff, #0077ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .expertise-card {
        padding: 25px 15px;
    }
}

.card {
    background-color: transparent !important;
}
