/* GREMS custom styles */

:root {
    --grems-primary: #42B598;
    --grems-primary-dark: #369b82;
    --grems-primary-rgb: 66, 181, 152;
}

.bg-fafafa {
    background-color: #fafafa;
}

.grems-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #42B598;
    letter-spacing: 1px;
}

.grems-brand-link,
.grems-brand.grems-brand-mobile {
    display: inline-block;
    line-height: 0;
}

.grems-brand-logo {
    max-height: 56px;
    width: auto;
    display: block;
}

.header-sticky .grems-brand-logo {
    max-height: 48px;
}

@media (max-width: 991px) {
    .grems-brand-logo {
        max-height: 42px;
    }

    .raque-responsive-nav .logo .grems-brand-mobile {
        padding: 4px 0;
    }
}

.grems-brand-sub {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    max-width: 220px;
}

.header-sticky .grems-brand-sub {
    color: #fff;
}

.main-banner.grems-slide {
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    background-image: none !important;
}

.main-banner.grems-slide .grems-slide-img {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Header + hero layout (override theme absolute header) */
.header-area {
    position: relative !important;
}

.grems-hero-slider {
    position: relative;
    z-index: 1;
    clear: both;
}

/* Desktop — slider starts after top bar; navbar overlays hero */
@media (min-width: 992px) {
    .header-area {
        z-index: 100;
    }

    .top-header {
        position: relative;
        z-index: 3;
        overflow: visible;
    }

    /* Header height = top bar only; menu overlaps top bar + hero */
    .header-area > .navbar-area:not(.header-sticky) {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 24px);
        z-index: 4;
        background: transparent !important;
        box-shadow: none !important;
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-area > .navbar-area:not(.header-sticky) .raque-nav {
        margin-top: 0;
    }

    .header-area > .navbar-area:not(.header-sticky) .raque-nav .navbar {
        background-color: #ffffff;
        border-radius: 3px;
        box-shadow: 0 2px 28px rgba(0, 0, 0, 0.06);
    }

    .grems-hero-slider {
        margin-top: 0;
    }

    .grems-hero-slider .main-banner.grems-slide {
        height: 550px;
    }

    .grems-hero-slider .main-banner.grems-slide .grems-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    /* Inner pages — navbar in normal flow (no hero slider to overlap) */
    .header-area:has(+ .grems-page-hero) > .navbar-area:not(.header-sticky) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 4;
    }
}

/* Mobile — full header in flow, slider after top bar + navbar */
@media (max-width: 991px) {
    .header-area > .navbar-area:not(.header-sticky) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: auto;
    }

    .grems-hero-slider.owl-carousel .owl-stage-outer,
    .grems-hero-slider.owl-carousel .owl-stage-outer.owl-height {
        height: auto !important;
    }

    .grems-hero-slider.owl-carousel .owl-stage,
    .grems-hero-slider.owl-carousel .owl-item {
        height: auto !important;
    }

    .grems-hero-slider .main-banner.grems-slide {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background-color: transparent !important;
    }

    .grems-hero-slider .main-banner.grems-slide .grems-slide-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .grems-hero-slider.owl-carousel.owl-theme {
        position: relative;
    }

    .grems-hero-slider.owl-theme .owl-dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 12px;
        margin-top: 0;
        padding-bottom: 0;
        z-index: 5;
    }

    .grems-hero-slider.owl-theme .owl-dots .owl-dot span {
        background: #ffffff;
    }

    .grems-hero-slider.owl-theme .owl-dots .owl-dot.active span,
    .grems-hero-slider.owl-theme .owl-dots .owl-dot:hover span {
        background: #42B598;
    }
}

.grems-admission-cta {
    background: linear-gradient(135deg, #42B598 0%, #369b82 100%);
}

.grems-admission-cta-box {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 40px 45px;
    border-top: 4px solid #42B598;
}

.grems-admission-cta-content .sub-title {
    display: block;
    text-transform: uppercase;
    color: #42B598;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.grems-admission-cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 14px;
    line-height: 1.25;
}

.grems-admission-cta-content p {
    color: #606060;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 560px;
}

.grems-admission-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.grems-admission-cta-actions .default-btn {
    margin: 0;
}

.grems-admission-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid #42B598;
    border-radius: 1px;
    color: #42B598;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.grems-admission-cta-secondary i {
    font-size: 18px;
    line-height: 1;
}

.grems-admission-cta-secondary:hover,
.grems-admission-cta-secondary:focus {
    background: #42B598;
    color: #ffffff;
}

@media (max-width: 991px) {
    .grems-admission-cta-box {
        padding: 28px 24px;
    }

    .grems-admission-cta-content {
        text-align: center;
    }

    .grems-admission-cta-content p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .grems-admission-cta-content h2 {
        font-size: 26px;
    }

    .grems-admission-cta-actions {
        align-items: center;
        width: 100%;
    }
}

.grems-admission-form .form-control,
.grems-admission-form select {
    margin-bottom: 10px;
}

.grems-admission-form h3,
.grems-admission-form h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #252525;
}

/* Online admission form */
.grems-adm-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grems-adm-section {
    margin-bottom: 0;
}

.grems-adm-section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.grems-adm-section-body {
    padding-top: 4px;
}

.grems-adm-note {
    font-size: 14.5px;
    color: #606060;
    margin: -8px 0 20px;
    line-height: 1.6;
}

.grems-adm-req {
    color: #e74c3c;
    font-weight: 700;
}

.grems-adm-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 8px;
}

.grems-adm-input,
.grems-adm-file {
    min-height: 46px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 15px;
}

.grems-adm-input:focus,
.grems-adm-file:focus {
    border-color: #42B598;
    box-shadow: 0 0 0 3px rgba(66, 181, 152, 0.15);
}

