/* About Page Slider */
.al-about-wrap {
    position: relative;
    padding: 0 0 0 50px;
    max-width: 552px;
}

.al-about-slider {
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
    padding: 0 17px 40px 40px;
}

.al-about-slider::after {
    position: absolute;
    content: '';
    top: 90px;
    background-color: #f6f6f6;
    z-index: -1;
    left: 0;
    bottom: 0;
    right: 90px;
}

.al-about-slider .swiper-container {
    width: 100%;
    height: auto;
}

.al-aboutimg {
    position: relative;
}

.al-aboutimg img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.al-bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.al-bullets .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s;
}

.al-bullets .swiper-pagination-bullet-active {
    background-color: var(--sat-orange);
    width: 30px;
    border-radius: 6px;
}

/* Contact Expert Section */
.al-contact-expert {
    display: flex;
    background-color: var(--al-alternate-bg);
    border-radius: var(--al-radius10);
    padding: 20px;
    align-items: center;
    max-width: fit-content;
    flex-wrap: wrap;
}

.al-contact-expert.al-contat-about {
    background-color: var(--al-primary-color);
}

.al-contact-expert.al-contat-about .al-icon:before {
    border-color: var(--al-white);
}

.al-contact-expert .al-icon:before {
    position: absolute;
    left: -7px;
    top: -7px;
    bottom: -7px;
    right: -7px;
    border: 1px dashed var(--al-primary-color);
    content: '';
    border-radius: 100%;
}

