/********** Template CSS **********/
:root {
    --primary: #fba72d;
    --secondary: #de2d2a;
    --light: #EFF5F9;
    --dark: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif !important;
    color: #2c2c2c !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    color: #000 !important;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    line-height: 1.7 !important;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--secondary);
    border-color:var(--secondary);
}

.btn-primary:hover {
    /* color: #FFFFFF; */
    background-color: var(--primary);
    border-color:var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Playfair Display', serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) center center no-repeat;
    background-size: cover;
    aspect-ratio: 1800 / 790;
    height: auto;
}

@media (max-width: 991.98px) {
    .hero-header h1.hero-title {
        font-size: 2.5rem !important;
    }
    .hero-header .hero-btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-header h1.hero-title {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-header h1.hero-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    .hero-header .hero-btn {
        padding: 4px 10px !important;
        font-size: 9px !important;
    }
    .hero-header .hero-btn-container {
        padding-top: 0 !important;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.product-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.product-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(251, 167, 45, 0.3);
}

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.06);
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    opacity: 1;
}

.product-item h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-item p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #666;
    padding: 0 20px;
}

.product-item h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

.text-primary {
    color: var(--primary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.bg-primary {
    background-color: #fbab35 !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/* .btn-check:focus+.btn-dark, .btn-dark:focus{
    
} */

/* .border-bottom{
    border-bottom: 1px solid var(--secondary) !important;
} */

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}
    
.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #FFFFFF;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.bg-dark {
    background-color: #000 !important;
}

/* Premium Light Footer Styling */
.site-footer {
    background-color: #f7f3eb !important; /* Soft cream background to match primary palette */
    color: #2c2c2c;
    border-top: 2px solid var(--primary);
}

.site-footer p {
    color: #4b5563;
}

.site-footer h4 {
    color: #000000 !important;
}

.site-footer .footer-link {
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.site-footer .footer-link:hover {
    color: var(--secondary) !important;
    padding-left: 6px;
}

.site-footer .footer-link i {
    color: var(--primary);
    transition: all 0.3s ease;
}

.site-footer .footer-link:hover i {
    color: var(--secondary);
}

.site-footer .btn-primary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.site-footer .btn-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px);
}

.site-footer .input-group .form-control {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
}

.site-footer .input-group .form-control::placeholder {
    color: #9ca3af;
}

.site-footer .input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--primary) !important;
}

.site-footer-copyright {
    background-color: #efeae0 !important; /* Slightly darker cream for the copyright bar */
    border-top: 1px solid #e5e7eb !important;
}

.site-footer-copyright p {
    color: #4b5563;
    margin-bottom: 0;
}

.site-footer-copyright a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-copyright a:hover {
    color: var(--primary) !important;
}

/* Service Image Card Styling */
.service-img-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 2rem;
}

.service-img-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(251, 167, 45, 0.15); /* Soft gold shadow glow */
    outline: 2px solid var(--primary);
}

.service-img-card:hover img {
    transform: scale(1.02);
}

/* Service Lightbox Overlay */
.service-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-lightbox-overlay.active {
    opacity: 1;
}

.service-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-lightbox-overlay.active .service-lightbox-img {
    transform: scale(1);
    opacity: 1;
}

.service-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 100001;
}

.service-lightbox-close:hover {
    color: var(--primary);
}

/* Lightbox Next/Prev Buttons */
.service-lightbox-prev,
.service-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 15px 25px;
    transition: all 0.3s ease;
    z-index: 100000;
}

.service-lightbox-prev {
    left: 20px;
}

.service-lightbox-next {
    right: 20px;
}

.service-lightbox-prev:hover,
.service-lightbox-next:hover {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .service-lightbox-prev,
    .service-lightbox-next {
        font-size: 36px;
        padding: 10px 15px;
    }
    .service-lightbox-prev {
        left: 5px;
    }
    .service-lightbox-next {
        right: 5px;
    }
}

/* Responsive Image and Form Alignment Rules */
.profile-img-col {
    min-height: 500px;
}
@media (max-width: 991.98px) {
    .profile-img-col {
        min-height: 350px !important;
    }
}