.grems-adm-field {
    margin-bottom: 4px;
}

.grems-adm-photo-card {
    height: 100%;
    padding: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-top: 3px solid #42B598;
    border-radius: 8px;
}

.grems-adm-photo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(66, 181, 152, 0.12);
    color: #42B598;
    font-size: 22px;
}

.grems-adm-submit-wrap {
    text-align: center;
    padding: 8px 0 4px;
}

.grems-adm-submit {
    min-width: 280px;
}

.grems-adm-error {
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .grems-adm-submit {
        width: 100%;
        min-width: 0;
    }
}

.grems-achievements-section .section-title {
    margin-bottom: 36px;
}

.grems-achievements-section .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}

.grems-achievements-banner {
    margin-bottom: 32px;
}

.grems-achievements-banner-link {
    position: relative;
    display: block;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.grems-achievements-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.grems-achievements-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(37, 37, 37, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.grems-achievements-banner-link:hover .grems-achievements-banner-overlay,
.grems-achievements-banner-link:focus .grems-achievements-banner-overlay {
    opacity: 1;
}

.grems-growth-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.grems-growth-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.grems-growth-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #42B598;
}

.grems-growth-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #252525;
}

.grems-growth-desc {
    font-size: 14.5px;
    color: #666666;
}

.grems-growth-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #606060;
}

.grems-growth-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.grems-growth-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.grems-growth-stat-card {
    height: 100%;
    padding: 20px 18px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grems-growth-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.grems-growth-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 24px;
}

.grems-growth-stat-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
}

.grems-growth-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #606060;
    line-height: 1.4;
}

.grems-growth-chart {
    margin-top: 24px;
    padding-top: 8px;
}

.grems-growth-chart-row + .grems-growth-chart-row {
    margin-top: 18px;
}

.grems-growth-chart-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.grems-growth-chart-label {
    font-size: 14px;
    font-weight: 600;
    color: #444444;
}

.grems-growth-chart-value {
    font-size: 15px;
    font-weight: 800;
}

.grems-growth-chart-track {
    height: 14px;
    border-radius: 999px;
    background: #f0f0f0;
    overflow: hidden;
}

.grems-growth-chart-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 1s ease;
}

@media (max-width: 767px) {
    .grems-growth-panel {
        padding: 22px 18px 18px;
    }

    .grems-growth-title {
        font-size: 20px;
    }

    .grems-growth-stat-value {
        font-size: 28px;
    }
}

.grems-tc-section .section-title {
    margin-bottom: 45px;
}

.grems-tc-section .section-title p {
    margin-left: auto;
    margin-right: auto;
}

.grems-tc-box {
    background: #fff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 40px 45px;
}

.grems-tc-form .grems-tc-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 8px;
}

.grems-tc-input {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    min-height: 48px;
    font-size: 15px;
    color: #252525;
    box-shadow: none;
}

.grems-tc-input:focus {
    border-color: #42B598;
    box-shadow: 0 0 0 0.15rem rgba(66, 181, 152, 0.15);
}

.grems-tc-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    margin-bottom: 24px;
}

.grems-tc-alert i {
    font-size: 20px;
}

.grems-tc-result-head {
    margin-bottom: 24px;
}

.grems-tc-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 181, 130, 0.12);
    color: #0eb582;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.grems-tc-result-badge i {
    font-size: 18px;
}

.grems-tc-result-head h3 {
    font-size: 28px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 8px;
}

.grems-tc-result-head p {
    color: #606060;
    margin-bottom: 0;
}

.grems-tc-result-actions {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.grems-tc-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid #e5e5e5;
    border-radius: 1px;
    background: #ffffff;
    color: #252525;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.grems-tc-reset-btn:hover,
.grems-tc-reset-btn:focus {
    border-color: #42B598;
    color: #42B598;
}

.grems-tc-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: grems-tc-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes grems-tc-spin {
    to {
        transform: rotate(360deg);
    }
}

#grems-tc-feedback:empty {
    display: none;
}

#grems-tc-feedback:not(:empty) {
    margin-bottom: 20px;
}

.grems-tc-result-preview {
    background: #f8f9fa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.grems-tc-result-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .grems-tc-box {
        padding: 28px 24px;
    }

    .grems-tc-result-head h3 {
        font-size: 24px;
    }
}

/* Info Hub — Affiliation, News & Events */
.grems-info-hub-section .section-title {
    margin-bottom: 45px;
}

.grems-info-hub-section .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
}

.grems-news-events-hub {
    margin-bottom: 8px;
}

.grems-news-events-hub .grems-hub-card {
    height: 100%;
}

.grems-hub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.grems-hub-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.grems-hub-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 24px 0;
}

.grems-hub-card-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(66, 181, 152, 0.1);
    color: #42B598;
    font-size: 24px;
    line-height: 1;
}

.grems-hub-card-titles h3 {
    font-size: 20px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 4px;
    line-height: 1.3;
}

.grems-hub-card-titles p {
    font-size: 13.5px;
    color: #888888;
    margin-bottom: 0;
    line-height: 1.5;
}

.grems-hub-card-body {
    flex: 1 1 auto;
    padding: 20px 24px 24px;
    min-height: 0;
}

/* Affiliation media */
.grems-hub-media-link {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    background: #f8f9fa;
}

.grems-hub-media-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.grems-hub-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(37, 37, 37, 0.55);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grems-hub-media-overlay i {
    font-size: 28px;
}

.grems-hub-media-link:hover .grems-hub-media-overlay,
.grems-hub-media-link:focus .grems-hub-media-overlay {
    opacity: 1;
}

.grems-hub-media-link:hover .grems-hub-media-img {
    transform: scale(1.03);
}

