
.service-style1-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 80px 0 80px;
    z-index: 10;
}

.service-style1__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: var(--thm-base);
    background-blend-mode: luminosity;
    z-index: -1;
}

.service-style1__bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--thm-base);
    opacity: 0.95;
}


.service-style1__top {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 44px;
}

.service-style1__top-title {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
}

.service-style1__top-title .sec-title {
    padding: 0;
}

.service-style1__top-title .text {
    position: relative;
    display: block;
    max-width: 370px;
    width: 100%;
}

.service-style1__top-title .text p {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
    margin: 0;
}

.service-style1__top-button {
    position: relative;
    display: block;
    line-height: 0;
}


.service-style2-area {
    position: relative;
    display: block;
    padding: 120px 0 80px;
    background: #ffffff;
    z-index: 10;
}

.service-style2-area .gray-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 390px;
    background: #ebf1ed;
    z-index: -1;
}

.single-service-style2 {
    position: relative;
    display: block;
    margin-bottom: 40px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.single-service-style2 .img-holder {
    position: relative;
    display: block;
    overflow: hidden;
}

.single-service-style2 .img-holder:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.80;
    background-color: var(--thm-base);
    z-index: 1;
    transform: scale(0.0);
    transform-origin: bottom;
    transform-style: preserve-3d;
    transition: all 500ms ease 100ms;
}

.single-service-style2:hover .img-holder:before {
    transform: scale(1.0);
}

.single-service-style2 .img-holder .icon-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    color: #ffffff;
    font-size: 60px;
    background: var(--thm-base);
    transition: all 500ms ease;
    z-index: 2;
}

.single-service-style2:hover .img-holder .icon-box {
    color: var(--thm-black);
}

.single-service-style2 .img-holder .icon-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--thm-primary);
    z-index: 1;
    transform: scale(0.0);
    transform-origin: top;
    transform-style: preserve-3d;
    transition: all 500ms ease 100ms;
    z-index: -1;
}

.single-service-style2:hover .img-holder .icon-box:before {
    transform: scale(1.0);
}



.single-service-style2 .img-holder img {
    width: 100%;
}


.single-service-style2 .text-holder {
    position: relative;
    display: block;
    border-top: none;
    padding: 20px;
}

.single-service-style2 .text-holder::before {
    position: absolute;
    left: 50%;
	transform: translateX(-50%);
    bottom: -1px;
    height: 5px;
	width: 65%;
    background: var(--thm-base);
    content: "";
	transition: 0.3s all;
}


.single-service-style2:hover .text-holder::before {
	width: 80%;
}


.single-service-style2 .text-holder h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 800;
}

.single-service-style2 .text-holder h3 a {
    color: var(--thm-black);
}

.single-service-style2 .text-holder h3 a:hover {
    color: var(--thm-base);
}

.single-service-style2 .text-holder p {
    color: var(--title-color);
    display: inline-block;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}



/*** 
=============================================
    Service Details Area Css
=============================================
***/
.service-details-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 75px 0px;
    z-index: 10;
}

.service-details__sidebar {
    position: relative;
    display: block;
    max-width: 370px;
    width: 100%;
}

.view-all-service {
    position: relative;
    display: block;
}

.view-all-service .service-pages {
    position: relative;
    display: block;
}

