/* =========================================================
   SADHIKA RESEARCH & PUBLICATIONS
   OUR SERVICES PAGE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.service-page {
    width: 100%;
    overflow: hidden;

    font-family: Georgia, "Times New Roman", serif;

    color: #102a43;
}

.service-page *,
.service-page *::before,
.service-page *::after {
    box-sizing: border-box;
}

.service-container {
    width: 90%;
    max-width: 1390px;
    margin: 0 auto;
}


/* =========================================================
   SERVICES HERO
========================================================= */

.service-hero {
    position: relative;

    width: 100%;
    height: 300px;

    display: flex;
    align-items: center;

    background-image: url("../images/hero/services-hero.jpg");
    background-size: cover;
    background-position: center;

    overflow: hidden;

    margin-bottom: 25px;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 31, 57, 0.97) 0%,
            rgba(5, 31, 57, 0.91) 35%,
            rgba(5, 31, 57, 0.62) 65%,
            rgba(5, 31, 57, 0.10) 100%
        );

    z-index: 1;
}

.service-hero-container {
    position: relative;

    z-index: 2;

    width: 90%;
    max-width: 1390px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 45px;

    padding: 24px 0;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.service-hero-content {
    animation: serviceHeroIn 0.9s ease both;
}

.service-breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    font-size: 15px;

    color: #ffffff;
}

.service-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.service-breadcrumb a:hover {
    color: #d2a331;
}

.service-breadcrumb span:nth-child(2) {
    color: #d2a331;
}

.service-hero h1 {
    margin: 0 0 4px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 5vw, 65px);

    line-height: 1.05;

    font-weight: 600;

    color: #ffffff;
}

.service-hero-content > p {
    max-width: 610px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(21px, 2.1vw, 29px);

    line-height: 1.3;

    color: #ffffff;

    text-align: left;
}


/* =========================================================
   HERO FEATURES
========================================================= */

.service-hero-features {
    padding-left: 30px;

    border-left: 2px solid rgba(210, 163, 49, 0.75);

    animation: serviceFeaturesIn 1s ease 0.15s both;
}

.service-hero-feature {
    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 40px;

    margin-bottom: 4px;

    color: #ffffff;
}

.service-hero-feature:last-child {
    margin-bottom: 0;
}

.hero-feature-icon {
    width: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #f0bd37;

    font-size: 27px;
}

.service-hero-feature span {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    color: #ffffff;
}


/* =========================================================
   SERVICES MAIN
========================================================= */

.services-main-section {
    width: 100%;

    background: #ffffff;

    padding: 0 0 25px;
}

.services-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    gap: 22px;

    align-items: start;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.service-section-heading {
    margin: 0 0 18px;
}

.service-section-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;

    line-height: 1.2;

    font-weight: 600;

    color: #102a43;
}

.service-section-heading span {
    display: block;

    width: 36px;
    height: 3px;

    margin-top: 7px;

    background: #c49324;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.service-cards-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    row-gap: 14px;
}

.service-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e4e4;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #d6b15b;

    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.10);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.service-card-image {
    position: relative;

    width: 100%;

    height: 100px;

    overflow: hidden;

    background: #eeeeee;
}

.service-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}


/* =========================================================
   CARD ICON
========================================================= */

.service-card-icon {
    position: absolute;

    left: 13px;
    bottom: -18px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #c99320;

    border: 4px solid #ffffff;

    color: #ffffff;

    font-size: 21px;

    z-index: 2;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: rotate(6deg) scale(1.06);

    background: #b27e13;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.service-card-content {
    padding: 24px 13px 10px;
}

.service-card-content h3 {
    margin: 0 0 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    line-height: 1.2;

    color: #102a43;
}

.service-card-content p {
    min-height: 65px;

    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    line-height: 1.32;

    color: #102a43;

    text-align: justify;
}


/* =========================================================
   LEARN MORE
========================================================= */

