/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/

/* ================================================
   PREMIUM FOOTER - Delhi Food Industries
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

.premium-footer-v2 {
    background: linear-gradient(180deg, #0a0f0b 0%, #0d140e 100%);
    color: #e8e8e8;
    padding: 80px 0 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    border-top: 3px solid #8bc34a;
    box-sizing: border-box;
    position: relative;
}

/* Subtle top glow effect */
.premium-footer-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: radial-gradient(ellipse at center, rgba(139,195,74,0.5) 0%, transparent 70%);
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Grid Layout */
.footer-row {
    display: grid;
    /* Adjusted: Shrank Quick Links slightly, Expanded Contact column significantly */
    grid-template-columns: 1.8fr 0.9fr 1.6fr 1.5fr; 
    gap: 50px;
    align-items: start;
    padding-bottom: 60px;
}


/* Logo */
.footer-logo-wrap {
    margin-bottom: 22px;
    display: block;
}

.footer-logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.tagline {
    color: #777;
    line-height: 1.9;
    font-size: 15.5px;
    margin: 0 0 22px 0;
    padding: 0;
    font-weight: 300;
}

/* Column Titles */
.col-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 24px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0;
    position: relative;
    padding-bottom: 12px;
}

/* Green underline accent on titles */
.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #8bc34a;
    border-radius: 2px;
}

/* Navigation Links */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 13px;
    padding: 0;
    font-size: 15.5px;
    color: #777;
}

.footer-menu a {
    color: #888;
    text-decoration: none;
    font-size: 15.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1.4;
    font-weight: 400;
}

.footer-menu a::before {
    content: '›';
    color: #8bc34a;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.3s, transform 0.3s;
}

.footer-menu a:hover {
    color: #8bc34a;
    transform: translateX(6px);
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   CONTACT LIST — Email BESIDE icon, not beneath
   ================================================ */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;           /* Icon + text side by side */
    align-items: center;     /* Vertically centered */
    gap: 12px;               /* Space between icon and text */
    color: #888;
    font-size: 15.5px;
    line-height: 1.5;
    margin-bottom: 16px;     /* Spacing between each item */
    word-break: break-word;
}

.contact-icon {
    flex-shrink: 0;          /* Icon never shrinks */
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.contact-list a {
    color: #888;
    text-decoration: none;
    font-size: 15.5px;
    transition: color 0.3s;
    word-break: break-all;
    display: inline;         /* Stays on same line as icon */
}

.contact-list a:hover {
    color: #8bc34a;
}

/* ================================================
   SOCIAL ICONS — Proper spacing
   ================================================ */
.social-icons {
    display: flex;
    align-items: center;
    gap: 14px;               /* Gap between icons */
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;             /* Dimension */
    height: 42px;
    border: 1px solid #252525;
    border-radius: 50%;
    color: #777;
    text-decoration: none;
    transition: all 0.35s ease;
    flex-shrink: 0;
    background: rgba(255,255,255,0.02);
}

.social-link:hover {
    background: #8bc34a;
    border-color: #8bc34a;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139,195,74,0.3);
}

.social-link svg {
    display: block;
    flex-shrink: 0;
}

/* ================================================
   NEWSLETTER + BADGES — Proper spacing between them
   ================================================ */
.newsletter-input {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid #252525;
    padding: 5px;
    border-radius: 50px;
    margin: 18px 0 0 0;
    overflow: hidden;
}

.newsletter-input input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-size: 14.5px;
    min-width: 0;
    font-family: 'Outfit', sans-serif;
}

.newsletter-input input::placeholder {
    color: #444;
}

.newsletter-input button {
    background: #8bc34a;
    border: none;
    color: #000;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 13px;
    letter-spacing: 1.5px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
}

.newsletter-input button:hover {
    background: #ffffff;
}

/* ================================================
   TRUST BADGES — Spacing from newsletter
   ================================================ */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;        /* Spacing below newsletter form */
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: #aaa;
    background: rgba(139, 195, 74, 0.05);
    border: 1px solid rgba(139, 195, 74, 0.15);
    padding: 12px 16px;
    border-radius: 10px;
    line-height: 1.4;
    transition: background 0.3s, border-color 0.3s;
}

.badge-item:hover {
    background: rgba(139, 195, 74, 0.1);
    border-color: rgba(139, 195, 74, 0.4);
}

