/* Custom Home Sections CSS */

/* --- Astrology Videos Section --- */
.astrology-videos-section {
    padding: 60px 0;
    background-color: #fff;
    /* or transparent if body has bg */
    position: relative;
    text-align: center;
    overflow: hidden;
}

.video-section-header {
    margin-bottom: 20px;
}

.video-subheading {
    color: #EC6221;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.video-heading {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

/* Video Card */
/* Video Card */
.video-card-new {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f8f8f8;
    height: 100%;
    /* Fill flex height */
    display: flex;
    flex-direction: column;
}

.video-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.video-thumb-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-thumbnail-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.video-card-new:hover .video-thumbnail-new {
    transform: scale(1.1);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: #EC6221;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(236, 98, 33, 0.5);
    z-index: 2;
}

.play-button-overlay i {
    color: #fff;
    font-size: 20px;
    margin-left: 3px;
}

.video-title-new {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    padding: 0 5px 5px;
    min-height: 48px;
    /* Consistent height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    /* Push to equal height */
}

/* Carousel Container Padding */
/* Carousel Container Padding */
.astrology-video-carousel {
    padding: 0 55px !important;
    /* Force 55px padding for arrows */
    margin: 0 10px;
    /* Small outer margin */
    position: relative;
    z-index: 1;
    box-sizing: border-box !important;
}

.astrology-video-carousel .owl-stage-outer {
    overflow: hidden;
    margin: 0 !important;
    /* Reset margin, rely on parent padding */
}

/* Carousel Nav Buttons */
.astrology-video-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    margin: 0;
    height: 0;
}

.astrology-video-carousel .owl-nav button.owl-prev,
.astrology-video-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff !important;
    /* White circle */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #444 !important;
    /* Dark grey arrow */
    transition: all 0.3s ease;
    pointer-events: auto;
    outline: none;
    z-index: 10;
}

.astrology-video-carousel .owl-nav button.owl-prev:hover,
.astrology-video-carousel .owl-nav button.owl-next:hover {
    background: #fff !important;
    color: #EC6221 !important;
    box-shadow: 0 4px 12px rgba(236, 98, 33, 0.3);
}

.astrology-video-carousel .owl-nav button.owl-prev {
    left: 5px !important;
    /* Center in 55px padding */
}

.astrology-video-carousel .owl-nav button.owl-next {
    right: 5px !important;
    /* Center in 55px padding */
}

.astrology-video-carousel .owl-nav button span {
    font-size: 26px;
    line-height: 1;
    margin-top: -3px;
    color: inherit;
}


/* --- Achievements Section --- */
.achievements-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    /* Fallback light bg */
    background-image: url('../homeimage/product-bg.png');
    /* Use existing pattern if suitable, or none */
    background-size: cover;
    background-position: center;
    position: relative;
}

