/* ==========================================================
   GLOBAL
========================================================== */
.calibration-hero,
.calibration-services,
.calibration-why,
.calibration-cta,
.calibration-form-section,
.calibration-footer {
    position: relative;
    overflow: hidden;
}

/* ==========================================================
   HERO
========================================================== */
.calibration-hero {
    isolation: isolate;
    padding: 140px 0 100px;
    background:
        linear-gradient(135deg, rgba(8, 68, 110, .96), rgba(16, 145, 174, .9)),
        #08446e;
    color: #fff;
}

.calibration-hero::before {
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
}

.calibration-hero::after {
    position: absolute;
    inset: -30%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.22), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(105,224,235,.24), transparent 32%);
    content: "";
    pointer-events: none;
}

.calibration-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.calibration-hero p {
    max-width: 750px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

.calibration-hero-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
}

/* ==========================================================
   CALIBRATION GALLERY
========================================================== */
.calibration-gallery-section {
    padding: 80px 0;
    background: #ffffff;
}

.calibration-gallery-section h2 {
    max-width: 900px;
    margin: 0 auto 35px;
    color: #0b2a4a;
    font-size: 30px;
    font-weight: 700;
}

.calibration-request-layout {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    align-items: start;
    gap: 30px;
}

.calibration-form-column {
    min-width: 0;
    order: 2;
}

.calibration-gallery-column {
    min-width: 0;
    padding-top: 8px;
    order: 1;
}

.calibration-gallery-column h2 {
    margin: 0 0 12px;
    text-align: left;
    font-size: 26px;
}

.calibration-gallery-column p {
    margin: 0;
    color: #52677d;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 22px;
}

.calibration-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f8fc;
    box-shadow: 0 16px 38px rgba(11, 42, 74, .12);
}

.calibration-gallery-card {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity .9s ease, visibility .9s ease, transform 1.2s ease;
    text-decoration: none;
}

.calibration-gallery-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.calibration-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calibration-gallery-card span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 18px 16px;
    background: linear-gradient(transparent, rgba(11,42,74,.9));
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.calibration-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    color: #0b2a4a;
    background: rgba(255,255,255,.9);
    box-shadow: 0 6px 18px rgba(11,42,74,.2);
    cursor: pointer;
    transform: translateY(-50%);
    transition: .2s ease;
}

.calibration-gallery-arrow:hover { color: #fff; background: #189af0; transform: translateY(-50%) scale(1.06); }
.calibration-gallery-prev { left: 14px; }
.calibration-gallery-next { right: 14px; }

/* ==========================================================
   FORM SECTION
========================================================== */
.calibration-form-section {
    padding: 80px 0;
    background: #f5f9ff;
}

.calibration-form-section h2 {
    font-weight: 700;
    color: #0b2a4a;
}

/* FORM CARD */
.calibration-form-section form {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    animation: fadeUp 0.6s ease;
}

.calibration-form-section form .mb-3 {
    margin-bottom: .65rem !important;
}

/* INPUTS */
.form-control {
    border-radius: 8px;
    border: 1px solid #dbe6f1;
    padding: 9px 12px;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #1091ae;
    box-shadow: 0 0 0 2px rgba(16,145,174,0.1);
}

/* BUTTON */
.btn-primary {
    background: linear-gradient(135deg, #189af0, #1091ae);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0b2a4a;
    transform: translateY(-2px);
}

/* ==========================================================
   SERVICES
========================================================== */
.calibration-services {
    padding: 90px 0;
    background: #ffffff;
}

/* CARD */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;

    border: 1px solid #e6eef5;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);

    transition: 0.35s ease;

    height: 100%;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0b2a4a;
    margin-bottom: 15px;
}

.service-card ul {
    padding-left: 18px;
}

.service-card ul li {
    margin-bottom: 6px;
    color: #4a5a6a;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #0b2a4a, #1091ae);
}

.service-card:hover h3,
.service-card:hover li {
    color: #fff;
}

/* ==========================================================
   WHY SECTION
========================================================== */
.calibration-why {
    padding: 90px 0;
    background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.calibration-why h2 {
    font-weight: 700;
    color: #0b2a4a;
}

/* WHY CARD */
.why-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;

    border: 1px solid #e6eef5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    font-weight: 500;
    color: #0b2a4a;

    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, #0b2a4a, #1091ae);
    color: #fff;
}

/* ==========================================================
   CTA
========================================================== */
.calibration-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, #08446e, #1091ae);
    color: #fff;
}

.calibration-cta h3 {
    font-size: 28px;
    font-weight: 700;
}

.calibration-cta p {
    margin: 15px 0;
    opacity: 0.9;
}

/* ==========================================================
   FOOTER TAGLINE
========================================================== */
.calibration-footer {
    padding: 60px 0;
    background: #ffffff;
}

.calibration-footer h4 {
    font-weight: 600;
    color: #0b2a4a;
}

.calibration-footer p {
    color: #5b6b7a;
}

/* ==========================================================
   ANIMATION
========================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media(max-width:768px){

    .calibration-request-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .calibration-gallery-column {
        padding-top: 0;
        text-align: center;
        order: 2;
    }

    .calibration-form-column {
        order: 1;
    }

    .calibration-gallery-column h2 {
        text-align: center;
    }

    .calibration-carousel {
        height: 320px;
    }

    .calibration-hero h1 {
        font-size: 28px;
    }

    .calibration-form-section form {
        padding: 25px;
    }

    .service-card {
        margin-bottom: 20px;
    }

}