.badge-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.badge-icon svg {
    display: block;
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid #181d19;
    margin: 0;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 14px;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
    .footer-row {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-wrapper {
        padding: 0 20px;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Centers all general text */
    }

    /* Center Logo */
    .footer-logo-wrap {
        display: flex;
        justify-content: center;
    }

    .footer-logo-img {
        max-width: 140px;
    }

    /* Center Social Icons */
    .social-icons {
        justify-content: center;
    }

    /* Move the green underline to the center for titles */
    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Center Quick Links & Legal Links */
    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu a:hover {
        transform: none;
    }

    /* Center Contact List Items perfectly */
    .contact-list li {
        justify-content: center;
    }

    /* Center Newsletter */
    .newsletter-input {
        border-radius: 8px;
        flex-direction: column;
    }

    .newsletter-input input {
        padding: 12px 14px;
        text-align: center; /* Center typing text */
    }

    .newsletter-input button {
        border-radius: 6px;
        padding: 12px;
        text-align: center;
    }

    /* Center Trust Badges */
    .trust-badges {
        align-items: center;
    }

    .badge-item {
        justify-content: center;
        width: 100%;
        max-width: 280px; /* Keeps them looking neat */
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}















/*header continues */












/* ================================================
   SITE BACKGROUND COLOUR
   ================================================ */

body {
    background-color: #F9F8EE !important;
}

.site-content,
.ast-container,
#content {
    background-color: #F9F8EE;
}

/* ================================================
   PREMIUM HEADER
   ================================================ */

.custom-header {
    background: #ffffff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: box-shadow 0.4s ease;
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Thin green accent line at very top */
.header-accent-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5a8a1e 0%, #8bc34a 50%, #5a8a1e 100%);
}

/* Shadow appears only on scroll */
.custom-header.scrolled {
    box-shadow: 0 6px 35px rgba(0,0,0,0.09);
}

/* Header layout: Logo left, Nav center, CTA right */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    height: 100px;            /* Bigger header height */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---- Logo ---- */
.site-branding a {
    display: block;
    line-height: 0;
}

.main-logo {
    height: 85px;             /* Bigger logo */
    width: auto;
    display: block;
    transition: transform 0.35s ease, opacity 0.3s;
    object-fit: contain;
}

.main-logo:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

/* ---- Desktop Nav ---- */
.desktop-nav { display: flex; }

.desktop-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Underline slide animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #8bc34a;
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover { color: #5a8a1e; }

.nav-link:hover::after { width: 100%; }

/* ---- CTA Button ---- */
.header-actions { display: flex; align-items: center; }

.header-cta {
    background: #8bc34a;
    color: #1a1a1a;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 2px solid #8bc34a;
    transition: all 0.35s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(139,195,74,0.3);
}

.header-cta:hover {
    background: transparent;
    color: #5a8a1e;
    border-color: #5a8a1e;
    box-shadow: none;
}

/* ---- Hamburger ---- */
.mobile-toggle {
    display: none;          /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: #2c2c2c;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
    display: block;
}

/* ================================================
   MOBILE DRAWER
   ================================================ */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -320px;           /* Comes from LEFT */
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 28px;
    box-shadow: 10px 0 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-right: 3px solid #8bc34a;
}

.mobile-menu-drawer.active { left: 0; }

.drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #efefef;
}

/* Bigger logo inside drawer */
.drawer-logo {
    height: 70px;           /* Bigger in drawer */
    width: auto;
    object-fit: contain;
}

.close-drawer {
    font-size: 38px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    transition: color 0.3s, transform 0.3s;
}

.close-drawer:hover {
    color: #8bc34a;
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-list a {
    display: block;
    padding: 17px 0;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
    font-family: 'Outfit', sans-serif;
}

.mobile-nav-list a:hover {
    color: #8bc34a;
    padding-left: 12px;
}

.drawer-cta {
    display: block;
    text-align: center;
    background: #8bc34a;
    color: #000;
    padding: 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 25px;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(139,195,74,0.3);
}

.drawer-cta:hover {
    background: #2c2c2c;
    color: #fff;
    box-shadow: none;
}

/* ================================================
   HEADER RESPONSIVE
   ================================================ */

@media (max-width: 1100px) {
    .header-container { padding: 0 25px; }
    .desktop-nav .nav-list { gap: 22px; }
    .nav-link { font-size: 14.5px; }
}

@media (max-width: 900px) {

    /* Show hamburger, hide desktop nav & CTA */
    .mobile-toggle  { display: flex; }
    .desktop-nav    { display: none; }
    .header-actions { display: none; }

    .header-container {
        padding: 0 20px;
        height: 80px;
        /* Hamburger LEFT | Logo CENTER */
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        align-items: center;
    }

    /* Logo sits in the center column */
    .site-branding {
        grid-column: 2;
        display: flex;
        justify-content: center;
    }

    .main-logo {
        height: 60px;        /* Good size on mobile */
    }

    /* Hamburger is in column 1 */
    .mobile-toggle {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .main-logo { height: 52px; }
    .header-container { height: 70px; }
}
