﻿html { scroll-behavior: smooth; }
/* SFG Strategic Foods CSS */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
    --sfg-gold: #936d29;
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Base resets for SFG specific sections */
.sfg-hero {
    position: relative;
    width: 100%;
    min-height: 1263px;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    color: #fff;
    overflow: hidden;
}

.sfg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

/* Dark overlay to make text readable */
.sfg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Internal Nav */
.sfg-internal-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 20px 5vw;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
}
.sfg-nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sfg-nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.sfg-nav-links a.active {
    border: 1px solid var(--sfg-gold);
    color: #fff;
    background: transparent;
}
.sfg-nav-links a:hover:not(.active) {
    color: var(--sfg-gold);
}

.sfg-nav-brand {
    display: block;
    width: 180px;
    position: relative;
}
.sfg-nav-brand img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}
.sfg-logo-white {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    opacity: 1;
}
.sfg-logo-color {
    opacity: 0;
}


.sfg-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    z-index: 1002;
}
.sfg-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.sfg-internal-nav.scrolled .sfg-menu-toggle span {
    background: #141E28;
}

/* What we do Section */
.sfg-what-we-do {
    padding: 140px 5vw;
    background: #fff;
    color: #141E28;
}

.sfg-container {
    max-width: 1400px;
    margin: 0 auto;
}

.sfg-what-we-do h2 {
    font-family: var(--font-heading);
    font-size: clamp(50px, 8vw, 100px);
    color: #3b823e; /* Extracted green from screenshot */
    margin: 0 0 100px 0;
    font-weight: 400;
}

.sfg-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.sfg-process-step {
    display: flex;
    flex-direction: column;
}

.sfg-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.sfg-step-head h3 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 26px);
    color: #4A3C31; /* Brown text for steps */
    margin: 0;
    font-weight: 400;
}

@keyframes arrowFlowDesktop {
    0% { opacity: 0; transform: translateX(-15px); }
    20% { opacity: 1; transform: translateX(0); }
    60% { opacity: 1; transform: translateX(0); }
    80% { opacity: 0; transform: translateX(15px); }
    100% { opacity: 0; transform: translateX(15px); }
}

/* Hide the last arrow on both Desktop and Mobile */
.sfg-process-step:last-child .sfg-arrow {
    display: none !important;
}
@keyframes arrowFlowMobile {
    0% { opacity: 0; transform: translateY(-15px); }
    20% { opacity: 1; transform: translateY(0); }
    60% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0; transform: translateY(15px); }
  }

.sfg-process-step:nth-child(1) .sfg-arrow { animation-delay: 0s; }
.sfg-process-step:nth-child(2) .sfg-arrow { animation-delay: 0.3s; }
.sfg-process-step:nth-child(3) .sfg-arrow { animation-delay: 0.6s; }
.sfg-process-step:nth-child(4) .sfg-arrow { animation-delay: 0.9s; }
.sfg-process-step:nth-child(5) .sfg-arrow { animation-delay: 1.2s; }
.sfg-process-step:nth-child(6) .sfg-arrow { animation-delay: 1.5s; }

.sfg-arrow {
    color: #5DB55D;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: arrowFlowDesktop 3s infinite ease-in-out;
}

.sfg-process-step p {
    font-size: 14px;
    line-height: 1.6;
    color: #141E28;
    margin: 0;
    padding-right: 15px; /* keep it from running under the arrow */
}

@media (max-width: 1300px) {
    .sfg-menu-toggle {
        display: block;
    }
    .sfg-nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100svh;
        background: #141E28;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
    }
    .sfg-internal-nav.menu-open .sfg-nav-links {
        opacity: 1;
        visibility: visible;
    }
    .sfg-nav-links a {
        font-size: 20px;
        color: #fff !important;
        border: none !important;
        padding: 10px;
    }
    
    /* Cross animation for hamburger */
    .sfg-internal-nav.menu-open .sfg-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: #fff !important;
    }
    .sfg-internal-nav.menu-open .sfg-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .sfg-internal-nav.menu-open .sfg-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: #fff !important;
    }
}