.service-learn-more {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 116px;

    height: 25px;

    padding: 0 11px;

    border: 1px solid #c49324;

    background: #ffffff;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.service-learn-more span {
    font-size: 14px;
}

.service-learn-more:hover {
    background: #e8b73b;

    color: #102a43;

    transform: translateY(-2px);
}


/* =========================================================
   SIDEBAR
========================================================= */

.services-sidebar {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.service-sidebar-box {
    padding: 13px 15px;

    background: #fbfaf7;

    border: 1px solid #eee7d9;
}

.service-sidebar-box h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;

    line-height: 1.2;

    color: #102a43;
}

.sidebar-title-line {
    display: block;

    width: 30px;
    height: 3px;

    margin: 7px 0 10px;

    background: #c49324;
}


/* =========================================================
   BENEFITS
========================================================= */

.service-benefits {
    list-style: none;

    margin: 0;
    padding: 0;
}

.service-benefits li {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 7px 0;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    line-height: 1.25;
}

.service-benefits li i {
    width: 24px;

    flex: 0 0 24px;

    color: #c49324;

    text-align: center;

    font-size: 17px;
}


/* =========================================================
   NEED HELP
========================================================= */

.service-help-box p {
    margin: 8px 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    line-height: 1.45;

    color: #102a43;

    text-align: justify;
}

.service-sidebar-button {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 34px;

    padding: 6px 12px;

    background: #eab83e;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.service-sidebar-button:hover {
    background: #d5a42c;

    transform: translateY(-2px);
}


/* =========================================================
   ENQUIRY FORM
========================================================= */

.service-enquiry-box h3 {
    margin-bottom: 10px;
}

