/* ========================================== */
/* FOOTER STYLES (Dr Pathik - Earthy Premium) */
/* ========================================== */

/* --- Variables (Aapki Color Palette) --- */
:root {
    --footer-bg: #30271F;           /* Body Text (Dark Brown) */
    --footer-heading: #F0E4D2;     /* Section Background (Beige) */
    --footer-text: #D3C9BC;        /* Light Muted Beige */
    --footer-accent: #805633;      /* Buttons (Brown) */
    --footer-accent-dark: #493321; /* Headings (Dark Brown) */
    --footer-hover: #F0E4D2;       /* Hover Beige */
    --footer-border: #493321;      /* Border */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Footer Container --- */
.dr-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--font-body);
    padding: 60px 0 20px 0;
    position: relative;
    margin: 0px;
    width: 100%;
    /* Subtle texture / gradient */
    background-image: linear-gradient(180deg, #30271F 0%, #241C16 100%);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TOP GRID (4 Columns) --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* --- Column 1: Brand --- */
.footer-col { display: flex; flex-direction: column; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--footer-accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon svg { width: 18px; height: 18px; }

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-heading);
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--footer-text);
    margin-bottom: 24px;
    max-width: 320px;
    opacity: 0.85;
}

/* --- Social Icons --- */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--footer-accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-heading);
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social-icon:hover {
    background-color: var(--footer-accent);
    color: var(--footer-heading);
    border-color: var(--footer-accent);
    transform: translateY(-3px);
}

/* --- Reviews Section --- */
.footer-review {
    font-size: 0.8rem;
    color: var(--footer-text);
    opacity: 0.85;
}
.footer-review span { display: block; margin-bottom: 8px; }
.footer-review-logos {
    display: flex;
    gap: 15px;
    font-weight: 600;
    color: var(--footer-heading);
}
.review-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

/* --- Column Headings --- */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--footer-heading);
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Links --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links li a {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
    opacity: 0.85;
}
.footer-links li a:hover {
    color: var(--footer-hover);
    opacity: 1;
    transform: translateX(4px);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid var(--footer-accent-dark);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--footer-text);
    margin: 0;
    opacity: 0.75;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 0.8rem;
    transition: color 0.2s ease;
    opacity: 0.75;
}
.footer-bottom-links a:hover {
    color: var(--footer-hover);
    opacity: 1;
}

/* --- Scroll to Top Button --- */
.footer-scroll-top {
    position: absolute;
    right: 30px;
    top: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--footer-accent); /* #805633 */
    color: var(--footer-heading);
    border: 2px solid var(--footer-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
}
.footer-scroll-top:hover {
    background-color: var(--footer-accent-dark); /* #493321 */
    transform: translateY(-5px);
}

/* ========================================== */
/* RESPONSIVE DESIGN                          */
/* ========================================== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Tablet pe 2 columns */
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .dr-footer { padding: 40px 0 20px 0; }
    
    .footer-grid {
        grid-template-columns: 1fr; /* Mobile pe 1 column */
        gap: 30px;
    }
    
    .footer-desc { max-width: 100%; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-scroll-top {
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

