/* Target Audience Section Styling */
.target-audience-section {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--mm-light-yellow) 100%);
}

.audience-card {
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(116, 61, 151, 0.15) !important;
}

.audience-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.audience-card .btn {
    margin-top: auto;
}

.audience-icon {
    transition: transform 0.3s ease;
}

.audience-card:hover .audience-icon {
    transform: scale(1.1);
}

/* Reviews Section Styling */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23743D97" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    pointer-events: none;
}

.review-card {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(116, 61, 151, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(116, 61, 151, 0.15) !important;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: #333;
}

.review-author {
    font-weight: 500;
    font-size: 0.95rem;
}

.stars {
    font-size: 1.2rem;
}

/* Carousel controls now use consistent chevron navigation (.collage-nav-btn) */

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--mm-purple);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--mm-yellow);
    transform: scale(1.2);
}

/* Modern Club & BSO Cards */
.club-bso-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(116, 61, 151, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(116, 61, 151, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.club-bso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(116, 61, 151, 0.15);
    border-color: var(--mm-purple);
}

.logo-container {
    background: linear-gradient(135deg, var(--mm-purple) 0%, #8B4FA3 100%);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(116, 61, 151, 0.3);
    transition: all 0.3s ease;
}

/* Desktop size for logo containers */
@media (min-width: 768px) {
    .logo-container {
        width: 200px;
        height: 200px;
    }
}

/* Logo sizing within containers */
.logo-container img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.club-bso-card:hover .logo-container {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(116, 61, 151, 0.4);
}

.club-bso-card h4 {
    font-family: 'Abbyss', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.club-bso-card .btn-primary {
    background: var(--mm-yellow);
    border: none;
    border-radius: 16px;
    padding: 12px 24px;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
}

.club-bso-card .btn-primary:hover {
    background: #E6B800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 206, 43, 0.4);
    color: #000;
}

.club-bso-card .btn-outline-primary {
    border: 2px solid var(--mm-purple);
    color: var(--mm-purple);
    border-radius: 16px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.club-bso-card .btn-outline-primary:hover {
    background: var(--mm-purple);
    border-color: var(--mm-purple);
    color: white;
    transform: translateY(-2px);
}

/* Hero Phone Animation Sequence */
.hero-phone-container {
    position: fixed; /* Fixed to viewport */
    bottom: 0; /* Locked to bottom of viewport */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    z-index: 5; /* Lower z-index so it doesn't interfere with buttons */
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 400px; /* Much larger */
    max-width: 400px;
    opacity: 1; /* Start visible */
    animation: handOutFade 3s ease-in-out 2s forwards; /* Fade out after 2s */
    pointer-events: none; /* Don't block clicks */
}

.hero-phone-image {
    height: 70vh; /* Much larger */
    width: 100%;
    object-fit: contain;
    object-position: bottom; /* Align to bottom */
    filter: drop-shadow(0 -15px 30px rgba(0,0,0,0.4));
}

/* Hand Out-Fade Animation */
@keyframes handOutFade {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.95);
    }
}

/* Hero Text Animation - controlled by JavaScript after loader */
.hero-video-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.hero-video-content.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroTextFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Phone Container - PROPER POSITIONING */
.hero-phone-container {
    position: absolute !important;
    top: 20% !important;
    right: 5% !important;
    z-index: 1000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 250px !important;
    height: auto !important;
}

.hero-phone-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
}

.slide-in-bottom {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.fade-in-title {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-button {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe Animations */
@keyframes slideInBottomHold {
    0% {
        opacity: 0;
        transform: translateY(100px);
        visibility: hidden;
    }
    25% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    75% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: translateY(0);
        visibility: hidden;
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for larger hand locked to bottom */
@media (max-width: 768px) {
    .hero-video-section {
        height: 100vh;
    }
    
    .hero-phone-container {
        width: 280px;
        max-width: 280px;
    }
    
    .hero-phone-image {
        height: 55vh;
    }
    
    .hero-video-content {
        max-width: 90%;
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-video-section {
        height: 100vh;
    }
    
    .hero-phone-container {
        width: 350px;
        max-width: 350px;
    }
    
    .hero-phone-image {
        height: 65vh;
    }
    
    .hero-video-content {
        max-width: 700px;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1025px) {
    .hero-video-section {
        height: 100vh;
    }
    
    .hero-phone-container {
        width: 400px;
        max-width: 400px;
    }
    
    .hero-phone-image {
        height: 70vh;
    }
    
    .hero-video-content {
        max-width: 800px;
        padding: 0 2rem;
    }
}

/* Card gallery uniform styling */
.card-gallery .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(218deg, var(--mm-light-yellow) 0%, #fff 100%);    
}

.card-gallery .card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.card-gallery .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-gallery .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-gallery .card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Ensure equal heights per row */
@media (min-width: 992px) {
    .card-gallery .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .card-gallery .col-lg-4 {
        display: flex;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .card-gallery .col-md-6 {
        display: flex;
        margin-bottom: 1.5rem;
    }
}

/* Reviews carousel styling */
.reviews-carousel {
    background: linear-gradient(135deg, var(--mm-light-yellow) 0%, #fff 100%);
}

.reviews-carousel .carousel-control-prev,
.reviews-carousel .carousel-control-next {
    background-color: transparent;
    border: none;
    color: rgba(116, 61, 151, 0.7);
    font-size: 4rem;
    font-weight: 100;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    width: auto;
    height: auto;
}

.reviews-carousel .carousel-control-prev:hover,
.reviews-carousel .carousel-control-next:hover {
    color: var(--mm-purple);
    transform: translateY(-50%) scale(1.1);
}

.reviews-carousel .carousel-control-prev {
    left: -30px;
}

.reviews-carousel .carousel-control-next {
    right: -30px;
}

.reviews-carousel .carousel-indicators {
    bottom: -50px;
}

.reviews-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--mm-purple);
    opacity: 0.5;
    margin: 0 5px;
}

.reviews-carousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--mm-yellow);
}

.review-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-text {
    color: #333;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 600;
}

.stars i {
    font-size: 1.2rem;
    margin: 0 2px;
}

/* Responsive adjustments for card galleries */
@media (max-width: 767px) {
    .card-gallery .card-img-top {
        height: 180px;
    }
    
    .card-gallery .card-title {
        font-size: 1rem;
    }
    
    .card-gallery .card-text {
        font-size: 0.9rem;
    }
}

/* USP Cards styling */
.usp-card {
    transition: transform 0.2s ease-in-out;
}

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

.usp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
    .usp-icon {
        min-height: 100px;
    }
}

/* USP Card hover animations */
.usp-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.usp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(116, 61, 151, 0.15) !important;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.usp-card:hover .usp-icon img {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3) hue-rotate(10deg);
    transition: all 0.3s ease;
}

.usp-card:hover p {
    color: var(--mm-purple) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

/* Partners Infinite Scroll Carousel - Simple & Working */
.partners-infinite-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    width: 200%; /* Double width for 16 logos (8 original + 8 duplicates) */
    transition: none;
    transform: translateX(0);
}

.partner-item {
    flex: 0 0 12.5%; /* 8 items in 100%, so 4 visible at once (4/8 = 50% of track) */
    padding: 0 5px;
    box-sizing: border-box;
}

/* Smooth transition for JavaScript animation */
.partners-track.smooth {
    transition: transform 0.5s linear;
}

/* Mobile: 2 items */
@media (max-width: 768px) {
    .partner-item {
        flex: 0 0 50%;
        padding: 0 3px;
    }
    
    .partners-track {
        animation-duration: 15s;
    }
}

/* Scroll Animation Styles */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for child elements */
.fade-in-section .fade-in-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.fade-in-section.visible .fade-in-child {
    opacity: 1;
    transform: translateY(0);
}

/* Different delays for multiple children */
.fade-in-section .fade-in-child:nth-child(2) {
    transition-delay: 0.3s;
}

.fade-in-section .fade-in-child:nth-child(3) {
    transition-delay: 0.4s;
}

.fade-in-section .fade-in-child:nth-child(4) {
    transition-delay: 0.5s;
}

/* Pricing Table Styling */
.pricing-table-container {
    max-width: 100%;
    background-color: #f8f9fa;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
}

.pricing-table {
    border: none;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-table thead th {
    border: none;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #743D97 0%, #8e4ba8 100%);
    color: white;
    vertical-align: middle;
    position: relative;
}

.pricing-table thead th:first-child {
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-table tbody td {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid #e9ecef;
    vertical-align: middle;
    background: white;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.pricing-table tbody tr:nth-child(even) td {
    background-color: #fafbfc;
}

.pricing-table .feature-column {
    width: 40%;
    min-width: 200px;
    background-color: #f8f9fa !important;
    border-right: 2px solid #e9ecef;
}

.pricing-table .package-column {
    width: 20%;
    min-width: 120px;
    text-align: center;
    border-right: 1px solid #e9ecef;
}

.pricing-table .package-column:last-child {
    border-right: none;
}

.pricing-table .feature-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

.pricing-table .package-header {
    padding: 0.5rem 0;
    text-align: center;
}

.pricing-table .banana-icons {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.pricing-table .package-price {
    font-weight: bold;
    color: white;
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pricing-table .text-success {
    color: #28a745 !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.pricing-table .text-danger {
    color: #dc3545 !important;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Feature Status Styling - Vertical Layout */
.feature-status-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0.5rem 0;
    min-height: 60px;
}

.feature-status-vertical.included {
    color: #198754;
}

.feature-status-vertical.not-included {
    color: #dc3545;
}

.feature-status-vertical i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.status-text-below {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    max-width: 100px;
    word-wrap: break-word;
}

.compact-cell {
    padding: 0.8rem 0.4rem !important;
    vertical-align: top;
}

/* Package Footnotes Styling */
.pricing-footnotes {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* .footnote-spacer - Empty space to align with feature names column */

.package-footnote {
    font-size: 0.7rem;
    color: #6c757d;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .status-text-below {
        font-size: 0.7rem;
        max-width: 80px;
    }
    
    .feature-status-vertical i {
        font-size: 1.2rem;
    }
    
    .compact-cell {
        padding: 0.6rem 0.2rem !important;
    }
}

@media (max-width: 768px) {
    .pricing-table-container {
        margin: 0 -15px;
        border-radius: 12px;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.4rem;
    }
    
    .package-price {
        font-size: 1rem;
    }
    .pricing-table .banana-icons {
        font-size: 1.5rem;
    }
    
    .pricing-table thead th {
        padding: 1.5rem 0.8rem;
    }
    
    .pricing-table tbody td {
        padding: 1rem 0.8rem;
    }
    
    .pricing-table .fas.fa-check-circle,
    .pricing-table .fas.fa-times-circle {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .pricing-table-container {
        margin: 0 -10px;
        border-radius: 12px;
    }
    
    .pricing-table .feature-column {
        width: 50%;
        min-width: 120px;
    }
    
    .pricing-table .package-column {
        width: 16.66%;
        min-width: 70px;
    }
    
    .pricing-table .feature-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .pricing-table .package-price {
        font-size: 0.9rem;
    }
    
    .pricing-table .banana-icons {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .pricing-table thead th {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .pricing-table tbody td {
        padding: 0.8rem 0.5rem;
    }
    
    .pricing-table .fas.fa-check-circle,
    .pricing-table .fas.fa-times-circle {
        font-size: 1.3rem;
    }
}

/* Partner Logo Container for Uniform Height */
.partner-logo-container {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo-container:hover {
    box-shadow: 0 4px 15px rgba(116, 61, 151, 0.15);
    transform: translateY(-2px);
}

/* Partner Logo Styling */
.partner-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0.3) opacity(0.8);
}

.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* Video Fade Animation Styles */
.benefits-image-container {
    position: relative;
}

.benefits-image-container iframe {
    transition: opacity 1s ease-in-out;
}

@media (max-width: 767.98px) {
    .partners-carousel {
        padding: 0 30px;
    }
    
    .partners-carousel .carousel-control-prev,
    .partners-carousel .carousel-control-next {
        font-size: 3rem;
    }
    
    .partners-carousel .carousel-control-prev {
        left: -15px;
    }
    
    .partners-carousel .carousel-control-next {
        right: -15px;
    }
    
    .partner-logo-container {
        height: 100px;
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    }
    
    .partner-logo-container:hover {
        box-shadow: 0 3px 12px rgba(116, 61, 151, 0.12);
        transform: translateY(-1px);
    }
    
    .partner-logo {
        max-height: 44px;
        max-width: 120px;
    }
}
