:root {
    --bg: #f4f7f8;
    --text: #142028;
    --muted: #4a5d66;
    --primary: #0257af;
    --primary-dark: #084b53;
    --accent: #ff7401;
    --surface: #ffffff;
    --border: #d7e1e5;
    --shadow: 0 14px 38px rgba(20, 32, 40, 0.12);
    --radius: 14px;
    --container: 1180px;
    --light-grey-bg: #f4f6f8;
    --soft-sand: #E8D9C5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #ddeaf0 0, var(--bg) 52%);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; margin: 0 0 .65rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; }


.about h2{
    margin-top: 16px;
}

.aggregates h2{
    margin-top: 16px;
}

.about{
    background: var(--light-grey-bg);
}

.eyebrow {  
    display: inline;
   
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    margin-bottom: 1rem;
 }

 .about .eyebrow {
    background: #E8D9C5;
     padding: 5px 10px;
    border-radius: 15px;
 }

 .features .eyebrow {
    background: #E8D9C5;
     padding: 5px 10px;
    border-radius: 15px;
 }

 .aggregates .eyebrow {
    background: #E8D9C5;
     padding: 5px 10px;
    border-radius: 15px;
 }  

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: .8rem 0;
    transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-solid {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.2rem; height: auto; width: 170px;}
.logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 1.25rem; font-weight: 600; }
.menu-toggle {
    display: none; border: 0; background: transparent; cursor: pointer; padding: .2rem;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s ease; }
.nav-backdrop {
    display: none;
    border: 0;
    background: rgba(8, 21, 28, 0.56);
}

.hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    max-height: 600px;
    display: grid;
    align-items: center;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(255, 116, 1, .82), rgba(255, 116, 1, .45)); }
