/* =========================================================
   SOLAR SERVICE DETAIL PAGE
   PRAKASH SOLAR GREEN ENERGY
========================================================= */

.service-detail-page,
.service-detail-section {
    --solar-green: #148044;
    --solar-dark: #063b22;
    --solar-deep: #042c19;
    --solar-light: #eaf8e2;
    --solar-lime: #98e86b;
    --solar-text: #173d29;
    --solar-muted: #68776e;
    --solar-border: #e2ebe5;
    --solar-bg: #f6f9f7;
}

.service-detail-section {
    background: var(--solar-bg);
}


/* =========================================================
   HERO
========================================================= */

.service-detail-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 100px 0 90px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #063b22 0%,
            #087641 55%,
            #0b8b4a 100%
        );

    color: #fff;
}

.service-detail-hero.has-banner-image {
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 42, 23, .94) 0%,
            rgba(4, 65, 35, .82) 48%,
            rgba(5, 66, 36, .58) 100%
        ),
        var(--service-banner-image);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(151,232,107,.16),
            transparent 30%
        );

    pointer-events: none;
}

.service-hero-glow {
    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    top: -170px;

    border-radius: 50%;

    background: rgba(154,232,107,.08);

    filter: blur(10px);

    pointer-events: none;
}

.service-detail-hero .container {
    position: relative;
    z-index: 3;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.service-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 35px;

    color: rgba(255,255,255,.62);

    font-size: 13px;
}

.service-detail-breadcrumb a {
    color: #fff;
    text-decoration: none;

    transition: .25s ease;
}

.service-detail-breadcrumb a:hover {
    color: var(--solar-lime);
}

.service-detail-breadcrumb span {
    color: rgba(255,255,255,.48);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.service-hero-content {
    max-width: 850px;
}

.service-detail-eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    border: 1px solid rgba(169,238,124,.28);
    border-radius: 50px;

    background: rgba(169,238,124,.09);

    color: #a9ee7c;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-hero-content h1 {
    max-width: 850px;

    margin: 18px 0 22px;

    color: #fff;

    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.8px;
}

.service-hero-content p {
    max-width: 720px;

    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   MAIN SERVICE SECTION
========================================================= */

.service-detail-section {
    padding: 95px 0;
}

.service-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        370px;

    gap: 35px;

    align-items: start;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.service-detail-main {
    min-width: 0;
}

.service-featured-image {
    width: 100%;

    margin-bottom: 38px;

    overflow: hidden;

    border-radius: 24px;

    background: #eaf1ec;

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);
}

.service-featured-image img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
}


/* =========================================================
   CONTENT HEADING
========================================================= */

.service-content-heading {
    margin-bottom: 20px;
}

.service-content-heading span {
    position: relative;

    display: inline-block;

    padding-left: 15px;

    color: var(--solar-green);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-content-heading span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 5px;
    height: 18px;

    border-radius: 10px;

    background: var(--solar-green);

    transform: translateY(-50%);
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.service-detail-content {
    color: var(--solar-muted);

    font-size: 16px;
    line-height: 1.9;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.service-detail-content h2,
.service-detail-content h3,
.service-detail-content h4 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: var(--solar-text);

    font-weight: 800;
    line-height: 1.3;
}

.service-detail-content h2 {
    font-size: 32px;
}

.service-detail-content h3 {
    font-size: 26px;
}

.service-detail-content h4 {
    font-size: 21px;
}

.service-detail-content ul,
.service-detail-content ol {
    margin: 20px 0;
    padding-left: 22px;
}

.service-detail-content li {
    margin-bottom: 9px;
}

.service-detail-content strong {
    color: var(--solar-text);
}

.service-detail-content a {
    color: var(--solar-green);
    font-weight: 600;
}


/* =========================================================
   SERVICE IMAGE GRID
========================================================= */

.service-image-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 40px;
}

.service-detail-image {
    overflow: hidden;

    min-height: 230px;

    border-radius: 18px;

    background: #e8eee9;
}

.service-detail-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 230px;

    object-fit: cover;

    transition: transform .5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   BENEFITS
========================================================= */

.service-benefits {
    margin-top: 55px;
    padding-top: 45px;

    border-top: 1px solid var(--solar-border);
}

.section-mini-heading {
    margin-bottom: 25px;
}

.section-mini-heading > span {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--solar-green);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-mini-heading h3 {
    max-width: 650px;

    margin: 0;

    color: var(--solar-text);

    font-size: 30px;
    line-height: 1.25;

    font-weight: 800;
}