.view-all-service .service-pages li {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.view-all-service .service-pages li:last-child {
    margin-bottom: 0px;
}

.view-all-service .service-pages li a {
    position: relative;
    display: block;
    background: #ebf1ed;
    padding: 0px 40px 0px;
    color: var(--thm-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 60px;
    font-family: var(--thm-font);
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 1;
        overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.view-all-service .service-pages li a i {
    position: absolute;
    display: block;
    color: #cbd7cf;
    font-size: 20px;
    font-weight: 700;
    float: right;
    line-height: 60px;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    right: 20px;
    top: 0px;
}

.view-all-service .service-pages li.current a i,
.view-all-service .service-pages li:hover a i {
    color: var(--thm-black);
}

.view-all-service .service-pages li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--thm-primary);
    transform: perspective(400px) scaleY(0);
    transform-origin: center;
    transition: all 300ms linear;
    transition-delay: 0.1s;
    z-index: -1;
}

.view-all-service .service-pages li:hover a::before,
.view-all-service .service-pages li.current a::before {
    transform: perspective(400px) scaleY(1.0);
}



.service-details-contact-info {
    position: relative;
    display: block;
    background: var(--thm-base);
    padding: 60px 65px 55px;
    margin-top: 30px;
}

.service-details-contact-info .top-box {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.service-details-contact-info .top-box .icon {
    position: relative;
    display: block;
    width: 80px;
    height: 80px;
    background: var(--thm-primary);
    border-radius: 50%;
    text-align: center;
    color: var(--thm-black);
    font-size: 25px;
    margin: 0 auto 25px;
}

.service-details-contact-info .top-box .icon span::before {
    position: relative;
    display: inline-block;
    line-height: 80px;
}

.service-details-contact-info .top-box h4 {
    color: #ffffff;
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
}


.service-details-contact-info .bottom-box {
    position: relative;
    display: block;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.service-details-contact-info .bottom-box p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    margin: 0;
}

.service-details-contact-info .bottom-box h2 {
    font-size: 24px;
    line-height: 26px;
    font-weight: 800;
    margin-top: 11px;
}

.service-details-contact-info .bottom-box h2 a {
    color: #ffffff;
}

.service-details-contact-info .bottom-box h2 a:hover {
    color: var(--thm-primary);
}



.service-details__content {
    position: relative;
    display: block;
}

.service-details__content .img-box1 {
    position: relative;
    display: block;
    overflow: hidden;
}

.service-details__content .img-box1::after {
    position: absolute;
    top: 0;
    left: -100%;
    content: '';
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
    z-index: 2;
}

.service-details__content .img-box1:hover::after {
    -webkit-animation: shine 1.5s;
    animation: shine 1.5s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}







.service-details__content .img-box1 img {
    width: 100%;
}

/*
=================================================
Creative Typography Override for .text-box1
=================================================
*/

/* --- Define creative variables for this section --- */
:root {
    --veda-dark-brown: #3D352E;
    --veda-accent-gold: #D97706;
    --veda-accent-deep: #BF6900;
    --veda-bg-subtle: #FFFBF5;
    --veda-border-light: #EADDCB;
    --font-serif-body: 'Lora', serif;
    --font-serif-display: 'Playfair Display', serif;
    --font-sans-heading: 'Poppins', sans-serif;
}

/* --- Base font and color for the main content box --- */
.service-details__content .text-box1 {
    font-family: var(--font-serif-body);
    color: var(--veda-dark-brown);
}

/* --- Heading Hierarchy Override --- */

/* Pre-Title ("Hast Rekha Jyotish") */
.service-details__content .text-box1 > h2:first-of-type {
    font-family: var(--font-sans-heading);
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--veda-accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
    line-height: 1.5 !important;
}

/* Main H1 Title */
.service-details__content .text-box1 h1 {
    font-family: var(--font-serif-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--veda-dark-brown);
    margin-bottom: 2rem;
}

/* Section Titles (all other H2s) */
.service-details__content .text-box1 h2:not(:first-of-type) {
    font-family: var(--font-sans-heading);
    font-size: clamp(1.6rem, 4vw, 2.1rem) !important;
    font-weight: 700 !important;
    color: var(--veda-dark-brown);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem !important;
    padding-bottom: 10px;
    position: relative;
    line-height: 1.3 !important;
}

/* Decorative underline for section titles */
.service-details__content .text-box1 h2:not(:first-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--veda-accent-gold);
}

/* --- Paragraphs & Text Elements Override --- */
.service-details__content .text-box1 p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    padding-bottom: 1rem !important; /* Adjust spacing */
}

/* Elegant drop cap for the first paragraph */
.service-details__content .text-box1 p:first-of-type::first-letter {
    color: var(--veda-accent-gold);
    float: left;
    font-family: var(--font-serif-display);
    font-size: 5rem;
    line-height: 0.8;
    padding: 0.2rem 0.6rem 0 0;
    margin-top: 8px;
}

