/* ==========================================================================
   INGESTION ENNOVATION — SHARED STYLES
   Used by: index.html, who-we-are.html, what-we-do.html,
            our-values.html, contact-us.html
   ========================================================================== */

/* --- GENERAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mozilla Text', sans-serif;
    text-transform: uppercase;
}

body {
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 13px 40px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: black;
    z-index: 1001;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c5aa0;
}

.contact-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2c5aa0;
    border: 1px solid #2c5aa0;
    color: white;
    transition: all 0.3s ease;
}

.contact-item .material-icons {
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #2c5aa0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #2196f3;
}

.social-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2c5aa0;
    transition: all 0.3s ease;
}

.social-links a:hover .social-icon-circle {
    background: rgba(33, 150, 243, 0.2);
    transform: scale(1.1);
}

.social-links .fa-brands {
    font-size: 16px;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 95px;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.white-bg {
    background-color: white;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    cursor: pointer;
    position: relative;
    margin-left: 0;
    padding-left: 0;
}
.logo img {
    height: 120px;
    width: auto;
}

.menu-icon {
    width: 25px;
    height: 17px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    margin-right: 0;
    padding-right: 0;
}

.menu-icon span {
    background: white;
    position: absolute;
    height: 3px;
    width: 100%;
    left: 0;
    transition: all 0.3s ease;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 8px; }
.menu-icon span:nth-child(3) { top: 16px; }
.menu-icon.active span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

header.white-bg .menu-icon span {
    background: #333;
}

/* --- MOBILE NAVIGATION BAR --- */
.nav-bar {
    position: fixed;
    top: 95px;
    left: 0;
    width: 100%;
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 5px solid #2c5aa0;
    z-index: 999;
    display: none;
}

.nav-bar.active {
    display: block;
}

