/* ========== Root Variables ========== */
:root {
    --primary: #3b1e54;
    --secondary: #9d7af2;
    --accent: #f4c542;
    --dark: #140f1f;
    --light: #ffffff;
    --menu-bg: rgba(32, 18, 50, 0.96);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --font-heading: "Cinzel Decorative", serif;
    --font-body: "Lora", serif;
}





.mobile-menu a,
a {
    text-decoration: none !important;
}


.py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}



/* ========== Base ========== */
body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section {
    overflow: hidden;
}

/* ========== Navbar ========== */
.astro-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(135deg,
            rgba(157, 122, 242, 0.80),
            /* lighter violet with transparency */
            rgba(59, 30, 84, 0.80)
            /* deep purple with transparency */
        );
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0.6rem 0;
    backdrop-filter: blur(8px);
    /* adds a soft glass look */
}

.astro-navbar img {
    background: rgba(255, 255, 255, 0.482);
    border-radius: 8px;
    padding: 4px 6px;
}



.astro-logo {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.8rem;
}

.astro-menu li {
    margin: 0 1rem;
}

.astro-menu a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.astro-menu a:hover,
.astro-menu a.active {
    color: var(--accent);
}

.btn-astro {
    background: var(--accent);
    border: none;
    color: var(--dark);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: 0.3s;
    font-weight: 600;
}

.btn-call {
    border: none;
    color: var(--light);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: 0.3s;
    font-weight: 600;
}









.btn-astro:hover {
    background: var(--light);
    color: var(--primary);
}

/* ===== Mobile Menu ===== */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--menu-bg);
    padding: 3rem 2rem;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.open {
    right: 0;
}

.menu-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.menu-close-btn:hover {
    transform: rotate(90deg);
    color: var(--light);
}

.mobile-menu a {
    color: var(--light);
    font-size: 1.25rem;
    margin: 1rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* ===== Hero Carousel ===== */
.astro-banner {
    background: linear-gradient(135deg, #fff7f9 0%, #f4f2ff 50%, #eefcff 100%);
    padding: 7rem 0 6rem;
}

.banner-text h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

.banner-text p {
    font-family: var(--font-body);
    color: #333;
}

.view-more {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid var(--dark);
    text-decoration: none;
    transition: 0.3s;
}

.view-more:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.banner-img img {
    max-width: 100%;
    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Carousel Arrows ===== */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    opacity: 1;
    z-index: 10;
}

.custom-arrow svg {
    transition: all 0.3s ease;
}

.carousel-control-prev:hover svg line,
.carousel-control-next:hover svg line,
.carousel-control-prev:hover svg circle,
.carousel-control-next:hover svg circle {
    stroke: var(--accent);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .banner-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .astro-navbar {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .astro-logo {
        font-size: 1.4rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .astro-banner {
        padding: 6rem 0 3rem;
    }
}

/* ===== Astro Footer Enhanced ===== */
.astro-footer {
    font-family: var(--font-body);
    color: var(--primary);
    /* All text uses primary color */
}

.astro-footer p,
.astro-footer h5 {
    color: var(--primary);

}


.footer-bg {
    background: url('https://stellarium.bold-themes.com/light/wp-content/uploads/sites/6/2018/03/footer_pink_background.jpg') no-repeat center center;
    background-size: cover;
    padding: 4rem 0 0;
}

.footer-logo {
    max-width: 150px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
    color: var(--primary);
}

.footer-underline svg circle,
.footer-underline svg line {
    stroke: var(--primary);
    /* SVG underline color */
}

.astro-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.astro-footer a:hover {
    color: var(--accent);
}

.social-icons a {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

.footer hr {
    border-color: rgba(59, 30, 84, 0.2);
    /* semi-transparent primary */
}

@media (max-width: 767px) {
    .text-md-center {
        text-align: center !important;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }
}














/* ===== Service Categories Section ===== */
/* .service-categories {
    background: #f9f8ff;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
}

.service-card h5 {
    color: var(--primary);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}
 */














/* ===== Service Categories Section ===== */
.service-categories {
    background: #f9f8ff;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100%;
    height: auto;
}

.service-card h5 {
    color: var(--primary);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}











/* ===== Product Card ===== */
.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.product-image:hover img.hover-img {
    opacity: 1;
}

.product-image:hover img.main-img {
    opacity: 0;
}

.product-card h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
}

.product-card .price {
    text-decoration: line-through;
    color: #888;
}

.product-card .offer-price {
    color: var(--accent);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Swiper navigation buttons color */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}














/*  */
/* ===== Testimonial Section ===== */
.testimonial-section {
    background: #f4f2ff;
}

.testimonial-card {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 2rem 1.5rem;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.testimonial-designation {
    font-size: 0.85rem;
    color: var(--secondary);
}

/* Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--accent);
}

@media (max-width: 767px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
}



.custom-carousel-btn {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 10;
    cursor: pointer;
    opacity: 1;
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.custom-carousel-btn svg line,
.custom-carousel-btn svg circle {
    stroke: var(--primary);
    transition: stroke 0.3s;
}

.custom-carousel-btn:hover svg line,
.custom-carousel-btn:hover svg circle {
    stroke: var(--accent);
}









.about-section {
    background: linear-gradient(135deg, #f4f2ff 0%, #eefcff 100%);
}

.about-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
}

.about-section p {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
}

.about-section .about-img {
    max-width: 100%;
    animation: floatY 6s ease-in-out infinite;
}

@media (max-width: 991px) {
    .about-section .row {
        text-align: center;
    }

    .about-section .col-md-6 {
        margin-bottom: 2rem;
    }
}














.gallery-section {
    background: #f9f8ff;
}

.gallery-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
}

.gallery-section p {
    font-family: var(--font-body);
    color: #333;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}




.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}



@media (max-width: 767px) {
    .gallery-img {
        height: 200px;
    }
}












.page-header-banner {
    background: url('https://stellarium.bold-themes.com/light/wp-content/uploads/sites/6/2018/02/hero_slider_03.png') no-repeat center center;
    background-size: cover;
    position: relative;
    text-align: center;
    padding-top: 8rem !important
}

.page-header-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 30, 84, 0.6);
    /* Dark overlay for readability */
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner .page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
}

.page-header-banner .breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header-banner .breadcrumb a:hover {
    color: var(--light);
}

.page-header-banner .breadcrumb .active {
    color: var(--light);
}





/* .promise-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.promise-title {
    font-weight: 700;
    font-size: 2rem;
    color: #2d3e50;
    margin-bottom: 40px;
}

.promise-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 12px;
}

.promise-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

.promise-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
    background-color: #fff;
}

.promise-item:hover .promise-img {
    border-color: #772C84;
    background-color: #f7eaff;
}

.promise-text {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
} */



/* ===== Counter Section ===== */
.counter-section {
    background: linear-gradient(135deg, #f4f2ff 0%, #eefcff 100%);
    text-align: center;
}

.counter-box {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.counter-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.counter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.counter-box p {
    font-size: 1rem;
    color: var(--dark);
    margin-top: 0.5rem;
    font-family: var(--font-body);
}

@media (max-width: 767px) {
    .counter-box {
        padding: 1.5rem 1rem;
    }

    .counter {
        font-size: 2rem;
    }
}

/* Counter + sign via pseudo-element so JS only deals with numbers */
.counter {
    position: relative;
    /* for ::after */
    display: inline-block;
}

.counter::after {
    content: "+";
    font-family: var(--font-body);
    font-size: 1.1em;
    margin-left: 4px;
    color: var(--accent);
    vertical-align: top;
}