/* Scrollable lists */
.grems-hub-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #42B598 #f0f0f0;
}

.grems-hub-list::-webkit-scrollbar {
    width: 5px;
}

.grems-hub-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.grems-hub-list::-webkit-scrollbar-thumb {
    background: #42B598;
    border-radius: 4px;
}

.grems-hub-list li + li {
    margin-top: 6px;
}

/* News items */
.grems-hub-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.grems-hub-list-item:hover,
.grems-hub-list-item:focus {
    background: #fafafa;
    border-color: #eeeeee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.grems-hub-list-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(66, 181, 152, 0.08);
    color: #42B598;
    font-size: 16px;
}

.grems-hub-list-text {
    flex: 1 1 auto;
    font-size: 13.5px;
    font-weight: 500;
    color: #333333;
    line-height: 1.55;
    transition: color 0.25s ease;
}

.grems-hub-list-item:hover .grems-hub-list-text,
.grems-hub-list-item:focus .grems-hub-list-text {
    color: #42B598;
}

.grems-hub-list-arrow {
    flex-shrink: 0;
    color: #cccccc;
    font-size: 16px;
    margin-top: 2px;
    transition: color 0.25s ease;
}

.grems-hub-list-item:hover .grems-hub-list-arrow,
.grems-hub-list-item:focus .grems-hub-list-arrow {
    color: #42B598;
}

/* Event items */
.grems-hub-event-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    border-left: 3px solid #42B598;
    background: #fafafa;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.grems-hub-event-item:hover {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.grems-hub-event-num {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: #42B598;
    letter-spacing: 0.02em;
    min-width: 24px;
}

.grems-hub-event-text {
    font-size: 14px;
    font-weight: 600;
    color: #252525;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .grems-hub-card-head {
        padding: 20px 20px 0;
    }

    .grems-hub-card-body {
        padding: 16px 20px 20px;
    }

    .grems-hub-list {
        max-height: 240px;
    }
}

/* Welcome / Principal's Message */
.grems-welcome-section {
    overflow: hidden;
}

.grems-principal-media {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.grems-principal-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    background: #ffffff;
}

.grems-principal-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.grems-principal-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #42B598 0%, #369b82 100%);
}

.grems-principal-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    border-left: 4px solid #42B598;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.grems-principal-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(66, 181, 152, 0.1);
    color: #42B598;
    font-size: 22px;
    line-height: 1;
}

.grems-principal-icon i {
    display: block;
    line-height: 1;
}

.grems-principal-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #252525;
    line-height: 1.3;
    margin-bottom: 2px;
}

.grems-principal-card > div span {
    display: block;
    font-size: 13px;
    color: #888888;
    line-height: 1.4;
}

.grems-welcome-content .sub-title {
    display: block;
    text-transform: uppercase;
    color: #42B598;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.grems-welcome-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #252525;
    line-height: 1.3;
    margin-bottom: 22px;
    text-transform: none;
}

.grems-principal-quote {
    position: relative;
    margin: 0 0 22px;
    padding: 22px 24px 22px 56px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.grems-principal-quote p {
    margin: 0;
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    color: #252525;
    line-height: 1.65;
}

.grems-content-quote {
    margin-bottom: 24px;
}

.grems-message-sign {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #eeeeee;
    text-align: right;
}

.grems-message-sign strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 4px;
}

.grems-message-sign span {
    display: block;
    font-size: 14px;
    color: #888888;
}

.grems-quote-icon {
    position: absolute;
    left: 18px;
    top: 20px;
    font-size: 28px;
    color: rgba(66, 181, 152, 0.35);
    line-height: 1;
}

.grems-welcome-content > p {
    color: #606060;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.grems-welcome-note {
    font-weight: 600;
    color: #444444 !important;
}

.grems-welcome-content .default-btn {
    margin-top: 8px;
}

@media (max-width: 991px) {
    .grems-principal-media {
        margin-bottom: 36px;
    }

    .grems-principal-img {
        min-height: 360px;
    }

    .grems-welcome-content {
        text-align: center;
    }

    .grems-welcome-content h2 {
        font-size: 26px;
    }

    .grems-principal-quote {
        text-align: left;
    }

    .grems-welcome-content .default-btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Feature Cards — Explore GREMS */
.grems-features-section .section-title {
    margin-bottom: 45px;
}

.grems-features-section .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}

.grems-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.grems-feature-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.grems-feature-media {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.grems-feature-img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.grems-feature-card:hover .grems-feature-img {
    transform: scale(1.06);
}

.grems-feature-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(37, 37, 37, 0.45) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.grems-feature-card:hover .grems-feature-media-shade {
    opacity: 1;
}

.grems-feature-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-block;
    padding: 5px 12px;
    background: #42B598;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    line-height: 1.3;
}

.grems-feature-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 26px;
}

.grems-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.grems-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(66, 181, 152, 0.1);
    color: #42B598;
    font-size: 22px;
    line-height: 1;
}

.grems-feature-icon i {
    display: block;
    line-height: 1;
}

.grems-feature-head h3 {
    margin: 0;
    padding-top: 2px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.grems-feature-head h3 a {
    color: #252525;
    text-decoration: none;
    transition: color 0.25s ease;
}

.grems-feature-head h3 a:hover,
.grems-feature-head h3 a:focus {
    color: #42B598;
}

.grems-feature-body > p {
    flex: 1 1 auto;
    margin-bottom: 18px;
    color: #606060;
    font-size: 15px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grems-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #42B598;
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
}

.grems-feature-cta i {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.grems-feature-cta:hover,
.grems-feature-cta:focus {
    color: #369b82;
}

.grems-feature-cta:hover i,
.grems-feature-cta:focus i {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .grems-feature-img {
        height: 220px;
    }

    .grems-feature-body {
        padding: 20px;
    }

    .grems-feature-head h3 {
        font-size: 18px;
    }
}

/* News & Events — full-width showcase slider */
.grems-events-section .section-title {
    margin-bottom: 45px;
}

.grems-events-section .section-title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
}

.grems-events-showcase {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.grems-events-slider.owl-carousel {
    position: relative;
}

.grems-events-slide-inner {
    position: relative;
    width: 100%;
}

.grems-events-slide-img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
}

.grems-events-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 32px 28px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(37, 37, 37, 0.88) 100%);
    color: #ffffff;
}

