/* Google Fonts: Raleway + IBM Plex Sans */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=Edu+NSW+ACT+Cursive:wght@400&family=Roboto:wght@300;400;500;700&display=swap');

/* Typography & numeric figures */
html {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum", "tnum", "kern";
}

body,
input,
button,
select,
textarea,
table,
td,
th {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum", "tnum";
}

.font-numeric,
.stat-value,
.spec-value,
.price,
.query-id,
.tabular-nums {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif !important;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum", "tnum";
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700 !important;
}

h1, .h1 { font-size: 3rem !important; line-height: 1.2 !important; }
h2, .h2 { font-size: 2.25rem !important; line-height: 1.3 !important; }
h3, .h3 { font-size: 1.875rem !important; line-height: 1.4 !important; }
h4, .h4 { font-size: 1.5rem !important; line-height: 1.5 !important; }
h5, .h5 { font-size: 1.25rem !important; line-height: 1.5 !important; }
h6, .h6 { font-size: 1rem !important; line-height: 1.5 !important; }

p, .p {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 400 !important;
}

.font-raleway {
    font-family: 'Raleway', sans-serif !important;
}

body {
    font-family: 'Raleway', 'IBM Plex Sans', system-ui, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
}

input,
button,
select,
textarea,
table,
td,
th,
.font-numeric,
.stat-value,
.spec-value,
.price,
.query-id {
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum", "tnum";
}

/* Layout utilities */
html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

.no-scrollbar::-webkit-scrollbar,
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.no-scrollbar,
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.align-with-logo {
    margin-left: 0;
}

.align-with-search {
    margin-right: 0;
}

@media (min-width: 1024px) {
    .align-with-logo {
        margin-left: calc((100% - 1280px) / 2 + 1.5rem);
    }

    .align-with-search {
        margin-right: calc((100% - 1280px) / 2 + 1.5rem);
    }
}

.container {
    max-width: 1280px;
}

.gradient-text {
    background: linear-gradient(to bottom, #E11F28, #EF9B23, #107FBD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.section-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

/* Home page */
.video-bg {
    position: relative;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
}

.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

@media (max-width: 768px) {
    .video-bg {
        height: 80vh;
        min-height: 220px;
    }

    .video-bg video {
        min-width: 100vw;
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .video-bg {
        height: 60vh;
        min-height: 140px;
    }

    .video-bg video {
        min-width: 100vw;
        min-height: 60vh;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.sustainability {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 60vh;
    background: url('../images/river.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

/* About page */
.edu-nsw-act-cursive-400 {
    font-family: 'Edu NSW ACT Cursive', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.raleway-italic-400 {
    font-family: 'Raleway', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
}

/* Products page */
.slide {
    transition: opacity 0.8s ease;
}

.slide.hidden {
    opacity: 0;
    position: absolute;
}

.slide.active {
    opacity: 1;
}

.title-serif {
    font-family: 'Georgia', serif;
    font-weight: 700;
    line-height: 1.1;
}

.card-border {
    border: 2px solid;
    border-image: linear-gradient(90deg, #E11F28 0%, #EF9B23 50%, #107FBD 100%) 1;
    border-radius: none;
    background: white;
}

.image-rounded {
    border-radius: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 2rem;
    position: relative;
}

.card-employee {
    grid-column: 1 / 6;
    grid-row: 1 / 4;
    padding: 2rem;
}

.image-top {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
    z-index: 5;
    align-self: center;
}

.card-social {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
    padding: 2rem;
}

.image-left {
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    z-index: 10;
    margin-bottom: 1.2rem;
}

.card-environment {
    grid-column: 4 / 8;
    grid-row: 2 / 5;
    padding: 2rem;
    margin-right: -7rem;
    z-index: 1;
}

.image-bottom {
    grid-column: 9 / 13;
    grid-row: 3 / 5;
    position: relative;
    top: -2rem;
    z-index: 1;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .card-employee,
    .card-environment,
    .card-social,
    .image-top,
    .image-left,
    .image-bottom {
        grid-column: 1 / 7 !important;
        grid-row: auto !important;
        top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }
}