/* Scrolled State for SFG Nav */
.sfg-internal-nav.scrolled {
    background: #fff;
    border-bottom: 1px solid #DCD6C4;
    padding: 20px 5vw;
}
.sfg-internal-nav.scrolled .sfg-nav-links a {
    color: #141E28; /* Black text */
}
.sfg-internal-nav.scrolled .sfg-nav-links a.active {
    color: #141E28;
    border-color: var(--sfg-gold);
}
.sfg-internal-nav.scrolled .sfg-nav-brand .sfg-logo-white {
    opacity: 0;
}
.sfg-internal-nav.scrolled .sfg-nav-brand .sfg-logo-color {
    opacity: 1;
}

/* Hero Content */
.sfg-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 5vw 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.sfg-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 400;
    color: var(--sfg-gold);
    line-height: 1.055;
    margin: 40px 0 0 0;
    max-width: 1200px;
    text-align: left;
    clip-path: inset(0 100% 0 0);
    animation: typeReveal 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.sfg-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: 40px;
}

.sfg-hero-logo img {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
}

.sfg-hero-text {
    text-align: right;
    max-width: 550px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    font-weight: 400;
}
.sfg-hero-text p {
    margin: 0 0 20px 0;
}
.sfg-hero-text p:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes typeReveal {
    from { clip-path: inset(0 100% 0 0); opacity: 0; }
    1% { opacity: 1; }
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}

.sfg-hero-logo {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

.sfg-hero-text {
    text-align: right;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 1.2s;
}

/* Responsiveness */
/* What we do Section */
.sfg-what-we-do {
    padding: 140px 5vw;
    background: #fff;
    color: #141E28;
}

.sfg-container {
    max-width: 1400px;
    margin: 0 auto;
}

.sfg-what-we-do h2 {
    font-family: var(--font-heading);
    font-size: clamp(50px, 8vw, 100px);
    color: #3b823e; /* Extracted green from screenshot */
    margin: 0 0 100px 0;
    font-weight: 400;
}

.sfg-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.sfg-process-step {
    display: flex;
    flex-direction: column;
}

.sfg-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.sfg-step-head h3 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 26px);
    color: #4A3C31; /* Brown text for steps */
    margin: 0;
    font-weight: 400;
}

@keyframes arrowFlowDesktop {
    0% { opacity: 0; transform: translateX(-15px); }
    20% { opacity: 1; transform: translateX(0); }
    60% { opacity: 1; transform: translateX(0); }
    80% { opacity: 0; transform: translateX(15px); }
    100% { opacity: 0; transform: translateX(15px); }
}

/* Hide the last arrow on both Desktop and Mobile */
.sfg-process-step:last-child .sfg-arrow {
    display: none !important;
}
@keyframes arrowFlowMobile {
    0% { opacity: 0; transform: translateY(-15px); }
    20% { opacity: 1; transform: translateY(0); }
    60% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0; transform: translateY(15px); }
  }

.sfg-process-step:nth-child(1) .sfg-arrow { animation-delay: 0s; }
.sfg-process-step:nth-child(2) .sfg-arrow { animation-delay: 0.3s; }
.sfg-process-step:nth-child(3) .sfg-arrow { animation-delay: 0.6s; }
.sfg-process-step:nth-child(4) .sfg-arrow { animation-delay: 0.9s; }
.sfg-process-step:nth-child(5) .sfg-arrow { animation-delay: 1.2s; }
.sfg-process-step:nth-child(6) .sfg-arrow { animation-delay: 1.5s; }

.sfg-arrow {
    color: #5DB55D;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: arrowFlowDesktop 3s infinite ease-in-out;
}

.sfg-process-step p {
    font-size: 14px;
    line-height: 1.6;
    color: #141E28;
    margin: 0;
    padding-right: 15px; /* keep it from running under the arrow */
}

@media (max-width: 1300px) {
    .sfg-hero {
        min-height: 100svh;
        padding-bottom: 40px;
    }
    .sfg-hero-bg {
        background-attachment: scroll;
    }
    
    
}

