html, body {
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    position: sticky;
    top: 0;
    z-index: 1000;
}
  
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
  
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* REQUIRED */
}
/* DROPDOWN WRAPPER */
.nav-item {
    position: relative;
}


.dropdown-menu--about {
    position: absolute;
    top: 100%;
    left: 0;

    background: #ffffff;
    min-width: 220px;
    width: max-content;
    padding: 16px 18px;

    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transform-origin: top;
    transition: opacity 0.25s ease, transform 0.25s ease;

    z-index: 999;    /* remove centering */
}
.nav-item.dropdown--about:hover .dropdown-menu--about {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu--about ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
  
.dropdown-menu--about li {
    margin: 0;
}

.dropdown-menu--about a {
    display: inline-flex;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 14px;
    /*font-weight: 700;*/
    color: #1f6b4a;
    text-decoration: none;
    gap: 6px;
}
/*
.nav-item.dropdown--about .dropdown-menu--about a {
    font-weight: 700;
}
*/
.dropdown-menu--about a:hover {
    /*background: rgba(31,107,74,0.06);*/
    text-decoration: underline;
}
.dropdown-menu--about a::after {
    content: "→";
    font-size: 16px;
    opacity: 0;
    transform: translateX(-2px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-menu--about a:hover::after {
    opacity: 1;
    transform: translateX(2px);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    padding: 36px 40px;
    min-width: 900px;

    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    border-radius: 10px;

    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transition: opacity 0.25s ease, transform 0.25s ease;

    z-index: 999;
}

/* SHOW ON HOVER */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* COLUMN */
.dropdown-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f6b4a;
    margin-bottom: 16px;
}

.dropdown-column h4 a {
    color: #1f6b4a;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dropdown-column h4 a:hover {
    text-decoration: underline;
}
.dropdown-column h4 a::after {
    content: "→";
    font-size: 14px;
    opacity: 0;
    transform: translateX(-2px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
  
.dropdown-column h4 a:hover::after {
    opacity: 1;
    transform: translateX(2px);
}

.dropdown-column h4 span {
    font-weight: 500;
    font-size: 13px;
    color: #777;
}

.dropdown-column ul {
    list-style: none;
}

.dropdown-column ul li {
    margin-bottom: 8px;
}

/* LINKS */
.dropdown-column a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-column a:hover {
    color: #1f6b4a;
}
.dropdown-column a::after {
    content: "→";
    padding-left: 5px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-2px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.dropdown-column a:hover::after {
    opacity: 1;
    transform: translateX(2px);
}


@media (max-width: 900px) {
    .dropdown-menu {
        display: none;
    }
}








  
.logo a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 18px;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}
  
.nav-links {
    list-style: none;
    display: flex;
    gap: 60px;
    align-items: center;
}
  
.nav-links a {
    color: #1f6b4a;
    text-decoration: none;
    /*500*/
    font-weight: 500;
    opacity: 1;
}
.nav-links h3 a {
    color: #1f6b4a;
    text-decoration: none;
    /*500*/
    font-weight: 600;
    opacity: 1;
}
  
.nav-links a:hover {
    color: #144a33;
    /*font-weight: 800;*/
}
  
body {
    height: 100vh;
    background: #0a2f1f;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.container {
    text-align: center;
    padding: 0;
    padding-top: 0; /* space for sticky navbar */
}

.hero h1 {
    font-size: 56px;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero p,
section p{
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
}

.tagline {
    margin-top: 15px;
    font-size: 18px;
    color: #cfd8e3;
}

.note {
    margin-top: 25px;
    font-size: 16px;
}
  
.site-footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    opacity: 0.7;
    color: #aab4c3;
}

@media (max-width: 768px) {

    .nav {
        flex-direction: row;
        gap: 12px;
        padding: 14px 16px;
        flex-wrap: wrap; /* REQUIRED */
    }

    .nav-links {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .logo img {
        height: 40px; /* slightly smaller on mobile */
    }
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 100vh; /* accounts for navbar */
    overflow: hidden;
    margin-top: -90px;
    padding-top: 90px;
    width: 100vw;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: white;
    z-index: 2;
}


.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 6s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}




/* Dark overlay for readability */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}


.slide-content {
    position: relative;
    max-width: 520px;
    margin-left: 80px;
    padding-right: 60px;
    color: white;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* CTA button */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: #1f6b4a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.btn-primary:hover {
    background: #144a33;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}


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

    .hero-slider {
        height: 80vh;
    }

    .slide-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 24px;
        text-align: left;
    }
    

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }
    .slide.active {
        animation: none;
        transform: scale(1);
    }

    .slider-dots {
        bottom: 16px;
    }
}


/* SLIDER ARROWS */
/* SLIDER ARROWS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1f6b4a;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    /* HIDDEN BY DEFAULT */
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

/* Show arrows ONLY when hovering the slider */
.hero-slider:hover .slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.slider-arrow:hover {
    background: #1f6b4a;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
    left: 24px;
}

.slider-arrow.next {
    right: 24px;
}


/* Mobile adjustments */
/* REMOVE SLIDER ARROWS ON MOBILE */
@media (max-width: 768px) {
    .slider-arrow {
        display: none !important;
    }
}

/* ABOUT PAGE – FULL WIDTH GRAPHIC */
.about-hero-graphic {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.about-hero-graphic img {
    width: 100%;
    height: auto;
    display: block;
}
/* ABOUT PAGE – FULL WIDTH GRAPHIC BANNER */
.about-graphic {
    width: 100%;
    height: 420px;               /* controls visual strength */
    overflow: hidden;
    background: #0e2f1f;   
    position: relative;      /* fallback brand green */
}

.about-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* KEY: makes it look premium */
    display: block;
}
.about-focus {
    padding: 100px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #349a6e;
    margin-bottom: 16px;
}

.about-focus h2 {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 24px;
}

.about-focus p {
    font-size: 18px;
    line-height: 1.7;
    color: #cfd8e3;
    max-width: 720px;
}
@media (max-width: 768px) {
    .about-focus {
        padding: 60px 20px;
    }

    .about-focus h2 {
        font-size: 30px;
    }

    .about-focus p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .about-graphic {
        height: 260px;
    }
}
.about-graphic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.15)
    );
}