.achievements-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Left: Image & Text */
.achieve-left-col {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achieve-subheading {
    color: #EC6221;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    margin-top: 20px;
}

.achieve-heading {
    font-size: 38px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
}

.achieve-img-stand {
    max-width: 100%;
    width: 29%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-top: -141px;
    position: relative;
    z-index: 10;
    left: -90px;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Right: Stats Grid */
.achieve-right-col {
    flex: 0 0 60%;
    max-width: 60%;
    padding-left: 40px;
    /* Increased internal spacing */
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    /* Spacious */
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer, more diffuse shadow */
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon-box {
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    background: #EC6221;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-right: 25px;
    box-shadow: 0 4px 10px rgba(236, 98, 33, 0.25);
}

.stat-info {
    flex: 1;
    border-left: 2px solid #e0e0e0;
    /* Darker divider for visibility */
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    /* Pure black */
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* --------------- Blog Section Redesign --------------- */
.blog-section-padding {
    padding: 60px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Header */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-subtitle {
    display: block;
    color: #EC6221;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* Large Blog Card */
.blog-card-large {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    text-decoration: none !important;
}

.blog-card-large:hover {
    text-decoration: none;
}

.blog-img-large-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.blog-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-large:hover .blog-img-large {
    transform: scale(1.05);
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
}

.blog-cat-link {
    color: #EC6221;
    font-weight: 600;
    text-decoration: none;
}

.blog-date {
    color: #888;
}

.blog-title-large {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    /* margin-bottom: 12px; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-read-more:hover {
    color: #EC6221;
}

/* Sidebar Small Card */
.blog-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-card-small {
    display: flex;
    align-items: flex-start;
    text-decoration: none !important;
}

.blog-img-small-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}

.blog-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-info-small {
    flex: 1;
}

.blog-cat-small {
    color: #EC6221;
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.blog-title-small {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {

    .achieve-left-col,
    .achieve-right-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .achieve-left-col {
        margin-bottom: 40px;
        text-align: center;
        padding-right: 0;
        align-items: center;
    }

    .achieve-right-col {
        padding-left: 0;
    }

    .achieve-img-stand {
        margin: 0 auto;
        width: 200px;
        /* Smaller on mobile */
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .video-heading,
    .achieve-heading {
        font-size: 28px;
    }
}

.blog-sidebar-decoration {
    right: -45px;
    position: absolute;
    bottom: 0px;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* --------------- Footer Redesign --------------- */
#footer {
    background-color: #1a0505;
    /* Dark Brown/Black Base */
    background-image: url('../homeimage/footer_temple_bg.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #dcdcdc;
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Logo & Desc */
.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Headings */
.footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #dcdcdc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    display: block;
}

.footer-links li a:hover {
    color: #EC6221;
}

/* Social Icons */
.footer-social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 20px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.footer-social-icons a:hover {
    color: #EC6221;
    transform: translateY(-3px);
}

/* App Buttons */
.footer-app-btn {
    display: block;
    margin-bottom: 15px;
    width: 150px;
    transition: transform 0.3s;
}

.footer-app-btn:hover {
    transform: translateY(-3px);
}

.footer-app-btn img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    margin: 0 1px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}


/* --------------- Live Astrologers Redesign --------------- */

/* Container & Navigation */
.custom-live-astro-carousel .owl-stage-outer {
    padding: 15px 0 25px 0;
    overflow: visible;
}

.custom-live-astro-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    height: 0;
}

.custom-live-astro-carousel .owl-nav button.owl-prev,
.custom-live-astro-carousel .owl-nav button.owl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border: none !important;
    outline: none !important;
    opacity: 1 !important;
}

.custom-live-astro-carousel .owl-nav button.owl-prev:hover,
.custom-live-astro-carousel .owl-nav button.owl-next:hover {
    background: #fff !important;
    color: #EC6221 !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

.custom-live-astro-carousel .owl-nav button.owl-prev {
    left: -20px !important;
}

.custom-live-astro-carousel .owl-nav button.owl-next {
    right: -20px !important;
}

.astroway-live-astrologers .item {
    box-shadow: 0 3px 6px #65a9fd24;
    border-radius: 14px;
    margin: unset !important;
    width: unset !important;
    height: unset !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    aspect-ratio: 1/1 !important;
    border: unset !important;
    overflow: hidden !important;
}

/* Card Styling */
.live-astro-card {
    /* position: relative; */
    display: block;
    /* width: 100%;
    height: 300px; */
    /* Reduced height to match reference 3:4 ratio better */
    border-radius: 14px;
    /* Slightly tighter radius */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.live-astro-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.live-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Changed from top center for better centering */
    display: block;
    border-radius: 0;
    transition: transform 0.6s ease;
}

.live-astro-card:hover .live-main-img {
    transform: scale(1.08);
}

/* Live Badge */
.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: #333;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #00c853;
    /* Bright Green */
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.2);
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gradient Overlay */
.live-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Richer Gradient */
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.4) 23%, transparent 370px);
    padding: 60px 20px 20px;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.live-card-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 6;
}

.live-profile-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    margin-right: 12px;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.live-profile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-info {
    flex: 1;
    overflow: hidden;
    text-align: left;
}

.live-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.live-skill {
    color: #EC6221;
    /* Brighter Orange/Yellow */
    font-size: 13px;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    text-transform: capitalize;
}

.astroway-live-astrologers .owl-nav button.owl-prev::after,
.astroway-live-astrologers .owl-nav button.owl-next::after {
    content: unset !important;
}