/* =========================================================
   SAURASHTRA DAIRY — COMPLETE RESPONSIVE FOOTER
   No :root | No var()
   Desktop | Laptop | Tablet | Mobile
========================================================= */


/* =========================================================
   01. FOOTER BASE
========================================================= */

.site-footer {
    position: relative;
    isolation: isolate;

    width: 100%;
    margin: 0;
    padding: 75px max(24px, calc((100% - 1240px) / 2)) 0;

    background: #102B1F;
    color: #FFFFFF;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    overflow: hidden;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer h3,
.site-footer p {
    margin-top: 0;
}

.site-footer a {
    -webkit-tap-highlight-color: transparent;
}

.site-footer img,
.site-footer svg {
    vertical-align: middle;
}

.site-footer img {
    max-width: 100%;
}

.site-footer a:focus-visible {
    outline: 2px solid #E1C98E;
    outline-offset: 4px;
}


/* =========================================================
   02. FOOTER BACKGROUND DECORATION
========================================================= */

.site-footer::before,
.site-footer::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(198, 163, 91, 0.10);
    border-radius: 50%;

    pointer-events: none;
    z-index: -1;
}

.site-footer::before {
    width: 420px;
    height: 420px;

    top: -210px;
    right: -140px;
}

.site-footer::after {
    width: 290px;
    height: 290px;

    top: -140px;
    right: -75px;

    border-color: rgba(198, 163, 91, 0.07);
}


/* =========================================================
   03. FOOTER MAIN GRID
========================================================= */

.site-footer .footer-main {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 0.8fr)
        minmax(0, 0.9fr)
        minmax(0, 1fr);

    gap: clamp(24px, 3.2vw, 45px);

    align-items: start;

    padding: 0 0 60px;
}


/* =========================================================
   04. FOOTER BRAND
========================================================= */

.site-footer .footer-brand-section {
    min-width: 0;
}

.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;

    max-width: 100%;
    margin: 0 0 20px;

    text-decoration: none;
}