.service-details__content .text-box1 strong {
    font-weight: 700;
    color: var(--veda-accent-deep);
}

.service-details__content .text-box1 a {
    color: var(--veda-accent-gold);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.service-details__content .text-box1 a:hover {
    border-bottom-color: var(--veda-accent-gold);
}

/* --- Custom List Styling --- */
.service-details__content .text-box1 ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.service-details__content .text-box1 ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Custom bullet point */
.service-details__content .text-box1 ul li::before {
    content: '✧';
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.2rem;
    color: var(--veda-accent-gold);
}

/* --- Subheadings (h4) and FAQ Styling --- */
.service-details__content .text-box1 h4 {
    font-family: var(--font-sans-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--veda-accent-deep);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

/* Special styling for the FAQ Questions (the h4 tags in the HTML) */
.service-details__content .text-box1 h4.faq-question {
    font-size: 1.2rem;
    color: var(--veda-dark-brown);
}

.service-details__content .text-box1 h4.faq-question::before {
    content: 'Q: ';
    font-weight: 700;
    color: var(--veda-accent-gold);
}

/* Special styling for the FAQ Answers (the p tags right after the h4) */
.service-details__content .text-box1 h4.faq-question + p {
    padding-left: 1.5rem !important;
    margin-left: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--veda-border-light);
}

.service-details__content .text-box1 h4.faq-question + p::before {
    content: 'A:';
    font-weight: 700;
    margin-right: 0.5em;
    color: var(--veda-dark-brown);
}

/* --- Final Call to Action Section --- */
/* You need to wrap the final section in a div with id="cta-section" */
.service-details__content .text-box1 #cta-section {
    margin-top: 4rem;
    background-color: var(--veda-bg-subtle);
    border: 1px solid var(--veda-border-light);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-details__content .text-box1 #cta-section h2 {
    text-align: center;
    margin-top: 0 !important;
    padding-bottom: 15px !important;
}
.service-details__content .text-box1 #cta-section h2::after {
    left: 50% !important;
    transform: translateX(-50%);
}

.service-details__content .text-box1 #cta-section p {
    font-size: 1.15rem !important;
    margin: 0;
}

.service-details__content .text-box2 {
    position: relative;
    display: block;
    margin-top: 48px;
    margin-bottom: 50px;
}

.service-details__content .text-box2 .text-box2-single {
    position: relative;
    display: block;
    border: 1px solid #cad7cf;
    padding: 21px 30px 17px;
}

.service-details__content .text-box2 .text-box2-single h4 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.service-details__content .text-box2 .text-box2-single h4 span::before {
    position: relative;
    display: inline-block;
    color: var(--thm-primary);
    font-size: 20px;
    top: 2px;
    padding-right: 7px;
}



.service-details__content .text-box3 {
    position: relative;
    display: block;
}

.service-details__content .text-box3 p {
    font-size: 18px;
    line-height: 34px;
    margin: 0;
}



.service-details__content .text-box4 {
    position: relative;
    display: block;
    margin-top: 48px;
}

.service-details__content .text-box4 .img-box {
    position: relative;
    display: block;
}

.service-details__content .text-box4 .img-box img {
    width: 100%;
}

.service-details__content .text-box4 .content-box {
    position: relative;
    display: block;
    margin-top: -7px;
}

.service-details__content .text-box4 .content-box h2 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-details__content .text-box4 .content-box p {
    font-size: 20px;
    line-height: 34px;
    margin: 0;
}



.service-details__content .text-box4 .content-box ul {
    position: relative;
    display: block;
    margin-top: 33px;
}

.service-details__content .text-box4 .content-box ul li {
    position: relative;
    display: block;
    margin-bottom: 18px;
}

.service-details__content .text-box4 .content-box ul li:last-child {
    margin-bottom: 0;
}

.service-details__content .text-box4 .content-box ul li h4 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.service-details__content .text-box4 .content-box ul li h4 span::before {
    position: relative;
    display: inline-block;
    color: var(--thm-primary);
    font-size: 20px;
    top: 2px;
    padding-right: 7px;
}