.grems-events-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 12px;
    background: #42B598;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    line-height: 1.3;
}

.grems-events-badge i {
    font-size: 14px;
    line-height: 1;
}

.grems-events-caption h3 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    max-width: 720px;
}

.grems-events-slider.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
    z-index: 3;
}

.grems-events-slider.owl-carousel .owl-nav button.owl-prev,
.grems-events-slider.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    pointer-events: auto;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #252525 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.grems-events-slider.owl-carousel .owl-nav button.owl-prev {
    left: 20px;
}

.grems-events-slider.owl-carousel .owl-nav button.owl-next {
    right: 20px;
}

.grems-events-slider.owl-carousel .owl-nav button.owl-prev:hover,
.grems-events-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: #42B598 !important;
    color: #ffffff !important;
}

.grems-events-slider.owl-carousel .owl-nav button.owl-prev i,
.grems-events-slider.owl-carousel .owl-nav button.owl-next i {
    font-size: 28px;
    line-height: 1;
}

.grems-events-slider.owl-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    margin: 0;
    z-index: 3;
}

.grems-events-slider.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 4px 6px;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.25s ease, transform 0.25s ease;
}

.grems-events-slider.owl-carousel .owl-dots .owl-dot.active span,
.grems-events-slider.owl-carousel .owl-dots .owl-dot:hover span {
    background: #42B598;
    transform: scale(1.15);
}

@media (max-width: 991px) {
    .grems-events-slide-img {
        height: 360px;
    }

    .grems-events-caption {
        padding: 60px 20px 24px;
    }

    .grems-events-caption h3 {
        font-size: 22px;
    }

    .grems-events-slider.owl-carousel .owl-nav button.owl-prev,
    .grems-events-slider.owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
    }

    .grems-events-slider.owl-carousel .owl-nav button.owl-prev {
        left: 12px;
    }

    .grems-events-slider.owl-carousel .owl-nav button.owl-next {
        right: 12px;
    }
}

@media (max-width: 575px) {
    .grems-events-slide-img {
        height: 260px;
    }

    .grems-events-caption h3 {
        font-size: 18px;
    }

    .grems-events-slider.owl-carousel .owl-dots {
        bottom: 12px;
    }
}

.grems-side-social {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 6px;
    background: #ffffff;
    border: 1px solid #eee;
    border-right: none;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
}

.grems-side-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #36454f;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.grems-side-social a:hover {
    background: #2b363d;
    color: #fff;
}

/* Footer — enterprise theme */
.grems-footer {
    background: #12141b;
    border-top: 4px solid #42B598;
    color: #cccccc;
}

.grems-footer-main {
    padding: 70px 0 50px;
}

.grems-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.grems-footer-logo .grems-brand-logo {
    max-height: 72px;
    width: auto;
    border-radius: 6px;
    background: #ffffff;
    padding: 6px 10px;
}

.grems-footer-about {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.grems-footer-motto {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 16px;
    background: rgba(66, 181, 152, 0.12);
    border-left: 3px solid #42B598;
    border-radius: 0 6px 6px 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
}

.grems-footer-motto i {
    color: #42B598;
    font-size: 18px;
    line-height: 1;
}

.grems-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.grems-footer-contact li:last-child {
    margin-bottom: 0;
}

.grems-footer-contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(66, 181, 152, 0.12);
    color: #42B598;
    font-size: 20px;
    line-height: 1;
}

.grems-footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.grems-footer-contact-text strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.grems-footer-contact-text a {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    transition: color 0.25s ease;
}

.grems-footer-contact-text a:hover,
.grems-footer-contact-text a:focus {
    color: #42B598;
}

.grems-footer-title {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.grems-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: #42B598;
    border-radius: 2px;
}

.grems-footer-links li {
    margin-bottom: 10px;
}

.grems-footer-links li:last-child {
    margin-bottom: 0;
}

.grems-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #cccccc;
    font-size: 14.5px;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
}

