﻿:root {
    --green: #8abf46;
    --light-gray: #f7f7f7;
    --sidebar-bg: #ffffff;
    --related-links-color: #8abf46;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

.value-added-image img {
    max-width: 100%;
    margin-bottom: 20px;
}


.datasheet-btn a {
    color: white
}


/*body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--light-gray);
    color: #222;
}
*/
.container-main {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    grid-template-rows: auto;
    gap: 20px;
    padding: 20px;
    max-width: 2400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar */
.sidebar-left {
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--green);
}

    .sidebar-left h3 {
        margin-top: 0;
        font-weight: 700;
        font-size: 16px;
        color: var(--green);
        margin-bottom: 15px;
    }

    .sidebar-left ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
        color: #444;
        font-weight: 400;
        font-size: 13px;
    }

        .sidebar-left ul li {
            margin-bottom: 8px;
        }

            .sidebar-left ul li a {
                color: #888888;
                text-decoration: none;
                font-weight: 400;
            }

                .sidebar-left ul li a:hover {
                    text-decoration: underline;
                }

            .sidebar-left ul li:first-child a {
                font-weight: 700;
                color: #000;
            }

/* Main content */
.content-main {
    background: #fff;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position:relative ;
}

.breadcrumb {
    font-size: 12px;
    color: #757575;
    margin-bottom: 20px;
    user-select: none;
    background-color: transparent !important
}

    .breadcrumb span.current-page {
        font-weight: 600;
        color: #000;
    }

.intro h1 {
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 15px;
    text-align: left;
}

.intro p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    /* max-width: 650px;*/
    /*    margin: 0 auto 25px;*/

    margin: 0 auto 25px;
    text-align: left;
    color: #222;
    max-width: fit-content !important;
}

.intro button {
    display: block;
    margin: 0 auto;
    background-color: var(--green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .intro button:hover {
        background-color: #7cb038;
    }

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 180px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
    transition: background-color 0.3s ease;
}

    .feature-item.green {
        background-color: var(--green);
        color: white;
    }

    .feature-item svg,
    .feature-item img {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
        fill: currentColor;
    }

    .feature-item h4 {
        margin: 0 0 10px;
        font-weight: 600;
        font-size: 16px;
    }

    .feature-item p {
        font-size: 13px;
        line-height: 1.4;
        color: inherit;
        margin: 0;
    }

/* Related links */
.related-links {
    padding: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

    .related-links h3 {
        font-weight: 700;
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .related-links ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
        color: #444;
        font-weight: 400;
        font-size: 13px;
    }

        .related-links ul li {
            margin-bottom: 8px;
        }

            .related-links ul li a {
                color: #000;
                text-decoration: none;
                font-weight: 400;
                font-size: 14px;
            }

                .related-links ul li a:hover {
                    text-decoration: underline;
                }


                /**Section 2*/

.geology-suite {
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #f8f8f8 70%, white 30%);
}



    .geology-suite h2 {
        font-size: 25px;
        margin-bottom: 6rem;
        font-weight:400
    }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    padding: 64px 21px 21px 21px;
    color: #fff;
    text-align: left;
}

    .card .icon {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .card.green {
        background-color: #8dc63f;
    }

        .card.green h3 {
            font-size: 20px;
            padding-bottom: 2rem !important;
            font-weight: 400;
            min-height: 6rem;
        }

        .card.green p {
            font-size: 14px;
            padding: 0px !important;
        }

    .card.light {
        background-color: #f4f4f4;
        color: #000;
    }

        .card.light h3 {
            font-size: 20px;
            padding-bottom: 2rem !important;
            font-weight: 400;
            min-height: 6rem;
        }

    .card.light p {
        font-size: 14px;
        padding: 0px !important;
    }




    /**Section 3*/
.geology-tabs-section {
    padding: 50px;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 500;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    box-shadow: none !important;
    border-radius: 0px !important
}

.tab {
    background: none;
    display: block;
    border: none;
    font-size: 16px;
    padding: 10px 0;
    cursor: pointer;
    color: #ccc !important;
    position: relative;
    font-weight: 500;
}

    .tab.active {
        color: #000 !important;
    }

        .tab.active::after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #000;
        }

.tab-content {
    display: none;
    max-height: fit-content !important
}

    .tab-content.active {
        display: block;
    }

    .tab-content p {
        color: #000 !important;
        font-weight: 400 !important;
    }

/* Reuse your earlier section styles here */
.geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.geo-text h2 {
    font-size: 32px;
    margin: 10px 0;
    color: black
}



.datasheet-btn {
    background-color: #8EC646;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
}

.geo-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.product-label {
    color: black !important;
    font-weight: 500 !important;
}

.sub-heading-1 {
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
}

/* Responsive adjustments */
/*@media (max-width: 900px) {
    .container-main {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .sidebar-left,
    .related-links {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

        .sidebar-left ul,
        .related-links ul {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

            .sidebar-left ul li,
            .related-links ul li {
                margin-bottom: 0;
            }
}
*/





/* Tablet View (768px and up) */
@media (min-width: 768px) and (max-width:1020px) {

    .container-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /*.container-main {
        grid-template-columns: 220px 1fr 180px;
    }*/

    .related-links {
        display: block;
    }
    
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

  

    .geo-grid, .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tabs {
        flex-direction: row;
    }
}

/* Desktop View (1024px and up) */
@media (min-width: 1024px) {
  

    .container-main {
        grid-template-columns: 220px 1fr 180px;
    }

    .related-links {
        display: block; /* Show on desktop */
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop View (1200px and up) */
@media (min-width: 1200px) {
    .container-main {
        /*  max-width: 1400px;*/
        max-width: auto;
        margin: 0 auto;
    }
}



@media (min-width:768px){
    .container-main {
        /*  max-width: 1400px;*/
        max-width: auto;
        margin: 0 auto;
        padding: 4rem;
    }
}



/* Specific Component Adjustments */
@media (max-width: 767px) {
    .geology-suite h2 {
        font-size: 18px;
    }

    .sidebar-left{
        display:none
    }


    .container-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding:0px
    }


    /*.container-main {
        grid-template-columns: 220px 1fr 180px;
    }*/

    .related-links {
        display: block;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        padding:0px  !important;
        gap:0px !important
    }



    .geo-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: row;

    }

    .tab {
        font-size: 12px;
    }



    .sidebar-left {
        padding: 0px; 
    }

   /* .content-main {
        width: 58%;
    }*/

    /* Mobile-specific adjustments */
    .intro h1 {
        font-size: 20px;
        text-align: center !important;
    }

    .intro p {
        text-align: center !important;
    }

    .intro button {
        width: 100%;
        padding: 12px;
        border-radius:50px
    }

    .card {
        padding: 30px 15px;
    }

    .geology-tabs-section {
        padding: 20px 0px;
    }

    .geo-text h2 {
        font-size: 24px;
    }

    .datasheet-btn {
        width: 100%;
    }

    .geology-suite {
        padding: 40px 0px !important;
        text-align: center;
        font-family: Arial, sans-serif;
        background: linear-gradient(to bottom, #f8f8f8 0%, white 30%) !important;
    }

    .geo-text {
        align-items: center;
        justify-items: center;
        display: flex;
        flex-direction: column;
    }

    .datasheet-btn a{
        color:white
    }
}



@media (max-width:400px) {
    .content-main {
        padding: 40px 20px;
    }
}
    /* Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }





@media (min-width:1800px) {
    .geo-image img {
        width: 65%;
    }

    .geo-image {
        align-items: center;
        justify-content: center;
        display: flex;
    }
}