@media (max-width: 760px) {
    .sfg-platform {
        background-attachment: scroll;
        min-height: 100svh;
        padding: 80px 5vw 40px;
    }
    .sfg-platform-box {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
    }
    .sfg-platform-divider {
        width: 100%;
        height: 2px;
        flex: 0 0 2px;
    }
    .sfg-platform-left h2 {
        font-size: clamp(40px, 8vw, 60px);
    }
    .sfg-what-we-do {
        padding: 80px 5vw 40px;
    }
    .sfg-process-grid {
        grid-template-columns: 1fr;
        row-gap: 80px !important;
    }
        .sfg-step-head {
        display: contents;
    }
    .sfg-step-head h3 {
        order: 1;
        margin-bottom: 15px;
        text-align: center;
    }
    .sfg-process-step p {
        order: 2;
        padding-right: 0;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    @keyframes arrowFlowDesktop {
    0% { opacity: 0; transform: translateX(-15px); }
    20% { opacity: 1; transform: translateX(0); }
    60% { opacity: 1; transform: translateX(0); }
    80% { opacity: 0; transform: translateX(15px); }
    100% { opacity: 0; transform: translateX(15px); }
}

/* Hide the last arrow on both Desktop and Mobile */
.sfg-process-step:last-child .sfg-arrow {
    display: none !important;
}
@keyframes arrowFlowMobile {
    0% { opacity: 0; transform: translateY(-15px); }
    20% { opacity: 1; transform: translateY(0); }
    60% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0; transform: translateY(15px); }
  }

.sfg-process-step:nth-child(1) .sfg-arrow { animation-delay: 0s; }
.sfg-process-step:nth-child(2) .sfg-arrow { animation-delay: 0.3s; }
.sfg-process-step:nth-child(3) .sfg-arrow { animation-delay: 0.6s; }
.sfg-process-step:nth-child(4) .sfg-arrow { animation-delay: 0.9s; }
.sfg-process-step:nth-child(5) .sfg-arrow { animation-delay: 1.2s; }
.sfg-process-step:nth-child(6) .sfg-arrow { animation-delay: 1.5s; }

.sfg-arrow {
    color: #5DB55D;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: arrowFlowDesktop 3s infinite ease-in-out;
}
    
    
    
    .sfg-internal-nav a {
        font-size: 12px;
        padding: 6px 10px;
        white-space: nowrap;
    }
    .sfg-hero-content {
        padding: 140px 5vw 40px; /* More padding because the nav might wrap */
    }
    .sfg-hero-title {
        font-size: clamp(38px, 8vw, 60px);
    }
    .sfg-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .sfg-hero-logo img {
        max-width: 150px;
        margin-bottom: 10px;
    }
}















/* Industrial Platform Section */
.sfg-platform {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background-image: url('./resources/sfg-platform-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 100px 5vw 100px;
    box-sizing: border-box;
}

.sfg-platform-box {
    background: rgba(39, 86, 54, 0.85); /* #275636 at 85% opacity */
    border-radius: 12px;
    padding: 70px 80px;
    display: flex;
    align-items: stretch;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.sfg-platform-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.sfg-platform-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 85px);
    color: #fff;
    margin: 0;
    line-height: 1.1;
    font-weight: 400;
}

.sfg-platform-divider {
    width: 2px;
    background: #cbe562; /* Golden/Green line */
    flex: 0 0 2px;
}

.sfg-platform-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sfg-platform-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.05em;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

.sfg-platform-text {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.7;
    color: #fff;
    margin: 0;
}

@media (max-width: 900px) {
    .sfg-platform {
        background-attachment: scroll;
        min-height: 100svh;
        padding: 80px 5vw 40px;
    }
    .sfg-platform-box {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
    }
    .sfg-platform-divider {
        width: 100%;
        height: 2px;
        flex: 0 0 2px;
    }
    .sfg-platform-left h2 {
        font-size: clamp(40px, 8vw, 60px);
    }
}