.benefit-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 24px;

    border: 1px solid var(--solar-border);
    border-radius: 17px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);

    border-color: #c3dfca;

    box-shadow:
        0 14px 35px rgba(0,0,0,.06);
}

.benefit-icon {
    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--solar-light);
    color: var(--solar-green);

    font-size: 19px;
}

.benefit-card h4 {
    margin: 0 0 7px;

    color: var(--solar-text);

    font-size: 16px;
    font-weight: 750;
}

.benefit-card p {
    margin: 0;

    color: var(--solar-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   SIDEBAR
========================================================= */

.service-sidebar-column {
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 100px;
    height: max-content;
    z-index: 10;
}

/* Sticky wrapper kept static so the sidebar column itself controls sticky behavior */
.service-sidebar-sticky {
    position: static;
    width: 100%;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.service-contact-card {
    position: relative;

    padding: 30px;

    overflow: hidden;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #063b22,
            #087b42
        );

    color: #fff;

    box-shadow:
        0 18px 40px rgba(3,58,29,.14);
}

.service-contact-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);
}

.contact-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;
}

.contact-card-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #96e76b;
    color: #063b22;

    font-size: 19px;
}

.contact-card-top span {
    color: #a9ee7c;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.service-contact-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    color: #fff;

    font-size: 26px;
    line-height: 1.2;

    font-weight: 800;
}

