/* ========== Homepage layout ========== */
body.gilva-home-page {
    margin: 0 !important;
    padding-top: 72px;
}

.gilva-home-hero {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    width: 100%;
    height: clamp(480px, 60vw, 660px);
    overflow: hidden;
    background: #0d2137;
}

.gilva-home-hero .gilva-hero-slider {
    height: 100%;
    min-height: 100%;
}

/* ========== Search Section ========== */
.gilva-search-section {
    position: relative;
    z-index: 20;
    padding: 0 clamp(12px, 3vw, 24px) clamp(28px, 4vw, 40px);
    margin-top: -32px;
    background: linear-gradient(180deg, transparent 0%, #f0f6ff 40%, #fff 100%);
}

.gilva-search-section .gilva-search-box.BottomSearch {
    width: 100%;
    max-width: 1180px;
    height: auto;
    min-height: 0;
    margin: 0 auto !important;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 168, 0.12);
    box-shadow:
        0 20px 50px rgba(13, 33, 55, 0.12),
        0 4px 16px rgba(37, 99, 168, 0.08);
}

.gilva-search-head {
    text-align: center;
    margin-bottom: 18px;
}

.gilva-search-head h3 {
    margin: 0 0 6px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 800;
    color: #0d2137;
}

.gilva-search-head h3 i {
    color: #2563a8;
    margin-left: 8px;
}

.gilva-search-head p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.gilva-search-tabs {
    margin-bottom: 16px;
}

.gilva-search-tabs ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gilva-search-tabs li a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: #475569 !important;
    background: #f1f5f9;
    text-decoration: none !important;
    transition: all 0.25s;
    cursor: pointer;
}

.gilva-search-tabs li a.SelectFilter {
    background: linear-gradient(135deg, #2563a8, #1a4a7a);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 168, 0.35);
}

.gilva-search-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.gilva-search-input,
.gilva-search-section .lstSelect {
    width: 100%;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 13px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gilva-search-input:focus,
.gilva-search-section .lstSelect:focus {
    outline: none;
    border-color: #2563a8;
    box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.15);
}

.gilva-search-submit {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #fe346e, #ff6b9d);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(254, 52, 110, 0.35);
}

.gilva-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(254, 52, 110, 0.45);
}

.gilva-search-fields {
    margin: 0 -8px;
}

.gilva-search-field {
    padding: 0 8px;
    margin-bottom: 12px;
}

@media (min-width: 992px) {
    .gilva-search-submit-wrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

/* ========== Hero Slider ========== */
.gilva-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #0d2137;
}

.gilva-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gilva-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    z-index: 1;
}

.gilva-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.gilva-slide-bg-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.gilva-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

body.gilva-home-page .gilva-home-hero img.gilva-slide-bg,
body.gilva-home-page .gilva-hero-slider img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

.gilva-slide.is-active .gilva-slide-bg {
    transform: scale(1);
}

.gilva-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 33, 55, 0.82) 0%, rgba(13, 33, 55, 0.45) 45%, rgba(37, 99, 168, 0.25) 100%);
}

.gilva-slide-content {
    position: absolute;
    right: clamp(20px, 6vw, 80px);
    bottom: clamp(40px, 12%, 100px);
    max-width: min(560px, 90%);
    color: #fff;
    z-index: 3;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.7s ease 0.15s, opacity 0.7s ease 0.15s;
}

.gilva-slide.is-active .gilva-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.gilva-slide-content h3 {
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.gilva-slide-content p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    margin: 0 0 18px;
    opacity: 0.92;
}

.gilva-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fe346e, #ff6b9d);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(254, 52, 110, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
}

.gilva-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(254, 52, 110, 0.55);
    color: #fff !important;
}

.gilva-slide-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.gilva-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gilva-slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.gilva-slider-prev { right: 16px; }
.gilva-slider-next { left: 16px; }

.gilva-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gilva-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}

.gilva-slider-dot.is-active {
    background: #fe346e;
    border-color: #fe346e;
    transform: scale(1.2);
}

/* ========== Earth + CTA Section ========== */
.gilva-earth-section {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 8vw, 80px) 20px;
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 50%, #fff 100%);
    overflow: hidden;
}

.gilva-earth-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
}

.gilva-earth-visual {
    position: relative;
    width: clamp(280px, 42vw, 400px);
    height: clamp(280px, 42vw, 400px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gilva-earth-globe {
    position: relative;
    z-index: 3;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    overflow: hidden;
    background: #1565c0;
    box-shadow:
        inset -12px -12px 30px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(21, 101, 192, 0.35);
}

.gilva-earth-globe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: gilvaGlobeSpin 36s linear infinite;
}

.gilva-earth-globe::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 55%);
    z-index: 2;
    pointer-events: none;
}