/* WHY US SECTION */
.why-us {
    background: #ffffff;
    color: #144a33;
    padding: 80px 0 100px;
    text-align: center;
}


/* Full-width graphic */
.why-us-graphic {
    width: 100%;
    margin: 40px 0 60px;
}

.why-us-graphic img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Key points */
.why-us-points {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    font-size: 16px;
    font-weight: 500;
    color: #1f6b4a;
}
@media (max-width: 768px) {
    .section-header--dark h2 {
        white-space: normal; /* allow wrapping */
        font-size: 28px;
        line-height: 1.25;
    }
    .section-header--dark .section-subtitle {
        margin-bottom: 32px;
        font-size: 16px;
    }
}
@media (max-width: 768px) {

    .why-us {
        padding: 60px 0 80px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .why-us-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {

    .section-header {
        margin-bottom: 40px;
        padding: 0 16px; /* breathing room */
    }

    .section-title {
        gap: 12px;
    }

    .section-header h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .section-subtitle {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .section-header--spacious {
        padding-top: 28px;
        padding-bottom: 48px;
    }
}
/* APPLICATION SECTION */
.application-section {
    background: #ffffff;
    padding: 50px 0;
    text-align: center;
}

/* Header with slanted lines */
.application-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.application-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #144a33;
    letter-spacing: 0.5px;
}


/* Decorative slanted lines */
.decor-line {
    width: 50px;
    height: 3px;
    background: #144a33;
    transform: skewX(-30deg);
    opacity: 0.9;
}

.decor-line-white {
    width: 50px;
    height: 3px;
    background: #ffffff;
    transform: skewX(-30deg);
    opacity: 0.9;
}

/* Subtitle */
.application-subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 60px;
}

/* Product grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    
    width: 100%;
    /*max-width: none; */  /* KEY: removes center constraint */
    padding: 0 80px;   /* breathing space from edges */
    margin: 0 auto;

}