.hero-sparkle-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: .9;
    mix-blend-mode: screen;
}
.hero-content {
    position: relative;
    color: #f4f8fa;
    z-index: 3;
    width: min(100% - 2rem, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 3.2rem;
}
.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > p,
.hero-content > .hero-actions {
    max-width: 720px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.hero p { font-size: clamp(1rem, 2.4vw, 1.2rem); color: #d8eaee; }
.hero-actions { display: flex; gap: .8rem; margin-top: 1.3rem; flex-wrap: wrap; justify-content: flex-start; }
.hero-slider-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.hero-slider-controls .hero-nav {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.hero-slider-controls .hero-nav.prev { left: 1.15rem; }
.hero-slider-controls .hero-nav.next { right: 1.15rem; }
.hero-slider-controls .hero-dots {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
}
.hero-nav {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(8, 15, 20, .38);
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background .2s ease, border-color .2s ease;
}
.hero-nav:hover {
    background: rgba(8, 15, 20, .6);
    border-color: rgba(255, 255, 255, .72);
}
.hero-dots {
    display: flex;
    align-items: center;
    gap: .45rem;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active {
    width: 28px;
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #13242d;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: .72rem 1.2rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #ff7401; }
.btn-outline { background: transparent; border-color: #d9edf2; color: #f2f8fb; }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.split-grid.reverse > :first-child { order: 1; }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

.about-flip-wrap {
    perspective: 1200px;
}
.about-flip-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .8s ease;
    border-radius: var(--radius);
}
.about-flip-wrap:hover .about-flip-card {
    transform: rotateY(180deg);
}
@media (hover: none) {
    .about-flip-wrap:hover .about-flip-card {
        transform: none;
    }
}
.about-flip-face {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.about-flip-back {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    transform: rotateY(180deg);
}

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; margin-top: 1.2rem; }
.stat-card {
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card h3 { color: var(--primary); font-size: 1.8rem; margin: 0; }

.card-grid { display: grid; gap: 1.1rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }

.info-card, .product-card, .aggregate-card {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.05rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover, .product-card:hover, .aggregate-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #d8edf1;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: .6rem;
}

.feature-list { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.feature-list li { display: grid; grid-template-columns: 38px 1fr; gap: .75rem; align-items: start; }
.product-card img, .aggregate-card img {
    border-radius: 10px;
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover img, .aggregate-card:hover img { transform: scale(1.05); }

.process-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1rem;
    position: relative;
    margin-top: 1.2rem;
}
.process-flow::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 24px;
    border-top: 2px dashed #9dc0c8;
    z-index: 0;
}

.vision-mission{
    background-color: var(--soft-sand);
    
}

.vision-mission .info-card{
    padding: 20px 40px;
}

.features{
    background-color: var(--light-grey-bg);
}

.features h2{
    margin-top: 16px;
}

.products{
    background: var(--soft-sand);
}

.aggregate-card{
    padding: 0;
    overflow: hidden;
}

.aggregate-card img {
    border-radius: 0;
    height: 180px;
    width: 100%;
    object-fit: cover;
}   
.aggregate-card h3{
    margin: 16px 0;
    text-align: center;
}

.process{
    background: var(--soft-sand);
}

.process-flow article {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    z-index: 1;
}
.process-flow span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: .7rem;
}

.contact-grid { align-items: start; }
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}
label { display: grid; gap: .35rem; margin-bottom: .7rem; font-weight: 600; }
input, textarea {
    width: 100%;
    border: 1px solid #b5c8cf;
    border-radius: 10px;
    padding: .7rem .8rem;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, textarea:focus { outline: 2px solid #a6d6de; border-color: #7fb9c4; }
.input-grid { display: grid; gap: .7rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact-details p { margin: .35rem 0; color: var(--muted); }

.flash {
    width: min(100% - 2rem, var(--container));
    margin: .65rem auto;
    border-radius: 10px;
    padding: .8rem .95rem;
    font-weight: 700;
}
.flash-success { background: #def5e8; color: #145a3c; border: 1px solid #95d4b1; }
.flash-error { background: #fde7e7; color: #7d1a1a; border: 1px solid #efb2b2; }

.site-footer { background: #11222b; color: #d2e1e8; padding-top: 3rem; }
.footer-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.site-footer a { display: block; margin-bottom: .4rem; color: #d2e1e8; }
.copyright { text-align: center; border-top: 1px solid #27414c; margin-top: 1.5rem; padding: .85rem 0; font-size: .9rem; }

.scroll-top {
    position: fixed;
    right: 1rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    z-index: 900;
    bottom: 1rem;
    background: var(--primary-dark);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

.social-sticky {
    position: fixed;
    right: 1rem;
    bottom: 4.3rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    z-index: 900;
}
.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .82rem;
    box-shadow: 0 8px 18px rgba(20, 32, 40, .2);
    transition: transform .2s ease, opacity .2s ease;
}
.social-link svg { width: 20px; height: 20px; display: block; }
.social-link:hover { transform: translateY(-2px); opacity: .92; }
.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social-link.linkedin { background: #0a66c2; }
.social-link.whatsapp { background: #20b15a; }

@media (max-width: 767px) {
    .social-sticky { right: .7rem; bottom: 4rem; gap: .45rem; }
    .social-link { width: 40px; height: 40px; font-size: .72rem; }
    .social-link svg { width: 17px; height: 17px; }
}

.loader {
    position: fixed;
    inset: 0;
    background: #0f1f27;
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 2000;
    transition: opacity .35s ease, visibility .35s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader::after {
    content: '';
    width: 46px;
    height: 46px;
    border: 4px solid #ffffff40;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
    .products .container { width: min(100% - 2rem, var(--container)); }
    .product-card h3 { font-size: 24px; }
    .product-card p { font-size: 16px; min-height: 0; }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .card-grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .product-card h3 { font-size: 1.5rem; margin: 1.1rem 1rem .5rem; }
    .product-card p { font-size: 1.03rem; margin: 0 1rem 1rem; }
    .product-btn { margin: auto 1rem 1rem; font-size: 1.02rem; }
    .section { padding: 3.8rem 0; }
    .menu-toggle { display: block; }
    .site-header { z-index: 1200; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(84vw, 340px);
        max-width: calc(100vw - 12px);
        height: 100%;
        background: #fff;
        border-radius: 0;
        padding: 5rem 1.1rem 1.2rem;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem;
        opacity: 1;
        pointer-events: none;
        transform: translateX(105%);
        transition: transform .28s ease;
        z-index: 1202;
    }
    .nav-menu.open { pointer-events: auto; transform: translateX(0); }
    body.menu-open { overflow: hidden; }
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1201;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }
    .nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }
    .split-grid,
    .card-grid.two,
    .card-grid.three,
    .card-grid.four,
    .process-flow,
    .input-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .process-flow::before { display: none; }
    .hero { height: 360px; min-height: 360px; max-height: 360px; }
}


.features-intro { margin-top: .45rem; color: #8c97a6; max-width: 520px; }
.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #E8D9C5;
    display: inline-grid;
    place-items: center;
}
.feature-icon::before {
    content: "\2713";
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}
.feature-list h3 { margin: 0 0 .18rem; font-size: 1.15rem; color: #111827; }
.feature-list p { margin: 0; color: #8c97a6; }


.products-grid { margin-top: 1.35rem; gap: 1.2rem; }
.product-card {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.product-card img {
    border-radius: 0;
    height: 254px;
    object-fit: contain;
}
.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.45rem 1.4rem .55rem;
}
.product-card p {
    color: #8a95a5;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 1.4rem 1.2rem;
    min-height: 110px;
}
.product-btn {
    display: inline-flex;
    align-self: center;
    margin: auto auto 1.35rem;
    text-align: center;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    padding: .78rem .95rem;
    font-size: 1.3rem;
    font-weight: 600;
    background: #fff;
    transition: border-color .2s ease, background .2s ease;
}
.product-btn:hover {
    border-color: #b6c0cc;
    background: var(--accent);
}


/* Product Cards Responsive */
@media (max-width: 1024px) {
    .products .container { width: min(100% - 2rem, var(--container)); }
    .product-card h3 { font-size: 1.55rem; }
    .product-card p { font-size: 1rem; min-height: 0; }
    .product-btn { font-size: 1rem; }
}

@media (max-width: 767px) {
    .product-card h3 { font-size: 1.32rem; margin: 1.1rem 1rem .5rem; }
    .product-card p { font-size: .95rem; margin: 0 1rem .95rem; }
    .product-btn { margin: auto auto 1rem; font-size: .98rem; }
}





/* Products Width Fix */
.products {
    background: var(--soft-sand);
}
.products .container {
    width: min(100% - 3rem, 1460px);
}

@media (max-width: 1024px) {
    .products .container { width: min(100% - 2rem, var(--container)); }
}

/* Products Layout Update: 4 cards per row + default section width */
.products .container {
    width: min(100% - 2rem, var(--container));
}

.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Force Products to 4 Columns */
.products-grid.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .products-grid.card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .products-grid.card-grid.four {
        grid-template-columns: 1fr;
    }
}




















/* Hero Slider Responsive Sizing */
@media (max-width: 1024px) {
    .hero {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }

    .hero-content > .eyebrow,
    .hero-content > h1,
    .hero-content > p,
    .hero-content > .hero-actions {
        max-width: 640px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding-bottom: 2.6rem;
    }

    .hero-content > .eyebrow,
    .hero-content > h1,
    .hero-content > p,
    .hero-content > .hero-actions {
        max-width: 100%;
    }

    .hero-slider-controls .hero-dots {
        bottom: .75rem;
    }

    .hero-slider-controls .hero-nav {
        width: 36px;
        height: 36px;
    }

    .hero-slider-controls .hero-nav.prev {
        left: .7rem;
    }

    .hero-slider-controls .hero-nav.next {
        right: .7rem;
    }
}

.products-more {
       margin-top: 30px;
    display: flex;
    justify-content: center;
}