.al-contact-expert:hover .al-icon:before {
    animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.al-contact-expert .al-icon {
    width: 65px;
    height: 65px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    position: relative;
    background-color: var(--al-white);
}

.al-contact-expert.al-contat-about .al-icon {
    background-color: var(--al-white);
}

.al-contact-expert.al-contat-about .cls-1 {
    fill: var(--al-primary-color);
}

.al-contact-expert.al-contat-about .al-orange,
.al-contact-expert.al-contat-about h5 {
    color: var(--al-white);
}

.al-contact-expert.al-contat-about h5 {
    margin: 0;
}

.al-contact-expert h5 {
    font-size: 18px;
    margin: 0 0 7px 0;
}

.al-expert-content p {
    font-size: var(--al-font34);
    font-weight: 700;
    font-family: var(--al-title-family);
    margin: 0;
}

/* Popular Products Section */
.popular-products-section {
    background-image: url('/images/product-bg_02.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.popular-products-section > * {
    position: relative;
    z-index: 2;
}

/* Astrological Consultation Service Boxes */
.astrological-consultation .al-service-box {
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 6%);
    background-color: var(--al-white);
    padding: 50px 15px 38px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.astrological-consultation .al-service-box:hover .al-icon:after {
    border-color: #ec7e1d;
    animation: spin 9s infinite linear;
    -webkit-animation: spin 9s infinite linear;
    -moz-animation: spin 9s infinite linear;
}

.astrological-consultation .al-service-box::after {
    transition: all 0.3s ease-in-out;
}
.astrological-consultation .al-service-box .al-icon:after {
    border: 1px dashed #efefef;
}

.astrological-consultation .al-service-box .al-icon:after {
    border: 1px dashed #f9f5ec;
    content: '';
    position: absolute;
    left: -10px;
    top: -10px;
    bottom: -10px;
    right: -10px;
    border-radius: 100%;
}

.astrological-consultation .al-service-box .al-icon {
    width: 80px;
    background-color: var(--al-primary-color);
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    position: relative;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.astrological-consultation .al-service-box .al-icon:after {
    border: 1px dashed var(--al-alternate-bg);
    content: '';
    position: absolute;
    left: -10px;
    top: -10px;
    bottom: -10px;
    right: -10px;
    border-radius: 100%;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.astrological-consultation .al-service-box:hover .al-icon:after {
    animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.astrological-consultation .al-service-box .al-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.astrological-consultation .al-service-box .al-sub-heading {
    font-size: 25px;
    font-weight: 700;
    color: var(--sat-primary);
    font-family: var(--al-title-family);
    position: relative;
}

.astrological-consultation .al-service-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.astrological-consultation .al-service-box .al-link {
    color: var(--sat-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-block;
}

.astrological-consultation .al-service-box .al-link:hover {
    color: var(--sat-orange);
    text-decoration: underline;
}

/* Header Styles */
.top-header-bar {
    background-color: #D92534;
    color: #ffffff;
    padding: 8px 0;
}

.top-header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--sat-orange);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.top-action-btn:hover {
    background-color: var(--sat-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-action-btn i {
    font-size: 16px;
}

.top-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--sat-orange);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
}

.user-dropdown-btn:hover {
    background-color: var(--sat-orange-dark);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #28a745;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #D92534;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-header {
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background-color: #f8f9fa;
}

.user-dropdown-item i {
    width: 20px;
    color: var(--sat-primary);
}

.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--sat-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--sat-orange);
}

.nav-link.active {
    color: var(--sat-orange);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--sat-orange);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.nav-dropdown-item:hover {
    background-color: #f8f9fa;
}

.wallet-link {
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    gap: 8px;
}

.wallet-link:hover {
    background-color: #e9ecef;
}

.nav-search-btn {
    background: none;
    border: none;
    color: var(--sat-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.nav-search-btn:hover {
    color: var(--sat-orange);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--sat-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

@media (max-width: 1023px) {
    .top-header-content {
        justify-content: center;
    }

    .top-header-actions {
        justify-content: center;
    }

    .mobile-menu {
        display: block;
    }
}

/* Hero Banner Section */
.hero-banner-section {
    background-image: url('/images/banner-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-banner-section > * {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #000000;
    font-size: 28px;
}

/* Zodiac Sign Section */
.zodiac-section {
    background-color: var(--sat-zodiac-bg);
}

.zodiac-section .al-expert-content p {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--al-title-family);
    margin: 0px;
}

.as-sign-box {
    background-color: var(--sat-white);
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sat-text);
}

.as-sign-box:hover {
    background-color: var(--sat-primary);
}

.as-sign-box:hover .as-sign img {
    transform: rotate(360deg);
}

.as-sign {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--sat-white);
    box-shadow: -2px 0px 15px 0px rgba(0, 0, 0, 0.06);
}

.as-sign img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    padding: 0.5rem;
}

.al-expert-content {
    color: inherit;
}

.al-expert-content h5 {
    font-weight: 600;
    margin: 0;
    font-size: 18px;
}

.al-expert-content p {
    font-size: 34px;
    font-weight: 700;
    font-family: var(--al-title-family);
    margin: 0;
}

.as-sign-box:hover .al-expert-content h5,
.as-sign-box:hover .al-expert-content p {
    color: var(--sat-white);
}

/* Selected state */
.as-sign-box.selected {
    background-color: var(--sat-primary);
}

.as-sign-box.selected .al-expert-content h5,
.as-sign-box.selected .al-expert-content p {
    color: var(--sat-white);
}

/* Our Services Section */
.our-services-wrapper {
    width: 100%;
}

.our-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.our-service-card {
    background-color: #ffffff;
    border: 1px solid #9a3132;
    width: 23%;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.our-service-card:hover {
    transform: translateY(-5px);
}

.our-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 15px;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-link p {
    margin: 0;
    font-weight: 600;
    color: var(--sat-text);
    font-size: 1rem;
}

.service-link:hover p {
    color: var(--sat-primary);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-image: url('/images/Why Choose Us Banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.why-choose-us-section > * {
    position: relative;
    z-index: 2;
}

.why-choose-us-section .as-whychoose-box h4 {
    font-size: 20px;
    margin: 25px 0 35px;
    text-align: center;
    color: var(--al-white);
}

.why-choose-us-section .as-whychoose-box .as-number {
    display: block;
    position: relative;
    width: 130px;
    margin: 0 auto;
    color: var(--al-white);
}

.why-choose-us-section  .as-whychoose-box .as-number>span {
    font-size: 32px;
    font-family: var(--al-title-family);
    font-weight: 700;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Footer Styles */
.al-footer-wrapper {
    background-color: #9a3132;
    color: #ffffff;
    padding: 60px 0 0;
}

.al-footer-widgets {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--al-primary-color);
}

.al-footer-widget {
    margin-bottom: 30px;
}

.textwidget p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 14px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 10px;
}

.menu-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.menu-item a:hover {
    color: #ffffff;
}

.menu-item a svg {
    width: 8px;
    height: 12px;
    fill: rgba(255, 255, 255, 0.9);
}

.menu-item a:hover svg {
    fill: #ffffff;
}

.al-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.al-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.al-contact-list li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.al-contact-list li p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.al-contact-list li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.al-contact-list li a:hover {
    color: #ffffff;
}

.al-copyright-wrapper {
    background-color: #060606;
    padding: 20px 0;
    margin-top: 40px;
}

.al-copyright-wrapper p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.al-copyright-wrapper .col-xl-12,
.al-copyright-wrapper .col-lg-12,
.al-copyright-wrapper .col-md-12,
.al-copyright-wrapper .col-sm-12,
.al-copyright-wrapper .col-12 {
    margin-bottom: 0;
}

/* Bootstrap grid compatibility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-xl-3, .col-lg-6, .col-md-12, .col-sm-12, .col-12 {
    padding: 0 15px;
    width: 100%;
    margin-bottom: 30px;
}

/* Extra large devices (xl, 1200px and up) */
@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
        margin-bottom: 0;
    }
}

/* Large devices (lg, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .col-xl-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
}

/* Medium devices (md, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xl-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Small devices and below (below 768px) */
@media (max-width: 767px) {
    .col-sm-12, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-12, .col-lg-6, .col-xl-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Shop Page Styles - Amazon-like Product Cards */
.amazon-product-card {
    position: relative;
    transition: all 0.2s ease;
}

.amazon-product-card:hover {
    transform: translateY(-2px);
}

.amazon-product-card .aspect-square {
    background: #ffffff;
}

.amazon-product-card img {
    transition: transform 0.2s ease;
}

.amazon-product-card:hover img {
    transform: scale(1.05);
}

.shop-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination .pagination li {
    margin: 0;
}

.shop-pagination .pagination a,
.shop-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.shop-pagination .pagination a {
    color: var(--sat-text);
    background-color: white;
    border-color: #e5e7eb;
}

.shop-pagination .pagination a:hover {
    background-color: var(--sat-primary);
    color: white;
    border-color: var(--sat-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shop-pagination .pagination .active span {
    background-color: var(--sat-primary);
    color: white;
    border-color: var(--sat-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-pagination .pagination .disabled span {
    color: #9ca3af;
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Talk to Astrologer Page Styles */
.astrologer-card {
    transition: all 0.3s ease;
    position: relative;
}

.astrologer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sat-primary), var(--sat-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.astrologer-card:hover::before {
    transform: scaleX(1);
}

.astrologer-card:hover {
    transform: translateY(-3px);
}

/* Highlighted Profile Picture */
.astrologer-avatar-wrapper {
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, var(--sat-primary), var(--sat-orange));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(236, 126, 29, 0.25);
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.astrologer-card:hover .astrologer-avatar-wrapper {
    box-shadow: 0 6px 20px rgba(236, 126, 29, 0.4);
    transform: scale(1.08);
}

.astrologer-avatar-wrapper img,
.astrologer-avatar-wrapper > div {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Google autocomplete search input */
.google-autocomplete-search {
    padding: 0;
}