.grems-footer-links a i {
    color: #42B598;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.grems-footer-links a:hover,
.grems-footer-links a:focus {
    color: #ffffff;
    gap: 7px;
}

.grems-footer-links a:hover i,
.grems-footer-links a:focus i {
    transform: translateX(2px);
}

.grems-footer-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.grems-footer-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.grems-map-embed {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.grems-map-embed iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.grems-map-embed--contact iframe {
    height: 100%;
    min-height: 360px;
}

.grems-contact-map-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.grems-contact-map-title {
    font-size: 18px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 14px;
}

.grems-contact-map-link {
    margin-top: 12px;
    font-size: 14.5px;
    font-weight: 600;
}

.grems-contact-map-link a {
    color: #42B598;
    text-decoration: none;
}

.grems-contact-map-link a:hover {
    color: #369b82;
}

.grems-contact-form-map .grems-map-embed {
    flex: 1;
}

@media (max-width: 991px) {
    .grems-map-embed--contact iframe {
        min-height: 280px;
    }
}

.grems-footer-social--desktop {
    margin-top: 18px;
    gap: 10px;
}

.grems-footer-social--desktop a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.grems-footer-social--desktop a:hover,
.grems-footer-social--desktop a:focus {
    background: #42B598;
    border-color: #42B598;
    color: #ffffff;
}

.grems-footer-social--mobile {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.grems-footer-social-label {
    display: block;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.grems-footer-bottom {
    background: #0d0f14;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
}

.grems-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}

.grems-footer-copy,
.grems-footer-credit {
    margin: 0;
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
}

.grems-footer-copy strong {
    color: #ffffff;
    font-weight: 700;
}

.grems-footer-copy i {
    color: #42B598;
    vertical-align: middle;
    margin-right: 2px;
}

.grems-footer-credit a {
    color: #42B598;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.grems-footer-credit a:hover,
.grems-footer-credit a:focus {
    color: #ffffff;
}

@media (max-width: 991px) {
    .grems-footer-main {
        padding: 50px 0 36px;
    }

    .grems-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer social — mobile only (mirrors fixed side panel) */
.grems-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.grems-footer-social-links a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 14px 16px;
    background: #42B598;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.grems-footer-social-links a i {
    font-size: 26px;
    margin-bottom: 6px;
    line-height: 1;
}

.grems-footer-social-links a:hover,
.grems-footer-social-links a:focus {
    background: #369b82;
    color: #fff;
}

.top-header-btn .default-btn {
    float: right;
}

/* Main nav — logo left, menu flows naturally (not centered) */
@media (min-width: 992px) {
    .raque-nav .navbar {
        align-items: center;
        flex-wrap: nowrap;
    }

    .raque-nav .navbar .navbar-brand.grems-brand {
        margin-right: 18px;
        padding: 8px 0;
        flex-shrink: 0;
    }

    .raque-nav .navbar .navbar-collapse {
        flex-grow: 0;
    }

    .raque-nav .navbar .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: flex-start;
        align-items: center;
    }

    .raque-nav .navbar .navbar-nav .nav-item {
        margin-left: 0;
        margin-right: 0;
    }

    .raque-nav .navbar .navbar-nav > .nav-item > .nav-link {
        font-size: 14px;
        padding: 28px 11px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        white-space: nowrap;
    }

    .raque-nav .navbar .navbar-nav > .nav-item:first-child > .nav-link {
        padding-left: 0;
    }

    .raque-nav .navbar .navbar-nav > .nav-item > .nav-link i.bx-chevron-down {
        margin-left: 3px;
        margin-right: 0;
        font-size: 15px;
        top: 1px;
    }

    /* Dropdown submenu — consistent padding for all items */
    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item > .nav-link {
        padding: 13px 20px 11px !important;
        margin: 0 !important;
        font-size: 15px;
        font-weight: 500;
        color: #4a6f8a;
        white-space: normal;
        display: block;
        position: relative;
        border-bottom: 1px dashed #e5e5e5;
    }

    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item:last-child > .nav-link {
        border-bottom: none;
    }

    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item > .nav-link:hover,
    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item > .nav-link:focus,
    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item > .nav-link.active {
        color: #42B598;
    }

    .raque-nav .navbar .navbar-nav .dropdown-menu .nav-item > .nav-link i.bx-chevron-right {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}

/* Top header contact — desktop */
@media (min-width: 992px) {
    .top-header-contact-info.grems-top-contacts {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 24px;
    }

    .top-header-contact-info.grems-top-contacts li {
        display: inline-flex;
        padding-left: 0 !important;
        margin-right: 0 !important;
        position: static;
        vertical-align: middle;
    }

    .top-header-contact-info.grems-top-contacts li i {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .top-header-contact-info.grems-top-contacts li span {
        display: inline !important;
        margin-bottom: 0 !important;
    }

    .top-header-contact-info.grems-top-contacts .grems-top-contact {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

    .top-header-contact-info.grems-top-contacts .grems-top-contact i {
        font-size: 22px;
        line-height: 1;
        flex-shrink: 0;
    }

    .top-header-contact-info.grems-top-contacts .grems-top-contact .contact-value {
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        line-height: 1.3;
    }

    .top-header-contact-info.grems-top-contacts .grems-top-contact:hover,
    .top-header-contact-info.grems-top-contacts .grems-top-contact:focus {
        color: #ffffff;
        opacity: 0.95;
    }
}

.grems-top-contacts li {
    padding-left: 0;
    vertical-align: top;
}

.grems-top-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
}

.grems-top-contact i {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.grems-top-contact .contact-value {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.grems-top-contact:hover,
.grems-top-contact:focus {
    color: #ffffff;
    opacity: 0.95;
}

/* Sticky header — stay visible after scroll (no scroll-up-only reveal) */
.navbar-area.header-sticky.scrollUp {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 991px) {
    .navbar-area.grems-mobile-sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99991 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
        padding-top: 10px;
        padding-bottom: 10px;
        transform: translateZ(0);
    }

    body.grems-header-stuck {
        padding-top: 0;
    }

    .grems-side-social {
        display: none;
    }

    .grems-brand-sub {
        display: none !important;
    }

    .top-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .top-header .row {
        justify-content: center;
    }

    .grems-top-contacts-mobile {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 14px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        list-style: none;
    }

    .grems-top-contacts-mobile li {
        flex: 0 0 auto !important;
        max-width: none !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .grems-top-contacts-mobile .grems-top-contact {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0 !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        transition: background 0.3s ease;
    }

    .grems-top-contacts-mobile .grems-top-contact:active,
    .grems-top-contacts-mobile .grems-top-contact:hover,
    .grems-top-contacts-mobile .grems-top-contact:focus {
        background: rgba(255, 255, 255, 0.35);
        color: #ffffff;
        opacity: 1;
    }

    .grems-top-contacts-mobile .grems-top-contact i {
        position: static;
        transform: none;
        font-size: 20px;
        line-height: 1;
        display: block;
        margin: 0;
    }

    /* Mobile menu — scrollable full list (no fixed height cutoff) */
    .raque-responsive-nav .raque-responsive-menu.mean-container .mean-nav {
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    body.grems-header-stuck .raque-responsive-nav .raque-responsive-menu.mean-container .mean-nav {
        max-height: calc(100dvh - 58px);
    }

    .raque-responsive-nav .raque-responsive-menu.mean-container .navbar-nav,
    .navbar-area.navbar-style-two .raque-responsive-nav .raque-responsive-menu.mean-container .navbar-nav {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        box-shadow: none;
    }

    .mean-container .mean-nav ul li > a:not(.mean-expand) {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mean-container .mean-nav ul li li > a:not(.mean-expand) {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Inner pages — hero, content cards, about sidebar */
.grems-page-hero {
    position: relative;
    padding: 56px 0 52px;
    background-color: #369b82;
    background-image: url('../../images/grems-page-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.grems-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(66, 181, 152, 0.92) 0%,
        rgba(54, 155, 130, 0.88) 45%,
        rgba(37, 37, 37, 0.72) 100%
    );
    z-index: 0;
}

.grems-page-hero .container {
    position: relative;
    z-index: 1;
}

.grems-page-hero-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.grems-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 14px;
}

.grems-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.25s ease;
}

.grems-breadcrumb a:hover,
.grems-breadcrumb a:focus {
    color: #ffffff;
}

.grems-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1;
}

.grems-breadcrumb .sep i {
    font-size: 16px;
    vertical-align: middle;
}

.grems-breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}

.grems-breadcrumb .text {
    color: rgba(255, 255, 255, 0.85);
}

.grems-page-hero h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.grems-page-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    /* Inner pages — space between navbar and breadcrumb */
    .header-area + .grems-page-hero {
        padding-top: 44px;
        padding-bottom: 56px;
    }

    .header-area + .grems-page-hero .grems-page-hero-content {
        padding-top: 12px;
    }
}

/* Inner page layout — main content first on mobile, sidebar below (use on all inner pages) */
.grems-inner-layout .grems-inner-main {
    order: 1;
}

.grems-inner-layout .grems-inner-sidebar {
    order: 2;
}

.grems-content-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    padding: 32px 34px;
    margin-bottom: 28px;
}

.grems-content-card:last-child {
    margin-bottom: 0;
}

.grems-content-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.grems-content-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(66, 181, 152, 0.12);
    color: #42B598;
    font-size: 26px;
    line-height: 1;
}

.grems-content-icon i {
    display: block;
    line-height: 1;
}

.grems-content-card-head .sub-title {
    display: block;
    text-transform: uppercase;
    color: #42B598;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.grems-content-card-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: #252525;
    line-height: 1.35;
    margin: 0;
}

.grems-content-card > p {
    color: #606060;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.grems-content-card > p:last-of-type {
    margin-bottom: 0;
}

.grems-content-card .grems-content-quote {
    margin-bottom: 24px;
}

.grems-message-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.grems-message-profile-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #42B598;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.grems-message-profile-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.grems-message-profile-text .sub-title {
    display: block;
    text-transform: uppercase;
    color: #42B598;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.grems-message-profile-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 6px;
    line-height: 1.35;
}

.grems-message-profile-text p {
    margin: 0;
    font-size: 14px;
    color: #888888;
    line-height: 1.5;
}

.grems-message-sign {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #eeeeee;
    text-align: right;
}

.grems-message-sign strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 4px;
}

.grems-message-sign span {
    display: block;
    font-size: 14px;
    color: #888888;
}

.grems-motto-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 22px 24px;
    background: rgba(66, 181, 152, 0.1);
    border-left: 4px solid #42B598;
    border-radius: 0 8px 8px 0;
}

.grems-motto-banner > i {
    flex-shrink: 0;
    font-size: 32px;
    color: rgba(66, 181, 152, 0.45);
    line-height: 1;
}

.grems-motto-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #42B598;
    margin-bottom: 4px;
}