.site-footer .footer-brand-logo {
    display: block;

    width: clamp(150px, 18vw, 250px);
    max-width: 100%;
    height: auto;
    max-height: 150px;

    object-fit: contain;
    object-position: left center;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.site-footer .footer-brand:hover .footer-brand-logo {
    transform: translateY(-3px);
    opacity: 0.92;
}

.site-footer .footer-brand-section > p {
    max-width: 320px;
    margin: 0;

    color: rgba(255, 255, 255, 0.64);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.83rem;
    font-weight: 400;
    line-height: 1.95;

    overflow-wrap: anywhere;
}


/* =========================================================
   05. FOOTER COLUMN HEADINGS
========================================================= */

.site-footer .footer-links,
.site-footer .footer-domain {
    min-width: 0;
}

.site-footer .footer-links h3,
.site-footer .footer-domain h3 {
    position: relative;

    margin: 0 0 23px;
    padding: 0 0 14px;

    color: #E1C98E;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 1.4px;
    line-height: 1.6;

    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.site-footer .footer-links h3::after,
.site-footer .footer-domain h3::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 35px;
    height: 2px;

    background: #C6A35B;
    border-radius: 2px;

    transition: width 0.3s ease;
}

.site-footer .footer-links:hover h3::after,
.site-footer .footer-domain:hover h3::after {
    width: 55px;
}


/* =========================================================
   06. FOOTER NAVIGATION
========================================================= */

.site-footer .footer-links nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;

    width: 100%;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links nav > a {
    display: inline-flex;
    align-items: flex-start;

    gap: 9px;

    max-width: 100%;

    color: rgba(255, 255, 255, 0.68);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.8;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.site-footer .footer-links nav > a::before {
    content: "›";

    display: inline-block;
    flex-shrink: 0;

    color: #C6A35B;

    font-size: 1.15rem;
    line-height: 1.35;

    transition: transform 0.3s ease;
}

.site-footer .footer-links nav > a:hover {
    color: #E1C98E;
    transform: translateX(3px);
}

.site-footer .footer-links nav > a:hover::before {
    transform: translateX(2px);
}


/* =========================================================
   07. DOMAIN OPPORTUNITY
========================================================= */

.site-footer .footer-domain > p {
    margin: 0 0 18px;

    color: #F5F0E5;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.7;

    overflow-wrap: anywhere;
}

.site-footer .footer-domain-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    max-width: 100%;

    color: #E1C98E;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.8;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}

.site-footer .footer-domain-link:hover {
    gap: 12px;
    color: #FFFFFF;
}


/* =========================================================
   08. FOOTER BOTTOM BAR
========================================================= */

.site-footer .footer-bottom {
    width: 100%;
    max-width: 1240px;

    min-height: 75px;

    margin: 0 auto;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer .footer-bottom > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.8;

    overflow-wrap: anywhere;
}


/* =========================================================
   09. BACK TO TOP
========================================================= */

.site-footer .back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
    flex-shrink: 0;

    color: #E1C98E;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.8;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.site-footer .back-top:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
}


/* =========================================================
   10. VERTICAL SOCIAL ICONS
========================================================= */

.site-footer .footer-social-vertical {
    position: absolute;
    right: 0;
    bottom: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: #F5F0E5;

    border: 1px solid rgba(198, 163, 91, 0.55);
    border-right: none;

    border-radius: 12px 0 0 12px;
    overflow: hidden;

    z-index: 10;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.site-footer .footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    color: #173D2B;
    background: transparent;

    text-decoration: none;

    border: none;
    border-bottom: 1px solid rgba(198, 163, 91, 0.4);

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.site-footer .footer-social-icon:last-child {
    border-bottom: none;
}

.site-footer .footer-social-icon svg {
    display: block;

    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.site-footer .footer-social-icon:hover {
    transform: translateX(-3px);
}

.site-footer .footer-social-icon:hover svg {
    transform: scale(1.1);
}


/* =========================================================
   11. SOCIAL BRAND HOVER COLORS
========================================================= */

/* Instagram */

.site-footer .footer-social-icon.instagram:hover {
    color: #FFFFFF;
    background: #E1306C;
}

/* Facebook */

.site-footer .footer-social-icon.facebook:hover {
    color: #FFFFFF;
    background: #1877F2;
}

/* LinkedIn */

.site-footer .footer-social-icon.linkedin:hover {
    color: #FFFFFF;
    background: #0A66C2;
}

/* YouTube: red background + black play icon */

.site-footer .footer-social-icon.youtube:hover {
    color: #000000;
    background: #FF0000;
}

.site-footer .footer-social-icon.youtube:hover svg {
    color: #000000;
}

.site-footer .footer-social-icon.youtube:hover svg path:last-child {
    fill: #F5F0E5;
}

/* Telegram */

.site-footer .footer-social-icon.telegram:hover {
    color: #FFFFFF;
    background: #229ED9;
}

/* Email */

.site-footer .footer-social-icon.email:hover {
    color: #173D2B;
    background: #C6A35B;
}


/* =========================================================
   12. SCROLL REVEAL ANIMATION
========================================================= */

.site-footer .reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.site-footer .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   13. LAPTOP / SMALL DESKTOP
   1025px – 1200px
========================================================= */

@media (max-width: 1050px) {

   .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }
}

/* =========================================================
   14. TABLETS / SMALL LAPTOPS
   769px – 1024px
========================================================= */

@media (max-width: 768px) {


    .site-footer {
        padding: 60px 32px 0;
    }

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 40px;
        row-gap: 42px;

        padding-bottom: 45px;
    }

    .site-footer .footer-brand-section {
        grid-column: 1 / -1;
    }

    .site-footer .footer-brand-section > p {
        max-width: 800px;
      
    
   
    }

    .site-footer .footer-brand-logo {
        width: 210px;
    }

    .site-footer .footer-social-vertical {
        bottom: 85px;
    }
  .footer-domain p {
    width:300px;
    
      }
}



/* =========================================================
   16. MOBILE
   320px – 480px
========================================================= */

@media (max-width: 480px) {

    
    /* Footer */

    .site-footer {
        padding: 55px 20px 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 18px;
        padding-bottom: 40px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
    }

    .brand-footer {
        gap: 9px;
    }

    .brand-footer .brand-copy strong {
        font-size: 0.88rem;
    }

    .brand-footer .brand-copy small {
        font-size: 0.43rem;
        letter-spacing: 1.2px;
    }

    .footer-brand-section > p {
        font-size: 0.8rem;
    }

    .footer-links h3,
    .footer-domain h3 {
        margin-bottom: 17px;
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .footer-links nav {
        gap: 11px;
    }

    .footer-links nav > a {
        font-size: 0.76rem;
    }

    .footer-domain > p {
        font-size: 1rem;
    }

    .footer-domain-link {
        font-size: 0.72rem;
        line-height: 1.7;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;

        padding: 20px 0;
    }

    .footer-bottom > p {
        font-size: 0.68rem;
    }
}

/* =========================================================
   17. EXTRA SMALL MOBILE
   320px – 360px
========================================================= */

@media (max-width: 360px) {

    .site-footer {
        padding: 35px 16px 0;
    }

    .site-footer .footer-main {
        gap: 28px;
    }

    .site-footer .footer-brand-logo {
        width: 135px;
    }

    .site-footer .footer-links h3,
    .site-footer .footer-domain h3 {
        font-size: 0.69rem;
        letter-spacing: 1px;
    }

    .site-footer .footer-bottom > p {
        padding-right: 24px;
    }

    .site-footer .footer-social-icon {
        width: 29px;
        height: 32px;
    }

    .site-footer .footer-social-icon svg {
        width: 14px;
        height: 14px;
    }
}


/* =========================================================
   18. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        animation: none !important;
        transition: none !important;
    }

    .site-footer .reveal {
        opacity: 1;
        transform: none;
    }
  }
