/* ========== GEMOLOGICAL LABORATORY PAGE ========== */
.gemology-page {
    width: 100%;
    font-family: var(--font-family);
}

/* --- Hero Section --- */
.gem-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.gem-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.3);
    z-index: 0;
}
.gem-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    width: 100%;
}

.gem-hero-logo {
    max-width: 750px;
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Intro Section --- */
.gem-intro {
    background-color: var(--color-light-gray);
    padding: 60px 0;
    text-align: center;
}
.gem-title-center {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}
.gem-desc-center {
    font-size: 1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Experts Section --- */
.gem-experts {
    background-color: var(--color-white);
    padding: 60px 0 80px 0;
}
.gem-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}
.gem-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
.gem-title-left {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}
.gem-desc-left {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* --- Services Section (Deep Dark Blue) --- */
.gem-services {
    background-color: var(--color-dark);
    padding: 80px 0;
}
.gem-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.gem-services .gem-img-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.3);
}
.gem-title-left.gold-accent {
    color: var(--color-white);
}
.gem-title-left.gold-accent::before {
    content: '';
    display: inline-block;
    width: 4px; 
    height: 25px;
    background-color: var(--color-primary);
    margin-right: 12px;
    vertical-align: middle;
}
.gem-desc-left.text-white {
    color: var(--color-white);
    opacity: 0.9;
}

/* ========== Hero Section (Report Search Dark Mode) ========== */
.hero.report-search-hero {
    background-image: url('/assets/images/gemLab/jewelry-inspection-bg.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 5rem 0;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: none;
}
.hero.report-search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}
.hero.report-search-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}
.hero.report-search-hero h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero.report-search-hero .hero-subtitle {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ========== SEARCH BAR ========== */
.report-search-form {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    max-width: 550px;
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.report-search-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--color-black);
    background: transparent;
}
.report-search-form input::placeholder {
    color: var(--color-gray);
}
.report-search-form button {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.report-search-form button:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.report-search-form button svg {
    stroke: currentColor;
    width: 22px;
    height: 22px;
}

/* =========================================================
   MOBILE BEAUTIFICATION (768px and below)
   ========================================================= */
@media (max-width: 768px) {
    body { padding-bottom: 80px !important; }

    /* Hero */
    .gem-hero { min-height: 55vh; overflow: hidden; }
    .gem-hero-logo {
        max-width: 300px;
        width: 85%;
    }
    .gem-hero-overlay { background: rgba(17, 24, 39, 0.4); }

    /* Intro Section */
    .gem-intro { padding: 40px 20px; }
    .gem-title-center { font-size: 1.8rem; }
    .gem-desc-center { font-size: 0.95rem; }

    /* Experts Section */
    .gem-experts { padding: 40px 20px; }
    .gem-grid-3 { grid-template-columns: 1fr; gap: 24px; }
    .gem-img-col img { border-radius: 16px; }
    .gem-text-col { text-align: center; }
    .gem-title-left { font-size: 1.4rem; }
    .gem-desc-left { font-size: 0.9rem; }

    /* Services Section (Dark Blue) */
    .gem-services { padding: 40px 20px; }
    .gem-grid-2 { grid-template-columns: 1fr; gap: 24px; }
    .gem-services .gem-img-col img { border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
    .gem-title-left.gold-accent { font-size: 1.4rem; text-align: center; }
    .gem-title-left.gold-accent::before { display: none; }
    .gem-desc-left.text-white { font-size: 0.9rem; text-align: center; }

    /* Search Hero */
    .hero.report-search-hero { padding: 3rem 20px; min-height: auto; }
    .hero.report-search-hero h1 { font-size: 2.2rem; }
    .hero.report-search-hero .hero-subtitle { font-size: 1rem; margin-bottom: 1.8rem; }
    .report-search-form {
        max-width: 100%;
        border-radius: 50px;
        padding: 4px;
    }
    .report-search-form input {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 50px;
    }
    .report-search-form button {
        padding: 0 1.5rem;
        border-radius: 50px;
    }
}

/* ULTRA SMALL SCREENS (480px) */
@media (max-width: 480px) {
    .gem-hero-logo { max-width: 220px; }
    .gem-title-center { font-size: 1.5rem; }
    .hero.report-search-hero h1 { font-size: 1.8rem; }
}