.grems-motto-text {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #252525;
    line-height: 1.35;
}

.grems-info-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0;
}

.grems-info-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #42B598;
}

.grems-info-strip-item > i {
    flex-shrink: 0;
    font-size: 24px;
    color: #42B598;
    line-height: 1;
    margin-top: 2px;
}

.grems-info-strip-item strong {
    display: block;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.grems-info-strip-item span {
    display: block;
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
}

.grems-content-media {
    margin-top: 22px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.grems-content-media-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

.grems-about-feature-wrap {
    display: flex;
    justify-content: center;
}

.grems-about-feature {
    position: relative;
    width: 100%;
    max-width: 340px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.grems-about-feature-img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center top;
}

.grems-about-feature-caption {
    background: linear-gradient(180deg, rgba(37, 37, 37, 0.88) 0%, rgba(37, 37, 37, 0.96) 100%);
    color: #fff;
    padding: 14px 16px;
    text-align: center;
}

.grems-about-feature-caption p {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.grems-about-feature-caption p.mb-0 {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
}

@media (min-width: 576px) {
    .grems-about-feature {
        max-width: 400px;
    }

    .grems-about-feature-img {
        max-height: 320px;
    }

    .grems-about-feature-caption {
        padding: 16px 18px;
    }

    .grems-about-feature-caption p {
        font-size: 14px;
    }

    .grems-about-feature-caption p.mb-0 {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .grems-about-feature {
        max-width: 440px;
    }

    .grems-about-feature-img {
        max-height: 360px;
    }
}

.grems-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.grems-highlight-item:hover {
    border-color: rgba(66, 181, 152, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.grems-highlight-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(66, 181, 152, 0.12);
    color: #42B598;
    font-size: 22px;
    line-height: 1;
}

.grems-highlight-icon i {
    display: block;
    line-height: 1;
}

.grems-highlight-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 6px;
    line-height: 1.35;
}

.grems-highlight-item p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.grems-about-sidebar-box {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #42B598;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    padding: 24px 22px;
    margin-bottom: 24px;
}

.grems-about-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.grems-about-sidebar-nav li + li {
    margin-top: 4px;
}

.grems-about-sidebar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #444444;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

.grems-about-sidebar-link i {
    color: #42B598;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.grems-about-sidebar-link:hover,
.grems-about-sidebar-link:focus {
    background: #fafafa;
    color: #42B598;
    gap: 9px;
}

.grems-about-sidebar-link.is-active {
    background: rgba(66, 181, 152, 0.1);
    color: #42B598;
    font-weight: 700;
}

.grems-about-sidebar-cta {
    text-align: center;
    padding: 28px 22px;
    background: linear-gradient(135deg, #42B598 0%, #369b82 100%);
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(66, 181, 152, 0.25);
}

.grems-about-sidebar-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 26px;
    line-height: 1;
}

.grems-about-sidebar-cta h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.grems-about-sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.grems-about-sidebar-cta .default-btn {
    background: #ffffff;
    color: #42B598;
}

.grems-about-sidebar-cta .default-btn:hover,
.grems-about-sidebar-cta .default-btn:focus {
    background: #f5f5f5;
    color: #369b82;
}

@media (max-width: 991px) {
    .grems-page-hero {
        padding: 44px 0 40px;
        min-height: 220px;
    }

    .grems-page-hero h1 {
        font-size: 28px;
    }

    .grems-content-card {
        padding: 24px 22px;
    }

    .grems-content-card-head h2 {
        font-size: 21px;
    }

    .grems-message-profile {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .grems-message-profile-text h2 {
        font-size: 20px;
    }
}

/* Shared inner-page components */
.grems-content-list {
    margin: 0;
    padding-left: 20px;
    color: #606060;
    font-size: 16px;
    line-height: 1.85;
}

.grems-content-list li + li {
    margin-top: 10px;
}

.grems-content-list--ordered {
    padding-left: 22px;
}

.grems-doc-viewer {
    margin-top: 8px;
}

.grems-doc-download {
    margin-bottom: 16px;
}

.grems-doc-frame iframe {
    width: 100%;
    height: 520px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fafafa;
}

.grems-pdf-canvas-wrap {
    width: 100%;
    min-height: 120px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fafafa;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.grems-pdf-page {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 auto;
    image-rendering: auto;
}

.grems-pdf-page + .grems-pdf-page {
    border-top: 1px solid #eeeeee;
}

.grems-pdf-loading {
    padding: 24px 16px;
    text-align: center;
    color: #666666;
    margin: 0;
}

.grems-pdf-error {
    color: #b42318;
}

.grems-doc-image img {
    width: 100%;
    height: auto;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.grems-download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grems-download-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    text-decoration: none;
    color: #252525;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.grems-download-item:hover,
.grems-download-item:focus {
    background: #ffffff;
    border-color: rgba(66, 181, 152, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: #42B598;
}

.grems-download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(66, 181, 152, 0.12);
    color: #42B598;
    font-size: 20px;
}

.grems-download-label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
}

.grems-download-arrow {
    color: #cccccc;
    font-size: 22px;
}

.grems-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    background: #000;
}

.grems-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.grems-data-table {
    margin-bottom: 0;
}

.grems-data-table th {
    background: rgba(66, 181, 152, 0.1);
    color: #252525;
    font-weight: 700;
    border-color: #eeeeee;
}

.grems-data-table td,
.grems-data-table th {
    font-size: 14.5px;
    vertical-align: middle;
}

.grems-gallery-grid .grems-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grems-gallery-grid .grems-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.grems-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Gallery lightbox (Viewer.js — prev/next popup) */
.grems-gallery-viewer .single-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: zoom-in;
}

.grems-gallery-viewer .single-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.grems-gallery-viewer .single-gallery-item:hover img {
    transform: scale(1.06);
}

.viewer-toolbar > ul > li.viewer-prev,
.viewer-toolbar > ul > li.viewer-next {
    background-color: rgba(var(--grems-primary-rgb), 0.92);
}

.viewer-toolbar > ul > li.viewer-prev:hover,
.viewer-toolbar > ul > li.viewer-next:hover {
    background-color: var(--grems-primary-dark);
}

.grems-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.grems-gallery-filter {
    border: 1px solid #e8eceb;
    background: #fff;
    color: #252525;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.grems-gallery-filter:hover,
.grems-gallery-filter.active {
    background: var(--grems-primary);
    border-color: var(--grems-primary);
    color: #fff;
}

.grems-gallery-thumb-label {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #5f6f6b;
    background: #fafafa;
    text-align: center;
    border-top: 1px solid #eeeeee;
}

.admin-gallery-thumb-card {
    border: 1px solid #e8eceb;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.grems-gallery-empty {
    min-height: 180px;
}

.viewer-navbar {
    background-color: rgba(37, 37, 37, 0.85);
}

.grems-gallery-item--caption {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.grems-gallery-caption {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #252525;
    background: #fafafa;
    text-align: center;
}

.grems-facility-gallery-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #252525;
}

.grems-facility-gallery-heading + .grems-facility-gallery-grid {
    margin-bottom: 28px;
}

.grems-facility-gallery-heading i {
    color: #42B598;
    font-size: 22px;
}

.grems-facility-gallery-grid .grems-gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grems-facility-gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.grems-facility-gallery-grid .grems-gallery-caption {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

@media (max-width: 575.98px) {
    .grems-facility-gallery-grid img {
        height: 180px;
    }
}

.grems-inner-full {
    max-width: 960px;
    margin: 0 auto;
}

.grems-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.grems-contact-card {
    padding: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-top: 3px solid #42B598;
    border-radius: 8px;
    height: 100%;
}

.grems-contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 12px;
}

.grems-contact-card p {
    margin: 0 0 8px;
    font-size: 14.5px;
    color: #606060;
    line-height: 1.6;
}

.grems-contact-card a {
    color: #42B598;
    text-decoration: none;
}

.grems-contact-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grems-contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.grems-contact-social a i {
    font-size: 20px;
}

.grems-news-article {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.grems-news-article h1,
.grems-news-article h2,
.grems-news-article h3,
.grems-news-article h4 {
    color: #252525;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.grems-news-article p {
    margin-bottom: 1rem;
}

.grems-news-article ul,
.grems-news-article ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.grems-news-article a {
    color: #42B598;
    text-decoration: underline;
}

.grems-calendar-view {
    text-align: center;
}

.grems-calendar-image-link {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.grems-calendar-image {
    display: block;
    width: 100%;
    max-width: 920px;
    height: auto;
}

.grems-calendar-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(37, 37, 37, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.grems-calendar-image-link:hover .grems-calendar-image-overlay,
.grems-calendar-image-link:focus .grems-calendar-image-overlay {
    opacity: 1;
}

.grems-contact-whatsapp {
    margin-bottom: 28px;
    padding: 48px 20px 28px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #f8fffb 100%);
    border: 1px solid #c6f0dc;
    border-radius: 12px;
}

.grems-whatsapp-panel {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 28px 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.12);
}

.grems-whatsapp-logo {
    width: 84px;
    height: 84px;
    margin: -72px auto 18px;
    padding: 8px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #25d366;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grems-whatsapp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.grems-whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #128c3f;
    background: #e8f9ef;
    border-radius: 999px;
}

.grems-whatsapp-badge i {
    font-size: 16px;
}

.grems-whatsapp-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #252525;
    margin-bottom: 12px;
    line-height: 1.3;
}

.grems-whatsapp-desc {
    margin: 0 0 20px;
    font-size: 15px;
    color: #606060;
    line-height: 1.7;
}

.grems-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366 0%, #1ebe5d 100%);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.grems-whatsapp-btn i {
    font-size: 22px;
}

.grems-whatsapp-btn:hover,
.grems-whatsapp-btn:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #1ebe5d 0%, #17a34a 100%);
}

.grems-whatsapp-qr-wrap {
    text-align: center;
    padding: 20px 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
}

.grems-whatsapp-qr-label {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #42B598;
}

.grems-whatsapp-qr {
    display: block;
    width: min(220px, 100%);
    height: auto;
    margin: 0 auto 12px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.grems-whatsapp-qr-hint {
    font-size: 13px;
    color: #888888;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .grems-whatsapp-panel {
        padding-top: 32px;
    }

    .grems-contact-whatsapp {
        padding-top: 44px;
    }

    .grems-whatsapp-title,
    .grems-whatsapp-desc,
    .grems-whatsapp-badge {
        text-align: center;
    }

    .grems-whatsapp-btn {
        display: flex;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

.grems-form-card .form-label {
    font-weight: 600;
    color: #252525;
    margin-bottom: 6px;
}

.grems-form-card .form-control {
    min-height: 46px;
    margin-bottom: 16px;
}

.grems-alert-success {
    padding: 14px 18px;
    margin-bottom: 20px;
    background: rgba(66, 181, 152, 0.12);
    border-left: 4px solid #42B598;
    border-radius: 0 6px 6px 0;
    color: #252525;
    font-weight: 600;
}

/* GREMS page preloader */
body.grems-preloader-active {
    overflow: hidden;
}

.grems-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.grems-preloader--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.grems-preloader-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(var(--grems-primary-rgb), 0.14), transparent 42%),
        radial-gradient(circle at 80% 80%, rgba(var(--grems-primary-rgb), 0.1), transparent 40%),
        #ffffff;
}

.grems-preloader-panel {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 28px 24px;
    animation: gremsPreloaderFadeIn 0.45s ease;
}

.grems-preloader-mark {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
}

.grems-preloader-logo {
    position: absolute;
    inset: 22px;
    width: calc(100% - 44px);
    height: calc(100% - 44px);
    object-fit: contain;
    animation: gremsPreloaderPulse 1.8s ease-in-out infinite;
}

.grems-preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(var(--grems-primary-rgb), 0.14);
    border-top-color: var(--grems-primary);
    animation: gremsPreloaderSpin 1.1s linear infinite;
}

.grems-preloader-ring--delay {
    inset: 10px;
    border-width: 2px;
    border-top-color: var(--grems-primary-dark);
    animation-duration: 1.6s;
    animation-direction: reverse;
    opacity: 0.85;
}

.grems-preloader-brand {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--grems-primary);
}

.grems-preloader-tagline {
    margin: 0 0 16px;
    max-width: 280px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #5f6f6b;
}

.grems-preloader-dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.grems-preloader-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grems-primary);
    animation: gremsPreloaderDot 1.2s ease-in-out infinite;
}

.grems-preloader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.grems-preloader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes gremsPreloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gremsPreloaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.96);
        opacity: 0.92;
    }
}

@keyframes gremsPreloaderDot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes gremsPreloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .grems-preloader,
    .grems-preloader-panel,
    .grems-preloader-logo,
    .grems-preloader-ring,
    .grems-preloader-dots span {
        animation: none !important;
        transition: none !important;
    }
}