.application-card {
    background: #ffffff;
    border-radius: 6px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;


    padding-bottom: 17px; /*made by me*/
}

.application-card img {
    width: 100%;
    height: auto;
    /*border-radius: 6px;*/
    transition: transform 0.4s ease;
}
.application-card:hover img {
    transform: scale(1.05);
}

.application-card h4 {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #144a33;
}

/* Hover effect */
.application-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
.application-card h4 {
    text-align: center;
}
.application-card img {
    background: #f6f6f6;
    padding: 14px;
    width: 100%;
    height: 260px;              /* ⬅ makes them visually stronger */
    object-fit: cover;
    border-radius: 6px;
}

.application-header h2 {
    letter-spacing: 1px;
}

.application-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.application-card:nth-child(1) { animation-delay: 0.1s; }
.application-card:nth-child(2) { animation-delay: 0.2s; }
.application-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .application-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }

    .application-card img {
        height: 220px;
    }
}

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

    .application-header h2 {
        font-size: 28px;
    }

    .application-subtitle {
        font-size: 15px;
    }
}
/* IMAGE WRAPPER */
.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 107, 74, 0.92); /* HEXON green */
    color: #ffffff;
    padding: 32px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: left;

    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.card-overlay p {
    font-size: 17px;
    font-weight: 100;
    line-height: 1.65;
    max-width: 300px;
    justify-content: center;
    text-justify: inter-word;
    /*text-transform: uppercase;*/

}

/* SHOW ON HOVER */
.application-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-line {
    width: 0;
    height: 2px;
    background: #3fbf8a; /* refined green accent */
    margin-bottom: 16px;

    transition: width 0.4s ease;
}

.application-card:hover .overlay-line {
    width: 48px;
}

.accent-line {
    width: 0;
    height: 2px;
    background: #25654a;
    /*background: #1f6b4a;*/
    margin-bottom: 12px;
    transition: width 0.35s ease;
}
.application-card:hover .accent-line {
    width: 48px;
}
@media (max-width: 768px) {
    .application-card:hover {
        transform: none;
        box-shadow: none;
    }
}
@media (hover: none) {
    .application-card:hover .card-overlay {
        opacity: 0; /* disable hover reveal on touch devices */
        transform: translateY(12px);
    }
}

/* MOBILE TAP STATE */
.application-card.active .card-overlay {
    opacity: 1;
}

.application-card.active .card-overlay p {
    transform: translateY(0);
}

.application-card.active .accent-line {
    width: 48px;
}
@media (hover: none) {
    .application-card:hover {
        transform: none;
        box-shadow: none;
    }

    .application-card:hover .card-overlay {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
}



/*CATEGORY OVERVIEWS COMPARISON IMAGE*/
/* Wrapper so label can sit above image */
.comparison-image-wrap{
    position: relative;
    margin-top: 28px;
}

/* Main label container */
.comparison-label{
    position: absolute;
    /*top: -18px;*/
    top: -31px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 16px;

    padding: 10px 20px;
    border-radius: 999px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(20,74,51,0.12);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Left side — wood (subtle/desaturated tone) */
.label-wood{
    color: rgba(20,74,51,0.55);
}

/* Divider */
.label-divider{
    font-weight: 500;
    color: rgba(20,74,51,0.35);
}

/* Right side — Hexon highlight */
.label-hexon{
    color: #144a33;
    position: relative;
}

/* Elegant underline under Hexon side */
.label-hexon::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,#c9a14a,#b8933f);
    border-radius: 2px;
}
@media (max-width: 768px){
    .comparison-label{
        font-size: 10px;
        padding: 8px 14px;
        gap: 10px;
        /*top: -14px;*/
        top: -34px;
        /*white-space: normal;*/
        white-space: nowrap;
    }
}
/* Divider line inside comparison image */
.comparison-image-wrap::after{
    content: "";
    position: absolute;
    top: 1%;
    bottom: 1%;
    /*
    top: 6%;
    bottom: 6%;*/
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    /*
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 20%,
        rgba(255,255,255,0.6) 80%,
        rgba(255,255,255,0) 100%
    );
    */
    background: black;

    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
}