/* Quality & Qualification Section */
.sfg-quality {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background-color: #fff;
    background-image: url('./resources/map-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5vw;
    box-sizing: border-box;
}

.sfg-quality .sfg-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.sfg-quality-label {
    font-family: var(--font-body);
    font-size: 16px;
    color: #141E28;
    margin: 0 0 20px 0;

    font-size: 28px !important;
}

.sfg-quality h2 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 95px);
    color: #3b823e; /* Standard green */
    line-height: 1.05;
    margin: 0 0 50px 0;
    font-weight: 400;
}

.sfg-quality-subheading {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 20px);
    color: #141E28;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 900px;
    line-height: 1.5;

    font-size: 30px !important;
}

.sfg-quality-grid {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.sfg-quality-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sfg-quality-col p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #141E28;
    margin: 0 0 20px 0;

    font-size: 24px !important;
}

.sfg-quality-divider {
    width: 2px;
    background: #5DB55D; /* Bright green line */
    flex: 0 0 2px;
}

.sfg-quality-logos {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    display: block;
}

@media (max-width: 900px) {
    .sfg-quality-grid {
        flex-direction: column;
        gap: 30px;
    }
    .sfg-quality-divider {
        width: 100%;
        height: 2px;
        flex: 0 0 2px;
    }
    .sfg-quality {
        padding: 80px 5vw;
        min-height: auto; /* Allow it to shrink if needed on mobile */
    }
}

@media (max-width: 760px) {
    .sfg-arrow {
        order: 3;
        margin: 0 auto 30px auto;
        transform: rotate(90deg); /* Explicitly rotate just in case */
        animation: arrowFlowMobile 3s infinite ease-in-out;
    }
}



/* Global Scroll Animations */
.sfg-animate-title {
    opacity: 0;
}
.sfg-animate-title.in-view {
    opacity: 1;
    animation: typeReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.sfg-animate-fade {
    opacity: 0;
}
.sfg-animate-fade.in-view {
    animation: fadeInUp 1.2s ease forwards;
}

/* Products & Capabilities Section */
.sfg-products {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./resources/platano-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.sfg-products-content {
    padding: 70px 5vw 40px;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
}

.sfg-products h2 {
    font-family: var(--font-heading);
    font-size: clamp(50px, 8vw, 100px);
    color: #5DB55D;
    margin: 0 0 10px 0;
    font-weight: 400;
    text-align: center;
}

.sfg-products-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 18px);
    color: #fff;
    margin: 0 0 60px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.sfg-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.sfg-product-col h3 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 32px);
    color: #fff;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.sfg-product-col p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Infinite Scroll Marquee */




.sfg-food-track img {
    height: 100%;
    width: 20vw;
    flex: 0 0 20vw; /* Force exactly 20vw */
    object-fit: cover;
    display: block;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .sfg-products-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }
}
@media (max-width: 760px) {
    .sfg-products {
        background-attachment: scroll;
        height: auto;
    }
    .sfg-products-grid {
        grid-template-columns: 1fr;
        row-gap: 80px !important;
    }
    .sfg-products-content {
        padding: 70px 5vw 40px;
    }
    
}





/* Core Section */
.sfg-core {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./resources/core-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5vw;
    box-sizing: border-box;
}

.sfg-core-content {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    gap: 60px;
}

.sfg-core-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sfg-core-logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: brightness(0) invert(1);
}

.sfg-core-divider {
    width: 2px;
    background: #fff;
    flex: 0 0 2px;
    height: 300px;
}

.sfg-core-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -30px;
}

.sfg-core-right h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px); /* Max 52px as requested */
    color: #fff;
    line-height: 1.1;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.sfg-core-text {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: #fff;
    margin: 0 0 40px 0;
}

.sfg-core-bold {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Footer */
.sfg-footer {
    background: #141E28 !important;
    padding: 80px 5vw 40px 5vw !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
}
.sfg-footer img {
    height: 50px !important;
    width: auto !important;
}
.sfg-footer p {
    margin: 0 !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.8) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-align: center !important;
}
.sfg-footer .copyright {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 10px !important;
}