.gilva-earth-globe::after {
    content: "";
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 168, 0.2);
    z-index: 0;
    pointer-events: none;
}

@keyframes gilvaGlobeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gilva-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    animation: gilvaOrbitSpin 16s linear infinite;
}

.gilva-orbit--1 { inset: 8%; animation-duration: 18s; }
.gilva-orbit--2 { inset: -2%; animation-duration: 24s; animation-direction: reverse; }
.gilva-orbit--3 { inset: -14%; animation-duration: 30s; }

@keyframes gilvaOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gilva-plane {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    color: #2563a8;
    font-size: 24px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    z-index: 6;
}

.gilva-orbit--2 .gilva-plane { color: #fe346e; font-size: 20px; top: auto; bottom: 0; transform: translateX(-50%) rotate(-90deg); }
.gilva-orbit--3 .gilva-plane { color: #ffd166; font-size: 18px; }

.gilva-earth-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0d2137;
    margin: 0 0 12px;
}

.gilva-earth-text p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #64748b;
    margin: 0 0 28px;
    line-height: 1.7;
}

.gilva-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2563a8, #1a4a7a);
    color: #fff !important;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(37, 99, 168, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
}

.gilva-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 168, 0.45);
    color: #fff !important;
}

.gilva-cta-btn i { font-size: 20px; }

/* ========== Exhibitions Carousel ========== */
.gilva-ex-section {
    padding: clamp(48px, 7vw, 72px) 0;
    background: #fff;
}

.gilva-section-title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #0d2137;
    margin: 0 0 36px;
}

.gilva-ex-carousel-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.gilva-ex-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 40, 70, 0.1);
    border: 1px solid #eef2f7;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gilva-ex-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 168, 0.18);
}

.gilva-ex-card-img {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    background: #eef2f7;
}

.gilva-ex-card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(145deg, #e8eef5, #f8fafc);
    color: #94a3b8;
    font-size: 13px;
}

.gilva-ex-card-img-placeholder i {
    font-size: 32px;
    opacity: 0.7;
}

.gilva-ex-empty {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-size: 15px;
}

.gilva-ex-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gilva-ex-card:hover .gilva-ex-card-img img {
    transform: scale(1.06);
}

.gilva-ex-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gilva-ex-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.45;
}

.gilva-ex-card-body h3 a {
    color: #0d2137 !important;
    text-decoration: none;
}

.gilva-ex-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.gilva-ex-card-body p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 14px;
}

.gilva-ex-card-btn {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #fe346e, #ff6b9d);
    color: #fff !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.gilva-ex-card-btn:hover { opacity: 0.9; color: #fff !important; }

#homeExCarousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #2563a8 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 20px !important;
}

#homeExCarousel .owl-nav .owl-prev { right: -12px; }
#homeExCarousel .owl-nav .owl-next { left: -12px; }

/* ========== About Section ========== */
.gilva-about-section {
    padding: clamp(48px, 7vw, 80px) 20px;
    margin-bottom: clamp(32px, 5vw, 56px);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.gilva-about-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.gilva-about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    margin-top: 32px;
}

.gilva-about-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    min-height: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.gilva-about-orbit-ring {
    position: absolute;
    border: 2px dashed rgba(37, 99, 168, 0.25);
    border-radius: 50%;
    animation: gilvaOrbitSpin 20s linear infinite;
}

.gilva-about-orbit-ring--1 { width: 340px; height: 340px; }
.gilva-about-orbit-ring--2 { width: 250px; height: 250px; animation-duration: 14s; animation-direction: reverse; }
.gilva-about-orbit-ring--3 { width: 160px; height: 160px; animation-duration: 10s; }

.gilva-about-plane {
    position: absolute;
    color: #2563a8;
    font-size: 32px;
    animation: gilvaOrbitSpin 20s linear infinite;
    transform-origin: center center;
    z-index: 4;
}

.gilva-about-plane--1 { top: 8%; left: 50%; margin-left: -16px; }
.gilva-about-plane--2 { color: #fe346e; font-size: 26px; animation-duration: 14s; animation-direction: reverse; bottom: 12%; right: 8%; }
.gilva-about-plane--3 { color: #ffd166; font-size: 22px; animation-duration: 10s; top: 38%; left: 6%; }

.gilva-about-center {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #2563a8, #1a4a7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    box-shadow: 0 8px 28px rgba(37, 99, 168, 0.35);
    z-index: 3;
}

.gilva-about-text p {
    font-size: 14px;
    line-height: 1.95;
    color: #475569;
    text-align: justify;
    margin: 0 0 18px;
}

/* ========== Articles Section ========== */
.gilva-articles-section {
    position: relative;
    padding: clamp(56px, 8vw, 88px) 20px;
    overflow: hidden;
}

.gilva-articles-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d2137 0%, #1a4a7a 50%, #2563a8 100%);
    z-index: 0;
}

.gilva-articles-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(254, 52, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 209, 102, 0.1) 0%, transparent 45%);
    animation: gilvaBgPulse 8s ease-in-out infinite alternate;
}