.service-enquiry-box form {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.service-enquiry-box input,
.service-enquiry-box select,
.service-enquiry-box textarea {
    width: 100%;

    border: 1px solid #d8d8d8;

    background: #ffffff;

    outline: none;

    padding: 8px 9px;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 12px;
}

.service-enquiry-box input,
.service-enquiry-box select {
    height: 31px;
}

.service-enquiry-box textarea {
    resize: vertical;

    min-height: 65px;
}

.service-enquiry-box input:focus,
.service-enquiry-box select:focus,
.service-enquiry-box textarea:focus {
    border-color: #c49324;
}

.service-enquiry-box button {
    min-height: 36px;

    border: none;

    background: #eab83e;

    color: #102a43;

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.service-enquiry-box button:hover {
    background: #d5a42c;

    transform: translateY(-2px);
}


/* =========================================================
   SERVICE PROCESS
========================================================= */

.service-process-section {
    margin-top: 28px;

    padding-top: 0;
}

.service-process-section .service-section-heading {
    margin-bottom: 25px;
}

.service-process-grid {
    display: grid;

    grid-template-columns:
        1fr
        45px
        1fr
        45px
        1fr
        45px
        1fr
        45px
        1fr
        45px
        1fr;

    align-items: center;

    width: 100%;
}

.process-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.process-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #082a4d;

    color: #d29c21;

    font-size: 21px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.process-item:hover .process-icon {
    transform: translateY(-6px);

    background: #102a43;
}

.process-item strong {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    font-weight: 600;

    color: #102a43;

    white-space: nowrap;
}

.process-arrow {
    display: flex;

    align-items: center;

    justify-content: center;

    color: #c49324;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.service-reveal {
    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.service-reveal.service-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   HERO ANIMATIONS
========================================================= */

@keyframes serviceHeroIn {

    from {
        opacity: 0;

        transform: translateX(-25px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}

@keyframes serviceFeaturesIn {

    from {
        opacity: 0;

        transform: translateX(25px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1401px) {

    .service-hero {
        min-height: 270px;
    }

    .service-cards-grid {
        gap: 14px;

        row-gap: 16px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1150px) {

    .service-container,
    .service-hero-container {
        width: 92%;
    }

    .services-layout {
        grid-template-columns:
            minmax(0, 1fr)
            245px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 14px;
    }

    .service-process-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 25px;
    }

    .process-arrow {
        display: none;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .service-hero {
        min-height: 270px;
    }

    .service-hero-container {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-hero-features {
        padding-left: 20px;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 5px 20px;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 14px;
    }

    .service-enquiry-box {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .service-container,
    .service-hero-container {
        width: 92%;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .service-hero {
        min-height: 390px;

        margin-bottom: 25px;

        background-position: 63% center;
    }

    .service-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 31, 57, 0.97) 0%,
                rgba(5, 31, 57, 0.91) 70%,
                rgba(5, 31, 57, 0.72) 100%
            );
    }

    .service-hero-container {
        padding: 30px 0;

        grid-template-columns: 1fr;

        gap: 25px;
    }

    .service-breadcrumb {
        margin-bottom: 15px;

        font-size: 14px;
    }

    .service-hero h1 {
        font-size: 45px;
    }

    .service-hero-content > p {
        font-size: 20px;

        line-height: 1.4;
    }

    .service-hero-features {
        grid-template-columns: 1fr;

        gap: 2px;

        padding-left: 15px;
    }

    .service-hero-feature {
        min-height: 39px;

        gap: 13px;
    }

    .hero-feature-icon {
        width: 32px;

        flex-basis: 32px;

        font-size: 23px;
    }

    .service-hero-feature span {
        font-size: 15px;
    }


    /* -----------------------------------------------------
       SERVICES
    ----------------------------------------------------- */

    .services-main-section {
        padding-bottom: 25px;
    }

    .service-section-heading {
        margin-bottom: 20px;
    }

    .service-section-heading h2 {
        font-size: 27px;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-card-image {
        height: 170px;
    }

    .service-card-content {
        padding: 27px 16px 15px;
    }

    .service-card-content h3 {
        font-size: 18px;

        margin-bottom: 7px;
    }

    .service-card-content p {
        min-height: auto;

        font-size: 14px;

        line-height: 1.5;

        margin-bottom: 12px;
    }

    .service-learn-more {
        min-width: 125px;

        height: 30px;

        font-size: 12px;
    }


    /* -----------------------------------------------------
       SIDEBAR
    ----------------------------------------------------- */

    .services-sidebar {
        display: flex;

        flex-direction: column;

        gap: 15px;

        margin-top: 25px;
    }

    .service-sidebar-box {
        padding: 16px;
    }

    .service-sidebar-box h3 {
        font-size: 21px;
    }


    /* -----------------------------------------------------
       PROCESS
    ----------------------------------------------------- */

    .service-process-section {
        margin-top: 35px;
    }

    .service-process-section .service-section-heading {
        margin-bottom: 25px;
    }

    .service-process-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 28px 12px;
    }

    .process-arrow {
        display: none;
    }

    .process-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 9px;
    }

    .process-item strong {
        font-size: 14px;

        white-space: normal;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .service-hero {
        min-height: 375px;
    }

    .service-hero-container {
        padding: 27px 0;
    }

    .service-hero h1 {
        font-size: 39px;
    }

    .service-hero-content > p {
        font-size: 18px;
    }

    .service-breadcrumb {
        font-size: 13px;
    }

    .service-section-heading h2 {
        font-size: 25px;
    }

    .service-card-image {
        height: 155px;
    }

    .service-card-content h3 {
        font-size: 17px;
    }

    .service-card-content p {
        font-size: 13.5px;
    }

    .service-process-grid {
        gap: 25px 8px;
    }

    .process-icon {
        width: 47px;
        height: 47px;

        font-size: 19px;
    }

    .process-item strong {
        font-size: 13px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .service-card,
    .service-card-image img,
    .service-card-icon,
    .service-learn-more,
    .service-sidebar-button,
    .service-enquiry-box button,
    .process-icon {
        transition: none;
    }

    .service-hero-content,
    .service-hero-features {
        animation: none;
    }

}