.nav-list {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.nav-item {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.nav-item.collapsible {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 30px;
    color: #333;
    text-decoration: none;
    font-family: 'Mozilla Text', sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: left;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.arrow-icon {
    margin-left: 10px;
    margin-right: 45px;
    transition: transform 0.3s ease;
    font-size: 18px;
    color: #333;
}

.nav-item.active .arrow-icon {
    transform: rotate(180deg);
}

.nav-content {
    display: none;
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 100%;
}

.nav-content.active {
    display: block;
}

.nav-content ul {
    list-style: none;
    padding: 10px 0;
    font-size: 0.7rem;
    text-align: left;
}

.nav-content li {
    padding: 8px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.nav-content li:last-child {
    border-bottom: none;
}

.nav-content a {
    color: #333;
    text-decoration: none;
    display: block;
    font-family: 'Mozilla Text', sans-serif;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-align: left;
    width: 100%;
}

.nav-content a:hover {
    color: #2c5aa0;
}

/* --- DESKTOP NAV --- */
.desktop-nav {
    display: none;
    gap: 5px;
    align-items: center;
    position: relative;
    margin-left: 0;
}

.desktop-nav-item {
    position: relative;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Mozilla Text', sans-serif;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: flex;
    align-items: center;
}

header.white-bg .desktop-nav a {
    color: #333;
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #2196f3;
    border-radius: 2px;
}

.desktop-nav-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 200px;
    z-index: 1001;
    border-top: 3px solid cyan;
}

.desktop-nav-content.active {
    display: block;
}

.desktop-nav-content ul {
    list-style: none;
    padding: 10px 0;
}

.desktop-nav-content li {
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-nav-content li:last-child {
    border-bottom: none;
}

.desktop-nav-content a {
    color: white;
    text-decoration: none;
    display: block;
    font-family: 'Mozilla Text', sans-serif;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 8px 15px;
}

.desktop-nav-content a:hover {
    color: cyan;
    background-color: rgba(255, 255, 255, 0.1);
}

.desktop-arrow-icon {
    margin-left: 5px;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.desktop-nav-item.active .desktop-arrow-icon {
    transform: rotate(180deg);
}

@media (min-width: 1024px) {
    .menu-icon { display: none; }
    .desktop-nav { display: flex; }
    .announcement-bar { display: block; }
    header { top: 53px; }
    .nav-bar { top: 148px; }
    .social-links { display: none; }
}

@media (max-width: 1023px) {
    .logo {
        margin-left: 0;
        padding-left: 0;
        transform: translateX(-15px);
    }
    .logo img { height: 100px; }
    header { padding: 0 20px; }
}

/* --- SCROLL DOWN BUTTON --- */
.scroll-down {
    position: fixed;
    bottom: 50px;
    right: 5%;
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    transform: none;
}

.scroll-down.scrolled-to-bottom::after {
    content: '↑';
    font-size: 1.5rem;
    color: #2c5aa0;
}

.scroll-down:not(.scrolled-to-bottom)::after {
    content: '↓';
    font-size: 1.5rem;
    color: #2c5aa0;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(3px);
}

/* --- SHARED SECTION HEADER (used on inner pages) --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 2rem;
    color: #2c5aa0;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-header p {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-transform: none;
}

@media (max-width: 768px) {
    .section-header h2 { font-size: 1.8rem; }
    .section-header p { font-size: 1rem; }
}

/* --- SHARED CTA SECTION (used on inner pages) --- */
.cta-section-minimal {
    width: 100%;
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d75 100%);
}

.cta-section-minimal h2 {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 2rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}

.cta-section-minimal p {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-transform: none;
}

.cta-button-minimal {
    display: inline-block;
    background: white;
    color: #2c5aa0;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Mozilla Text', sans-serif;
}

.cta-button-minimal:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-section-minimal h2 { font-size: 1.8rem; }
    .cta-section-minimal p { font-size: 1rem; }
    .cta-button-minimal { padding: 12px 30px; font-size: 0.9rem; }
}

/* --- FOOTER --- */
.footer {
    width: 100%;
    background: #0f0f0f;
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
}

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

.footer-logo {
    margin-bottom: 25px;
    cursor: pointer;
}

.footer-logo img {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-company-info h3 {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.7rem;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-company-info p {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    text-transform: none;
}

.supplier-button {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: rgba(44, 90, 160, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.supplier-button:hover {
    background-color: rgba(44, 90, 160, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-services h3,
.footer-links h3,
.footer-contact h3 {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.7rem;
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-services h3::after,
.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #2c5aa0;
}

.footer-services ul,
.footer-links ul {
    list-style: none;
}

.footer-services li,
.footer-links li {
    margin-bottom: 12px;
    position: relative;
}

.footer-services a,
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 20px;
}

.footer-services a:hover,
.footer-links a:hover {
    color: white;
}

.footer-services a::before,
.footer-links a::before {
    content: '▸';
    margin-right: 10px;
    color: #2c5aa0;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-services li.active a::before,
.footer-links li.active a::before {
    transform: rotate(90deg);
}

/* Collapsible footer descriptions (index page only) */
.footer-service-desc,
.footer-link-desc {
    display: none;
    padding: 10px 0 10px 20px;
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    text-transform: none;
    border-left: 2px solid #2c5aa0;
    margin-top: 5px;
    margin-bottom: 10px;
}

.footer-services li.active .footer-service-desc,
.footer-links li.active .footer-link-desc {
    display: block;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon-footer {
    width: 40px;
    height: 40px;
    background: rgba(44, 90, 160, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-footer i {
    color: #2c5aa0;
    font-size: 18px;
}

.contact-text-footer h4 {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.7rem;
    color: white;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text-footer p {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.9rem;
    color: white;
    line-height: 1.5;
    text-transform: none;
}

.contact-text-footer p a,
.contact-text-footer p a:link,
.contact-text-footer p a:visited,
.contact-text-footer p a:hover,
.contact-text-footer p a:active {
    color: white !important;
    text-decoration: none;
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .footer-container {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-logo-section { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .footer { padding: 60px 0 30px; }
    .footer-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-logo-section { grid-column: 1; }
    .footer-bottom { margin-top: 40px; padding-top: 20px; }
}

@media (max-width: 480px) {
    .footer { padding: 50px 0 25px; }
    .footer-container { width: 90%; gap: 30px; }
    .footer-logo img { height: 80px; }
}
