/* =========================================================
   CRYSTAL TECHNOLOGY PAGE STYLES
========================================================= */

.hybriq-page {
    background: #050505;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hybriq-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-image: url("/media/gallery/green.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hybriq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hybriq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hybriq-hero .hero-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent, #caa65c);
    font-weight: 600;
    margin-bottom: 18px;
    display: block;
}

.hybriq-hero .hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: uppercase;
    color: #ffffff;
}

.hybriq-hero .hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: #ececec;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hybriq-hero .hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #b5b5b5;
    margin-bottom: 36px;
    font-weight: 300;
}

/* Outlined Quote Button */
.hybriq-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
    cursor: pointer;
    font-weight: 500;
}

.hybriq-btn-outline:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.hybriq-btn-outline span {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hybriq-btn-outline:hover span {
    transform: translateX(5px);
}

/* Section styling */
.hybriq-section {
    padding: 90px 10%;
    position: relative;
}

.hybriq-section.dark-bg {
    background: #050505;
}

.hybriq-section.light-bg {
    background: #0b0b0b;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.7;
    font-weight: 300;
}

/* Split Layouts */
.hybriq-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hybriq-split.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.hybriq-split-content h2 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hybriq-split-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 24px;
    font-weight: 300;
}

/* Lists */
.hybriq-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.hybriq-list li {
    font-size: 15px;
    color: #ececec;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-weight: 400;
}

.hybriq-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent, #caa65c);
    font-size: 16px;
}

/* Images in layout */
.hybriq-image-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.hybriq-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hybriq-image-box:hover img {
    transform: scale(1.05);
}

/* Applications Grid */
.hybriq-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hybriq-app-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.hybriq-app-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-accent, #caa65c);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hybriq-app-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Call to Action Box */
.hybriq-cta-box {
    background: radial-gradient(circle at center, #151515 0%, #080808 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hybriq-cta-box h2 {
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hybriq-cta-box p {
    font-size: 16px;
    color: #a5a5a5;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hybriq-cta-box h3 {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    margin-top: 36px;
    margin-bottom: 12px;
}

.hybriq-cta-details {
    margin-top: 30px;
    font-size: 14px;
    color: #757575;
    line-height: 1.5;
}

.hybriq-cta-details strong {
    color: #a5a5a5;
    display: block;
    margin-bottom: 4px;
}

/* Showcase Grid (3 Columns) */
.hybriq-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.showcase-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.showcase-content h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.showcase-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a0a0;
    margin: 0;
    font-weight: 300;
}

/* Transformation Inspiration Grid (6 Items) */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.transformation-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.transformation-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.transformation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0.85;
    transition: all 0.35s ease;
}

.transformation-overlay span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Hover effects */
.transformation-item:hover img {
    transform: scale(1.08);
}

.transformation-item:hover .transformation-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

/* Certifications Section */
.hybriq-section.cert-section {
    background: #050505;
    padding: 100px 10%;
}

.cert-section .section-header {
    margin-bottom: 60px;
}

.cert-section .section-header h2 {
    color: #ffffff;
    font-weight: 300;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    padding: 60px 50px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent, #caa65c);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(202, 166, 92, 0.15);
}

.dnv-card {
    color: #ffffff;
}

.sgs-card {
    position: relative;
    color: #ffffff;
    z-index: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sgs-card-bg {
    position: absolute;
    inset: 0;
    background-image: url('/media/gallery/lab_scientist.png');
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: -2;
}

.sgs-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.82);
    z-index: -1;
    transition: background 0.4s ease;
}

.sgs-card:hover .sgs-card-bg {
    transform: scale(1.06);
}

.sgs-card:hover::before {
    background: rgba(5, 5, 5, 0.75);
}

.cert-logo {
    margin-bottom: 24px;
}

.cert-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    display: block;
    margin-bottom: 6px;
    color: var(--color-accent, #caa65c);
    font-weight: 500;
}

.cert-logo h3 {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2.5px;
    color: #ffffff;
}

.cert-desc {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
    font-weight: 300;
    color: #e5e7eb;
}

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mineral Intro Section */
.mineral-intro {
    background: #050505;
    padding: 120px 10%;
    position: relative;
    overflow: hidden;
}
.mineral-intro-heading {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 80px;
    color: #ffffff;
    position: relative;
}
.mineral-intro-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-accent, #caa65c);
    margin: 24px auto 0;
}
.mineral-intro-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.mineral-intro-media-wrapper {
    position: relative;
    padding: 15px;
}
.mineral-intro-media-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 1px solid var(--color-accent, #caa65c);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.4s ease;
}
.mineral-intro-media {
    width: 100%;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}
.mineral-intro-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.mineral-intro-media-wrapper:hover .mineral-intro-media {
    transform: translate(-8px, -8px);
}
.mineral-intro-media-wrapper:hover::before {
    transform: translate(8px, 8px);
}
.mineral-intro-content {
    padding-left: 20px;
}
.mineral-intro-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-accent, #caa65c);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}
.mineral-intro-lead {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #ffffff;
    border-left: 2px solid var(--color-accent, #caa65c);
    padding-left: 20px;
}
.mineral-intro-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #b5b5b5;
    font-weight: 300;
    padding-left: 22px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hybriq-split, .hybriq-split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hybriq-split-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }
    .mineral-intro {
        padding: 80px 6%;
    }
    .mineral-intro-heading {
        font-size: 1.6rem;
        margin-bottom: 50px;
    }
    .mineral-intro-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .mineral-intro-media-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    .mineral-intro-content {
        padding-left: 0;
    }
    .mineral-intro-lead {
        font-size: 1.7rem;
        border-left-width: 2px;
        padding-left: 16px;
    }
    .mineral-intro-desc {
        padding-left: 18px;
    }
    .hybriq-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hybriq-grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .transformation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .cert-card {
        padding: 50px 30px;
        min-height: 320px;
    }
    .hybriq-hero {
        padding: 130px 6% 60px;
        height: auto;
        min-height: 520px;
    }
    .hybriq-hero .hero-title {
        font-size: 2.5rem;
    }
    .hybriq-section {
        padding: 60px 5%;
    }
}

@media (max-width: 576px) {
    .hybriq-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hybriq-cta-box {
        padding: 40px 20px;
    }
    .hybriq-hero {
        padding: 110px 20px 40px;
        height: auto;
        min-height: auto;
    }
    .hybriq-hero .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    .hybriq-hero .hero-title {
        font-size: 1.85rem;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .hybriq-hero .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }
    .hybriq-hero .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    .hybriq-btn-outline {
        padding: 12px 24px;
        font-size: 13px;
    }
    .hybriq-split-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .mineral-intro {
        padding: 50px 20px;
    }
    .mineral-intro-heading {
        font-size: 1.25rem;
        letter-spacing: 1.5px;
        margin-bottom: 40px;
    }
    .mineral-intro-heading::after {
        margin: 16px auto 0;
    }
    .mineral-intro-lead {
        font-size: 1.35rem;
        padding-left: 14px;
    }
    .mineral-intro-desc {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 16px;
    }
    .hybriq-section {
        padding: 45px 20px;
    }
    .showcase-content {
        padding: 16px;
    }
    .showcase-content h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    .showcase-content p {
        font-size: 13.5px;
        line-height: 1.5;
    }
    .cert-card {
        padding: 35px 20px;
        min-height: auto;
    }
    .cert-logo h3 {
        font-size: 28px;
        letter-spacing: 1.5px;
    }
    .cert-logo {
        margin-bottom: 16px;
    }
    .cert-desc {
        font-size: 14px;
        line-height: 1.6;
    }
}