.contact-form-row {
    margin-top: -200px;
    z-index: 2;
}
@media (max-width: 991.98px) {
    .contact-form-row {
        margin-top: -50px !important;
    }
}

/* Single Vlog / Article Styling */
.vlog-detail-img {
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
}
.vlog-detail-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.vlog-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c2c2c;
}
.vlog-content p {
    margin-bottom: 1.5rem;
}

/* Hover & Search Result Styling Helpers */
.hover-shadow-md {
    transition: all 0.3s ease;
}
.hover-shadow-md:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px);
}
.hover-text-primary {
    transition: color 0.2s ease;
}
.hover-text-primary:hover {
    color: var(--primary) !important;
}

/* Sidebar Styling inside Search */
.search-sidebar .widget,
.search-sidebar .widget_block {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 1.5rem;
}
.search-sidebar .widget:last-child,
.search-sidebar .widget_block:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Sidebar Headings styling */
.search-sidebar .widget-title,
.search-sidebar .wp-block-heading,
.search-sidebar h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    position: relative !important;
    padding-bottom: 0.5rem !important;
    color: #000 !important;
    border: 0 !important;
    display: block !important;
}
.search-sidebar .widget-title::after,
.search-sidebar .wp-block-heading::after,
.search-sidebar h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

/* Sidebar List elements */
.search-sidebar ul, 
.search-sidebar ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}
.search-sidebar li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #f1f1f1 !important;
}
.search-sidebar li:last-child {
    border-bottom: none !important;
}

/* Sidebar Link colors */
.search-sidebar a {
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}
.search-sidebar a:hover {
    color: var(--primary) !important;
    padding-left: 5px !important;
}

/* WordPress Block Search Widget styling */
.wp-block-search {
    margin-bottom: 1.5rem;
}
.wp-block-search__label {
    display: none !important; /* Hide the duplicate title label */
}
.wp-block-search__inside-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative !important;
    background-color: #fff !important;
    border: 1px solid var(--primary) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.wp-block-search__input {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    border: 0 !important;
    padding: .375rem 1rem !important;
    padding-left: 1.5rem !important;
    font-size: 15px !important;
    height: 48px !important;
    outline: none !important;
}
.wp-block-search__input:focus {
    box-shadow: none !important;
    outline: none !important;
}
.wp-block-search__button {
    color: #fff !important;
    background-color: var(--primary) !important;
    border: 0 !important;
    padding: .375rem 1.25rem !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    transition: background-color .15s ease-in-out !important;
    border-radius: 0 !important;
}
.wp-block-search__button:hover {
    background-color: var(--secondary) !important;
}

/* Custom Astrologer-themed Contact Cards */
.contact-card-astral {
    background-color: #ffffff;
    border: 1px solid rgba(251, 167, 45, 0.25);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.contact-card-astral:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(251, 167, 45, 0.12);
    border-color: var(--primary);
}

.contact-astral-icon-wrap {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-astral-icon-wrap::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed var(--primary);
    animation: spin-orbit 12s linear infinite;
}
.contact-astral-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(251, 167, 45, 0.3);
    transition: background-color 0.3s ease;
}
.contact-card-astral:hover .contact-astral-icon {
    background-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(222, 45, 42, 0.3);
}

@keyframes spin-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Astrologer Subtitle Styling */
.container h5.text-uppercase,
.container-fluid h5.text-uppercase,
.container h5.d-inline-block,
.container-fluid h5.d-inline-block {
    line-height: 2 !important;
    letter-spacing: 2px !important;
    margin-bottom: 12px !important;
}

/* Vlog/Video Card UI Enhancements */
.vlog-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.vlog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(251, 167, 45, 0.3);
}

.vlog-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #000;
}

.vlog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.9;
}

.vlog-card:hover .vlog-img-wrapper img {
    transform: scale(1.06);
    opacity: 0.75;
}

.vlog-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 52px;
    height: 52px;
    background: rgba(251, 167, 45, 0.95); /* Primary theme color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 2;
    pointer-events: none;
}

.vlog-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.vlog-card:hover .vlog-play-btn {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(222, 45, 42, 0.4);
}

.vlog-card .vlog-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.vlog-card:hover .vlog-title {
    color: var(--secondary) !important;
}