/* --- FONT LOADING --- */
@font-face {
    font-family: 'Ancizar';
    src: url('fonts/AncizarSans-Variable.woff2') format('woff2');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Questrial';
    src: url('fonts/Questrial-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



/* --- BASE & COLORS --- */
:root {
    --primary-blue: #2a4494;
    --accent-gold: #f2ce01;
    --warm-bg: #fdfaf5;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --border-light: #eee;
    --primary-white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Questrial', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4, .logo-text h1, .logo-text p, .slogan, nav ul li a, .industry-card span {
    font-family: 'Ancizar', sans-serif;
}

.container, .hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.padding-lr {
    padding: 0 25px;
}

/* --- HEADER & NAV --- */
.top-utility { display: flex; justify-content: flex-end; padding: 10px 13px 0 0; font-size: 12px; color: #888; width: 100%;}
.top-utility a{text-decoration:underline var(--accent-gold); color:var(--primary-blue); text-underline-offset: 2px;}
.header-main { display: flex; justify-content: space-between; align-items: center; padding: 15px 0 25px 0; width: 100%; }
.logo img { margin: 0px 18px; width:188px;}
.slogan { font-weight: 600; color: var(--primary-blue); font-size: 26px; padding-right:25px;}

/* Navigation Layout logic from Example */
.nav-wrapper { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 10px; 
    align-items: flex-end; 
    width: 100%;
}

nav ul { list-style: none; display: flex; gap: 20px; padding: 12px 25px; margin: 0; }
nav a { text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing:0.5px; transition: color 0.3s ease; white-space: nowrap; }

/* Left Menu (Yellow) - Top Right Rounding */
.menu-left { background-color: var(--accent-gold); border-top-right-radius: 25px; }
.menu-left a { color: #000; }
.menu-left a:hover { color: #fff; }

/* Right Menu (Blue) - Top Left Rounding */
.menu-right { background-color: var(--primary-blue); border-top-left-radius: 25px; margin-left: auto; }
.menu-right a { color: #fff; }
.menu-right a:hover { color: #d3d3d3; }


/* --- HERO SECTION WITH ORIGINAL IMAGE & NEW SCRIM --- */
.hero {
    position: relative;
    /* Restored your original image path */
    background: center/cover no-repeat; 
    height: 50vh;
    width: 100%;
    overflow: hidden;
}

.hero button{font-size:14px;}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* The Scrim: Provides legibility without heavy text shadows */
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.2) 30%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-text {
    color: #ffffff;
    max-width: 800px;
    padding-left: 60px;
    line-height: 1;
    /* Clean text without heavy drop-shadow filter */
}

.hero-text h1 {
    font-family: 'Ancizar', sans-serif;
    font-size: 48px;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* Subtle pop for sharpness */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-family: 'Questrial', sans-serif;
    font-size: 20px;
    margin: 0 0 40px 0;
    font-weight: 400;
    opacity: 0.95;
}
/* --- CHALLENGES & INDUSTRY GRID --- */
.challenges-section { background: var(--warm-bg); padding: 30px 25px; border-bottom: 1px solid var(--border-light); }
.challenges-section-home { background: var(--warm-bg); padding: 30px 25px; border-bottom: 1px solid var(--border-light); border-radius: 0 0 6px 6px}
.challenges-flex { display: flex; gap: 60px; align-items: center; }
.challenge-list { list-style: none; padding: 0; margin-top: 20px; margin-bottom: 26px;}
.challenge-item { display: flex; align-items: first baseline; gap: 10px; margin-bottom: 10px; font-weight: 600; color: var(--primary-blue); font-size: 18px;}
.check-icon { background: var(--accent-gold); color: #fff; width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* --- INDUSTRY GRID WITH NAVIGATION FUNCTIONALITY --- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 15px; margin-top: 0px; }
.industry-grid-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 15px; margin-top: 36px; }
.industry-card { position: relative; height: 160px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; }

.industry-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.3s ease; }
.industry-card:hover img { transform: scale(1.1); }
.industry-card span { position: relative; z-index: 2; background: rgba(230, 186, 27, 0.92); width: 100%; padding: 10px; text-align: center; font-weight: 700; color: var(--primary-white); font-size: 13px; text-transform:uppercase; }

/* --- INDUSTRY GRID CARDS *WITHOUT* NAVIGATION FUNCTIONALITY --- */
.industry-card-nn { position: relative; height: 220px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; }
.industry-card-nn img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.industry-card-nn span { position: relative; z-index: 2; background-color:#faedc9; width: 100%; padding: 7px 20px 12px 20px; text-align: left; font-weight: 700; color: var(--text-dark); font-size: 13px; line-height: 150%;}
.industry-card-nn h3{margin:0px; padding:0px;}
.industry-card-nn p{margin:0px; padding:0px; font-weight: 100; line-height: 120%;}

/*---  APPLICATIONS  ---*/
.applications{position:relative; margin-top:20px;}
.applications h2{color:var(--primary-blue);}
.applications_bg{
    position: relative;
        border-radius:20px;
        padding:6px 25px 90px 25px; /* extra bottom space for overlap */
        overflow:hidden;
    }
.applications_overlay{
    position:absolute;
            inset:0;
            background: linear-gradient( to left,  rgba(255, 255, 255, 0) 0%,  rgba(255, 255, 255, 0.1) 40%, rgba(253, 250, 245, 0.85) 70%);
            backdrop-filter: blur(3px);
        }

/* --- FLAVOURS --- */

/* --- ROCK-SOLID PANEL DESIGN --- */
.flavor-panel-section {
    position: relative;
    margin-top: 20px;
    border-radius: 15px 15px 0px 0px;
    background:  center/cover no-repeat;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
}

/* The Fade Overlay */
.flavor-panel-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.1) 40%, 
        rgba(253, 250, 245, 0.95) 100%
    );
    z-index: 1;
}
.panel-title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 25px 30px 0 30px;
    color: var(--primary-blue);
    font-size: 26px;
    /* The Fix: A soft, wide white glow */
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 5px rgba(255, 255, 255, 0.5);
}

.panel-container {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    margin: 0px 25px 25px 25px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.flavor-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 30px;
    width: 100%;
}

.flavor-col {
    min-width: 0; /* Prevents text overflow from breaking the 1fr width */
}

.flavor-col h3 {
    font-size: 17px;
    padding-left:0px 0px 0px 2px;
    margin:0px;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
}

.flavor-col p {
    padding:0px 0px 0px 2px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0px;
}
.flavor-col img {
    position: inline; width: 100%; height: 160px; object-fit: cover; z-index: 1;
}


@media (max-width: 768px) {
    .flavor-column-grid {
        grid-template-columns: 1fr; /* Stacks on mobile */
    }
    .flavor-panel-section {
        min-height: auto;
    }
}

/* background: var(--warm-bg); padding:40px 25px; border-radius:20px; margin-top:20px;*/



/* --- Z-PATTERN SECTIONS --- */
.feature-section { padding: 26px 25px; width: 100%; box-sizing: border-box; } 
.feature-section:nth-child(even) { background-color: var(--warm-bg); border-radius: 0; }
.feature-row { display: flex; align-items: center; gap: 80px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-img-block { flex: 1.2; }
.feature-img-block img { width: 100%; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); display: block; }
.feature-text h4 { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.feature-text h2 { font-size: 30px; color: var(--primary-blue); margin-bottom: 20px; line-height: 1.3; }
.feature-section h2 {color:var(--primary-blue); font-size:30px; margin-bottom:15px; margin-top:0px;}
.feature-section button {font-size:18px;}

/* --- FEATURE TEXT COL --- */
.feature-text-2col{
    column-count: 2;
    column-gap: 60px;
    /*
    display:flex;
    flex-direction: column;
    */
}
.feature-text-2col h1 { font-size: 32px; color: var(--primary-blue); margin-bottom: 20px; margin-top:0px; line-height: 1.3;}
.feature-text-2col h2 { font-size: 30px; color: var(--primary-blue); margin-bottom: 0px; line-height: 1.3; }
.feature-text-2col p {margin-top:0px; break-inside: avoid-column; }


/* --- SUBPAGE FEATURE SECTION --- */
.sub-feature-section { width: 100%; box-sizing: border-box;background: var(--warm-bg); padding:40px 25px; border-radius:20px; } 
.sub-feature-section h2 {color:var(--primary-blue); margin:0px; padding:0px;}
.sub-feature-row { display: flex; align-items: center; gap: 80px; }
.sub-feature-row.reverse { flex-direction: row-reverse; }
.sub-feature-text { flex: 1; }
.sub-feature-img-block { flex: 1.2; }
.sub-feature-img-block img { width: 100%; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); display: block; }
.sub-feature-text h4 { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.sub-feature-text h2 { font-size: 36px; color: var(--primary-blue); margin-bottom: 20px; line-height: 1.3; }

/* ---- Why choose us---- */
.why-choo {background-color: var(--warm-bg); border-radius: 0px 0px 20px 20px; padding: 20px 25px; margin-top:0px;}
.why-choo h2 {color:var(--primary-blue); margin: 0px 0px 0px 5px;}
.whychoo .challenge-list {padding:0px;}
.why-choo .challenge-item {margin:0px; font-weight:700;}
.why-choo button {font-size:18px; margin-top:10px;}

/* WHY CHOOSE GRID */
.why-choose-grid {
    margin-top: 5px;
    padding-left: 8px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px 50px;
    max-width: 100%;
}


/* ----    ---- */
.bottom-img-slog{margin-top:30px; width="100%";}
.bottom-img-slog img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    display:block;
}
.bottom-img-slog p{
    text-align:center;
    margin-top:12px;
    font-size:18px;
    color:var(--text-muted);
}
        
       

/* --- BUTTONS --- */
.butt-req-samples{ padding:12px 20px; background:#5a4634; color:#fff; border:none; border-radius:8px;}
.butt-req-samples:hover{background-color: var(--primary-blue); cursor: pointer;}
.butt-get-quote{ padding:12px 20px; background:#eee; border:none; border-radius:8px;}
.butt-get-quote:hover{background-color: #f8f1b7; cursor:pointer;}


/* --- WHY PARTNER --- */
.why-partner { background: #fff; padding: 20px 25px; margin-top: 0; border-radius: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.partner-item { display: flex; gap: 15px; align-items: flex-start; }
.partner-icon { background: var(--warm-bg); padding: 5px 15px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); font-size: 26px; min-width: 20px; text-align: center; }
.partner-content h4 { margin: 0 0 5px 0; color: var(--primary-blue); }
.partner-content p { margin: 0; font-size: 14px; color: #666; }

/* --- FOOTER --- */
footer { width: 100%; margin-top: 18px; padding-bottom: 30px; }
footer a:link{text-decoration-line:none; color:var(--text-muted); }
footer a:hover{color:var(--primary-blue); text-decoration: underline var(--accent-gold);}
.footer-top-bar {
    height: 6px;
    width: 100%;
    background: linear-gradient(to right, 
        var(--accent-gold) 0%, var(--accent-gold) 64%, 
        #fff 64%, #fff 66%, 
        var(--primary-blue) 66%, var(--primary-blue) 100%
    );
}
.footer-inner {
    background-color: var(--warm-bg); 
    padding: 20px 25px; 
    border-bottom: 1px solid #eee; 
    display: flex;
    justify-content: center;
}
.footer-inner .footer-container { width: 100%; max-width: 1200px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { margin-top: 0; color: var(--primary-blue); font-size: 14px; text-transform: uppercase; margin-bottom: 3px; }
.footer-col p, .footer-col ul { font-size: 13px; color: #666; line-height: 1.5; margin: 0; padding: 0; list-style: none; }
.footer-bottom { 
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px 2px; 
    text-align: left; font-size: 13px; color: #bbb; background-color: #fff; box-sizing: border-box;
}
 .footer_icon {
     padding-right: 10px;
     vertical-align: middle;
     width: 16px;
     height: 16px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(66%) saturate(1430%) hue-rotate(208deg) brightness(95%) contrast(95%);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    nav ul { flex-direction: column; gap: 10px; }
    .menu-right { width: 48%; border-top-left-radius: 15px; margin-left: 0; }
    .menu-left { width: 48%; border-top-right-radius: 15px; margin-left: 0; }
    
}
@media (max-width: 768px) {
    .challenges-flex { flex-direction: column; gap: 30px; }
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; }
    .feature-img-block { width: 100%; flex: none; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 32px; }

    .feature-text-2col {
        column-count: 1;
    }
}

@media (max-width: 868px) {
    .sub-feature-row {
        flex-direction: column;
        gap: 30px;
    }

    .sub-feature-img-block {
        width: 100%;
    }
}

@media (max-width: 530px) {

    .header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .slogan {
        padding-right: 0;
        margin-left: 18px; /* aligns with logo */
        text-align: left;
    }

}
/* TABLET */
@media (max-width: 900px) {

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MOBILE */
@media (max-width: 600px) {

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

}