/* ============================================================
   FOOTER.CSS — Section 9 (Green Gradient Background)
   Dr. Sarfaraz Sheikh — Premium Nutrition Specialist Website
   ============================================================ */

.footer-section {
    background: linear-gradient(145deg, #1E2A1E 0%, #2F3A2F 60%, #172217 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
.footer-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 138, 99, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 154, 114, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* ── Main Footer Body ───────────────────────────────────── */

.footer-main {
    padding: 80px 0 56px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
}

/* ── Column 1 — Brand ───────────────────────────────────── */

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: fit-content;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background-color: #6D8A63;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
}

.footer-logo-text-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    line-height: 1.1;
}

.footer-logo-text-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(221, 230, 213, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
}

.footer-brand-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(221, 230, 213, 0.75);
    line-height: 1.8;
    max-width: 300px;
}

/* Newsletter */
.footer-newsletter-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(109, 138, 99, 0.4);
}

.footer-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #FFFFFF;
    outline: none;
    min-width: 0;
}

.footer-newsletter-input::placeholder {
    color: rgba(221, 230, 213, 0.45);
}

.footer-newsletter-btn {
    background-color: #6D8A63;
    border: none;
    padding: 12px 22px;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-newsletter-btn:hover {
    background-color: #4D6845;
}

/* Social icons */
.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
    background-color: #6D8A63;
    border-color: #6D8A63;
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.75);
    fill: none;
    transition: stroke 0.3s ease;
}

.footer-social-link:hover svg {
    stroke: #FFFFFF;
}

/* ── Column 2 & 3 — Links ───────────────────────────────── */

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: #6D8A63;
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-item a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(221, 230, 213, 0.7);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-item a:hover {
    color: #7C9A72;
    padding-left: 6px;
}

.footer-links-item a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background-color: #6D8A63;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.footer-links-item a:hover::before {
    width: 12px;
}

/* ── Bottom Bar ─────────────────────────────────────────── */

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: rgba(221, 230, 213, 0.55);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: rgba(221, 230, 213, 0.55);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom-link:hover {
    color: #7C9A72;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-col { grid-column: span 2; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-brand-col { grid-column: span 1; align-items: center; }
    .footer-logo-link { margin: 0 auto; }
    .footer-brand-desc { margin: 0 auto; }
    .footer-social-row { justify-content: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); }
    .footer-links-item a { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-main { padding: 60px 0 44px; }
}