@media (max-width: 900px) {
    .sfg-core-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .sfg-core-left {
        justify-content: center;
    }
    .sfg-core-divider {
        width: 100px;
        height: 2px;
        flex: 0 0 2px;
    }
}











@media (max-width: 760px) {
    .sfg-what-we-do h2 {
        text-align: center;
        margin-bottom: 50px;
    }
    .sfg-process-grid {
        grid-template-columns: 1fr;
        row-gap: 80px !important;
    }
    .sfg-process-step {
        background: #F4F2E8;
        padding: 25px;
        border-radius: 12px;
        border: 1px solid #DCD6C4;
        position: relative;
    }
    .sfg-step-head {
        display: contents;
    }
    .sfg-step-head h3 {
        order: 1;
        margin-bottom: 15px;
        text-align: center;
    }
    .sfg-process-step p {
        order: 2;
        padding-right: 0;
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    .sfg-step-head svg {
        order: 3;
        position: absolute;
        bottom: -45px;
        left: 50%;
        margin-left: -15px;
        width: 30px;
        height: auto;
        transform: rotate(90deg);
    }
}




@media (max-width: 760px) {
    .sfg-food-track img {
        width: 40vw;
        flex: 0 0 40vw;
    }
}



@media (max-width: 760px) {
    /* 1. Arrows pointing down and outside */
    .sfg-step-head {
        display: contents !important;
    }
    
    
    /* 3. Hero logo to the right on mobile */
    .sfg-hero-bottom {
        flex-direction: column !important;
        align-items: flex-end !important;
    }
    .sfg-hero-text {
        text-align: right !important;
    }
    
    /* 4. About logo size */
    .sfg-core-logo {
        max-width: 180px !important;
    }
    
    /* 5. Footer description width */
    .sfg-footer p {
        max-width: 60% !important;
        margin: 0 auto !important;
    }
    
    /* 6. All titles same size (50px) */
    .sfg-hero-title, 
    .sfg-what-we-do h2,
    .sfg-platform-left h2,
    .sfg-products h2,
    .sfg-core-right h2,
    .sfg-quality h2 {
        font-size: 50px !important;
        line-height: 1.05 !important;
    }
}



@media (max-width: 760px) {
    /* Correct arrow positioning and animation */
    
    .sfg-arrow.animate {
        animation: arrowFlowMobile 2s infinite !important;
    }
    

    /* Centered 120vh Hero */
    .sfg-hero {
        min-height: 120svh !important;
    }
    .sfg-hero-content {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 50px !important;
    }
    .sfg-hero-title {
        text-align: center !important;
        margin: 0 !important;
    }
    .sfg-hero-bottom {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .sfg-hero-text {
        text-align: center !important;
        margin-top: 20px !important;
    }
}



@media (max-width: 760px) {
    .sfg-arrow {
        position: absolute !important;
        bottom: -35px !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 10 !important;
    }
    .sfg-arrow svg {
        transform: rotate(90deg) !important;
        width: 30px !important;
        height: 30px !important;
    }
}








/* === NEW UPDATES === */

/* Facilities Gallery */
.sfg-facilities-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 80px;
}
.sfg-facility-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.sfg-facility-img:hover {
    transform: scale(1.03) translateY(-5px);
    filter: brightness(1.1);
}

/* Lightbox */
.sfg-lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
}
.sfg-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}
.sfg-lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: scaleIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.sfg-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}
.sfg-lightbox-close:hover {
    color: var(--sfg-gold);
}

/* Footer Fixes */
.sfg-footer-logo {
    width: 250px !important;
    margin-bottom: 45px !important;
}
.sfg-footer .sfg-footer-desc {
    max-width: 250px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    opacity: 0.8 !important;
    text-align: left !important;
}
.sfg-footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 40px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}
.sfg-footer-col h4 {
    color: var(--sfg-gold) !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
    font-family: var(--font-heading) !important;
}
.sfg-footer-col a {
    display: block !important;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s, color 0.3s !important;
    font-size: 15px !important;
}
.sfg-footer-col a:hover {
    opacity: 1 !important;
    color: var(--sfg-gold) !important;
}
.sfg-footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding-top: 20px !important;
}
.sfg-legal-links {
    display: flex;
    gap: 30px;
}
.sfg-legal-links a {
    color: #fff !important;
    opacity: 0.7 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    margin: 0 !important;
}
.sfg-legal-links a:hover {
    color: var(--sfg-gold) !important;
}
.sfg-footer-made {
    margin: 0 !important;
    font-size: 15px !important;
    opacity: 0.9 !important;
    width: auto !important;
}