.service-contact-card > p {
    position: relative;
    z-index: 2;

    margin-bottom: 22px;

    color: rgba(255,255,255,.72);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SIDEBAR CONTACT LINKS
========================================================= */

.sidebar-contact-link {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 11px;
    padding: 11px 13px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    background: rgba(255,255,255,.07);

    color: #fff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    overflow-wrap: anywhere;

    transition: .25s ease;
}

.sidebar-contact-link i {
    color: #a9ee7c;
}

.sidebar-contact-link:hover {
    background: rgba(255,255,255,.13);

    color: #fff;

    transform: translateX(3px);
}

.sidebar-whatsapp {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;
    padding: 12px 15px;

    border-radius: 10px;

    background: #25d366;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .25s ease;
}

.sidebar-whatsapp:hover {
    background: #1fba59;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   ENQUIRY FORM
========================================================= */

.service-enquiry-card {
    padding: 30px;

    border: 1px solid var(--solar-border);
    border-radius: 21px;

    background: #fff;

    box-shadow:
        0 15px 40px rgba(0,0,0,.05);
}

.form-heading {
    margin-bottom: 23px;
}

.form-heading > span {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--solar-green);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.form-heading h3 {
    margin: 0;

    color: var(--solar-text);

    font-size: 24px;
    line-height: 1.25;

    font-weight: 800;
}

.service-enquiry-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.service-enquiry-form .form-group {
    width: 100%;
}

.service-enquiry-form label {
    display: block;

    margin-bottom: 7px;

    color: var(--solar-text);

    font-size: 12px;
    font-weight: 700;
}

.service-enquiry-form input,
.service-enquiry-form textarea,
.service-enquiry-form select {
    width: 100%;

    border: 1px solid #dce6df;
    border-radius: 10px;

    background: #fbfdfb;

    color: var(--solar-text);

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.service-enquiry-form input,
.service-enquiry-form select {
    height: 48px;

    padding: 0 13px;
}

.service-enquiry-form textarea {
    min-height: 110px;

    padding: 12px 13px;

    resize: vertical;
}

.service-enquiry-form input::placeholder,
.service-enquiry-form textarea::placeholder {
    color: #9ba8a0;
}

.service-enquiry-form input:focus,
.service-enquiry-form textarea:focus,
.service-enquiry-form select:focus {
    border-color: var(--solar-green);

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(20,128,68,.09);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.service-submit-btn {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 2px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #178548,
            #096d39
        );

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.service-submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(20,128,68,.20);
}

.service-submit-btn i {
    font-size: 15px;
}


/* =========================================================
   ADDRESS CARD
========================================================= */

.service-address-card {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 25px;

    border: 1px solid var(--solar-border);
    border-radius: 18px;

    background: #fff;
}

.address-card-icon {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--solar-light);
    color: var(--solar-green);

    font-size: 18px;
}

.service-address-card > div:last-child {
    min-width: 0;
}

.service-address-card > div:last-child > span {
    display: block;

    margin-bottom: 8px;

    color: var(--solar-green);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.service-address-card p {
    margin: 0 0 5px;

    color: var(--solar-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   SOCIAL MEDIA CARD
========================================================= */

.sidebar-social-card {
    padding: 25px;

    border: 1px solid var(--solar-border);
    border-radius: 18px;

    background: #fff;
}

.sidebar-card-heading {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.sidebar-small-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    border-radius: 11px;

    background: var(--solar-light);
    color: var(--solar-green);

    font-size: 17px;
}

.sidebar-card-heading span {
    display: block;

    color: var(--solar-green);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.sidebar-card-heading h3 {
    margin: 3px 0 0;

    color: var(--solar-text);

    font-size: 19px;
    font-weight: 800;
}

.sidebar-social-icons {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.sidebar-social-icons a {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e0e8e3;
    border-radius: 50%;

    background: #fff;

    color: #4d6557;

    text-decoration: none;

    transition: .25s ease;
}

.sidebar-social-icons a:hover {
    border-color: var(--solar-green);

    background: var(--solar-green);

    color: #fff;

    transform: translateY(-3px);
}


/* =========================================================
   SERVICES SIDEBAR
========================================================= */

.sidebar-services-card {
    padding: 25px;

    border: 1px solid var(--solar-border);
    border-radius: 18px;

    background: #fff;
}

.sidebar-services-list {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.sidebar-service-item {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px 10px;

    border-radius: 10px;

    color: var(--solar-text);

    text-decoration: none;

    transition: .2s ease;
}

.sidebar-service-item:hover,
.sidebar-service-item.active {
    background: var(--solar-light);

    color: var(--solar-green);
}

.sidebar-service-icon {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f0f5f1;

    color: var(--solar-green);

    font-size: 13px;
}

.sidebar-service-item.active .sidebar-service-icon {
    background: var(--solar-green);
    color: #fff;
}

.sidebar-service-title {
    min-width: 0;

    flex: 1;

    font-size: 12px;
    font-weight: 650;

    line-height: 1.4;
}

.sidebar-service-arrow {
    font-size: 12px;

    color: #9aaba0;
}

.sidebar-service-item:hover .sidebar-service-arrow,
.sidebar-service-item.active .sidebar-service-arrow {
    color: var(--solar-green);
}

.sidebar-view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid var(--solar-border);

    color: var(--solar-green);

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;
}

.sidebar-view-all:hover {
    color: var(--solar-dark);
}


/* =========================================================
   RELATED SERVICES
========================================================= */

.related-services-section {
    padding: 90px 0;

    background: #fff;
}

.related-heading {
    max-width: 700px;

    margin-bottom: 40px;
}

.related-heading > span {
    color: var(--solar-green);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.related-heading h2 {
    margin: 10px 0 12px;

    color: var(--solar-text);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;

    font-weight: 800;
}

.related-heading p {
    margin: 0;

    color: var(--solar-muted);

    font-size: 15px;
    line-height: 1.7;
}

.related-services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.related-service-card {
    position: relative;

    padding: 28px;

    border: 1px solid var(--solar-border);
    border-radius: 19px;

    background: #fff;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.related-service-card:hover {
    transform: translateY(-5px);

    border-color: #bddac5;

    box-shadow:
        0 18px 40px rgba(0,0,0,.07);
}

.related-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    color: #fff;

    font-size: 22px;
}

.related-service-card h3 {
    margin: 0 0 10px;

    color: var(--solar-text);

    font-size: 19px;
    line-height: 1.35;

    font-weight: 750;
}

.related-service-card p {
    margin: 0 0 18px;

    color: var(--solar-muted);

    font-size: 13px;
    line-height: 1.7;
}

.related-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--solar-green);

    font-size: 12px;
    font-weight: 750;
}

.related-link i {
    transition: transform .2s ease;
}

.related-service-card:hover .related-link i {
    transform: translateX(4px);
}


/* =========================================================
   SOCIAL STRIP
========================================================= */

.service-social-strip {
    padding: 55px 0;

    background:
        linear-gradient(
            135deg,
            #063b22,
            #087b42
        );
}

.social-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.social-strip-inner > div:first-child > span {
    color: #a9ee7c;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.social-strip-inner h3 {
    margin: 7px 0 0;

    color: #fff;

    font-size: 27px;
    font-weight: 800;
}

.service-social-icons {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 9px;
}

.service-social {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    text-decoration: none;

    transition: .25s ease;
}

.service-social i {
    color: #fff;
}

.service-social:hover {
    transform: translateY(-4px);

    background: #9bea6c;

    border-color: #9bea6c;

    color: #063b22;
}

.service-social:hover i {
    color: #063b22;
}


/* =========================================================
   SOCIAL SPECIFIC HOVER
========================================================= */

.service-social.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.service-social.instagram:hover {
    background: #e4405f;
    border-color: #e4405f;
}

.service-social.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.service-social.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.service-social.twitter:hover {
    background: #111;
    border-color: #111;
}

.service-social.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.service-social.telegram:hover {
    background: #229ed9;
    border-color: #229ed9;
}

.service-social.facebook:hover i,
.service-social.instagram:hover i,
.service-social.youtube:hover i,
.service-social.linkedin:hover i,
.service-social.twitter:hover i,
.service-social.whatsapp:hover i,
.service-social.telegram:hover i {
    color: #fff;
}


/* =========================================================
   COMMON SERVICES CARD
   Used by main + related solar services
========================================================= */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border: 1px solid var(--solar-border);
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--solar-green), var(--solar-lime));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #c9dfd0;
    box-shadow: 0 18px 40px rgba(6, 59, 34, .08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 15px;
    background: var(--solar-light);
    color: var(--solar-green);
    font-size: 23px;
    transition: .25s ease;
}

.service-card:hover .service-icon {
    background: var(--solar-green);
    color: #fff;
    transform: translateY(-2px);
}

.service-card h3 {
    margin: 10px 0 10px;
    color: var(--solar-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
}

.service-card p {
    margin: 0 0 22px;
    color: var(--solar-muted);
    font-size: 13px;
    line-height: 1.7;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--solar-green);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.service-card > a i {
    transition: transform .2s ease;
}

.service-card:hover > a i {
    transform: translate(3px, -3px);
}

/* =========================================================
   ANIMATION
========================================================= */

.reveal {
    animation: serviceReveal .7s ease both;
}

@keyframes serviceReveal {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .service-detail-layout {
        grid-template-columns:
            minmax(0, 1fr)
            330px;
    }

    .service-detail-hero {
        min-height: 480px;
    }

    .service-hero-content h1 {
        font-size: 56px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 991px) {

    .service-detail-hero {
        min-height: auto;

        padding: 80px 0 70px;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    /* Disable sticky only when the layout becomes a single column */
    .service-sidebar-column {
        position: static;
        top: auto;
        width: 100%;
    }

    .service-sidebar-sticky {
        position: static;
    }

    .service-detail-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        align-items: start;
    }

    .service-contact-card {
        grid-column: 1 / -1;
    }

    .service-enquiry-card {
        grid-column: 1 / 2;
    }

    .service-address-card,
    .sidebar-social-card,
    .sidebar-services-card {
        grid-column: auto;
    }

    .related-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .social-strip-inner {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .service-detail-hero {
        padding: 65px 0 55px;
    }

    .service-detail-breadcrumb {
        margin-bottom: 25px;
    }

    .service-hero-content h1 {
        margin: 15px 0 18px;

        font-size: 40px;

        letter-spacing: -.8px;
    }

    .service-hero-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .service-detail-section {
        padding: 60px 0;
    }

    .service-featured-image {
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .service-featured-image img {
        height: 300px;
    }

    .service-image-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        min-height: 220px;
    }

    .service-detail-image img {
        min-height: 220px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        display: flex;
        flex-direction: column;
    }

    .service-contact-card,
    .service-enquiry-card,
    .service-address-card,
    .sidebar-social-card,
    .sidebar-services-card {
        width: 100%;
    }

    .service-card {
        padding: 24px;
    }

    .related-services-section {
        padding: 60px 0;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .social-strip-inner h3 {
        font-size: 24px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .service-detail-hero {
        padding: 55px 0 48px;
    }

    .service-hero-content h1 {
        font-size: 34px;
    }

    .service-hero-content p {
        font-size: 15px;
    }

    .service-detail-section {
        padding: 50px 0;
    }

    .service-featured-image img {
        height: 240px;
    }

    .service-content-heading span {
        font-size: 11px;
    }

    .service-detail-content {
        font-size: 15px;
    }

    .section-mini-heading h3 {
        font-size: 25px;
    }

    .benefit-card {
        padding: 20px;
    }

    .service-contact-card,
    .service-enquiry-card,
    .sidebar-social-card,
    .sidebar-services-card {
        padding: 24px;
    }

    .service-contact-card h3 {
        font-size: 23px;
    }

    .related-service-card {
        padding: 24px;
    }

    .service-social-strip {
        padding: 45px 0;
    }

    .service-social-icons {
        width: 100%;
    }

}