@keyframes gilvaBgPulse {
    from { opacity: 0.6; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

.gilva-articles-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.gilva-articles-section .gilva-section-title {
    color: #fff;
}

.gilva-article-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    height: 100%;
}

.gilva-article-card:hover {
    transform: translateY(-4px);
}

.gilva-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gilva-article-card-body {
    padding: 16px;
}

.gilva-article-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.gilva-article-card-body h3 a {
    color: #0d2137 !important;
    text-decoration: none;
}

.gilva-article-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

/* ========== Reviews Section ========== */
.gilva-reviews-section {
    padding: clamp(48px, 7vw, 72px) 20px;
    background: #f8fafc;
}

.gilva-reviews-inner {
    max-width: 900px;
    margin: 0 auto;
}

.gilva-review-card {
    background: #fff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 12px 40px rgba(15, 40, 70, 0.08);
    text-align: center;
    border: 1px solid #eef2f7;
}

.gilva-review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid #2563a8;
    box-shadow: 0 4px 12px rgba(37, 99, 168, 0.2);
}

.gilva-review-avatar--placeholder {
    background: linear-gradient(135deg, #2563a8, #1a4a7a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.gilva-review-name {
    font-size: 18px;
    font-weight: 700;
    color: #0d2137;
    margin: 0 0 10px;
}

.gilva-review-stars {
    color: #ffd166;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.gilva-review-stars .fa-star-o { color: #cbd5e1; }

.gilva-review-text {
    font-size: 15px;
    line-height: 1.85;
    color: #475569;
    margin: 0;
}

#homeReviewsCarousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #2563a8 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 44px !important;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}

#homeReviewsCarousel .owl-nav button:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

#homeReviewsCarousel .owl-nav button span {
    font-size: 18px !important;
    line-height: 44px !important;
}

#homeReviewsCarousel .owl-nav .owl-prev { right: -8px; left: auto; }
#homeReviewsCarousel .owl-nav .owl-next { left: -8px; right: auto; }

#homeReviewsCarousel .owl-dots {
    margin-top: 20px;
}

#homeReviewsCarousel .owl-dot span {
    background: #cbd5e1 !important;
}

#homeReviewsCarousel .owl-dot.active span {
    background: #2563a8 !important;
}

.gilva-home-intro .cycle-slideshow {
    display: none !important;
}

@media (max-width: 991px) {
    body.gilva-home-page {
        padding-top: 64px;
    }

    .gilva-home-hero {
        height: clamp(400px, 78vw, 540px);
    }

    .gilva-search-section {
        margin-top: 8px;
        padding-top: 12px;
    }

    .gilva-ex-section .gilva-section-title {
        margin-bottom: 18px;
    }

    .gilva-reviews-section .gilva-section-title {
        margin-bottom: 12px;
    }

    .gilva-reviews-inner {
        padding-top: 0;
    }

    #homeReviewsCarousel {
        margin-top: 0;
    }

    #homeReviewsCarousel .owl-nav .owl-prev { right: 0; }
    #homeReviewsCarousel .owl-nav .owl-next { left: 0; }
}
@media (max-width: 991px) {
    .gilva-earth-inner,
    .gilva-about-grid {
        grid-template-columns: 1fr;
    }

    .gilva-earth-visual { order: -1; min-height: 260px; }
    .gilva-earth-text { text-align: center; }
    .gilva-cta-btn { margin: 0 auto; }

    .gilva-about-visual { min-height: 280px; }
    .gilva-slider-nav { width: 40px; height: 40px; font-size: 14px; }
}

@media (max-width: 576px) {
    .gilva-home-hero {
        height: clamp(420px, 88vw, 580px);
    }

    .gilva-search-section {
        margin-top: 16px;
        padding-top: 8px;
    }

    .gilva-ex-section {
        padding-top: 36px;
    }

    .gilva-ex-section .gilva-section-title {
        margin-bottom: 14px;
    }

    .gilva-reviews-section .gilva-section-title {
        margin-bottom: 8px;
    }

    .gilva-slide-content {
        right: 16px;
        left: 16px;
        max-width: none;
        bottom: 56px;
    }

    .gilva-slider-prev { right: 8px; }
    .gilva-slider-next { left: 8px; }
}