.desktop-only { display: block !important; }
.mobile-only { display: none !important; }

/* Mobile Overrides for new stuff */
@media (max-width: 760px) {
    .sfg-facilities-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        margin-top: 40px !important;
    }
    .sfg-facility-img {
        height: 200px !important;
    }
    .sfg-lightbox-close {
        top: 20px !important;
        right: 25px !important;
        font-size: 40px !important;
    }
    
    .sfg-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
        justify-items: center !important;
    }
    .sfg-footer .sfg-footer-desc {
        max-width: 100% !important;
        text-align: center !important;
    }
    .sfg-footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        justify-content: center !important;
    }
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}








/* NEW FOOTER BOTTOM FIXES */
.sfg-footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 20px !important;
}
.sfg-footer-copyright {
    flex: 1 !important;
    text-align: left !important;
    font-size: 14px !important;
    opacity: 0.8 !important;
}
.sfg-footer-made-center {
    flex: 1 !important;
    text-align: center !important;
    font-size: 15px !important;
    opacity: 0.9 !important;
}
.sfg-footer-made-center a {
    color: var(--sfg-gold) !important;
    text-decoration: none !important;
    font-weight: bold !important;
}
.sfg-legal-links {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 30px !important;
}

/* Ensure desc is left aligned strictly on desktop */
.sfg-footer .sfg-footer-desc {
    text-align: left !important;
    margin-left: 0 !important;
}

@media (max-width: 760px) {
    .sfg-footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .sfg-footer-copyright, .sfg-footer-made-center {
        text-align: center !important;
    }
    .sfg-legal-links {
        justify-content: center !important;
    }
    .sfg-footer .sfg-footer-desc {
        text-align: center !important;
        margin: 0 auto !important;
    }
}





/* Force the footer container to be wider so it has less lateral empty space on large screens */
.sfg-footer .sfg-container {
    max-width: 100% !important; padding: 0 !important; width: 100% !important;
}
.sfg-footer-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
}


@media (max-width: 760px) {
    .sfg-footer-grid {
        flex-direction: column !important;
        align-items: center !important;
    }
}



.sfg-footer-logo-link { display: inline-block !important; margin-bottom: 0 !important; opacity: 1 !important; } .sfg-footer-logo-link:hover { opacity: 0.8 !important; }


@media (max-width: 760px) {
    .sfg-footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .sfg-footer-logo {
        margin: 0 auto 20px auto !important;
    }
    .sfg-legal-links {
        order: 1 !important;
        justify-content: center !important;
    }
    .sfg-footer-copyright {
        order: 2 !important;
    }
    .sfg-footer-made-center {
        order: 3 !important;
        margin-top: 10px !important;
    }
}


.sfg-footer-made-center {
    white-space: nowrap !important;
}
.sfg-footer-made-center p {
    white-space: nowrap !important;
    margin: 0 !important;
}



/* Swiper Integration */
.sfg-food-swiper {
    width: 100%;
    height: 30vh;
    min-height: 250px;
    background: #000;
    margin-top: auto;
}
.sfg-food-swiper .swiper-wrapper {
    transition-timing-function: linear !important; /* Continuous linear scroll */
    align-items: stretch;
}
.sfg-food-swiper .swiper-slide {
    width: auto !important;
    height: 100%;
    display: flex;
}
.sfg-food-swiper .swiper-slide img {
    height: 100%;
    width: auto;
    object-fit: cover;
}
@media (max-width: 760px) {
    .sfg-food-swiper {
        height: 200px;
        min-height: 200px;
    }
}

