/* Main CSS for Fitmate Coach Landing Page */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Background gradients */
.hero-gradient {
    background: #FFF6F1;
}

/* New Hero Section Styles */
.hero-full-bleed {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure the hero section takes reduced viewport height (2/3 of full height) */
.hero-full-bleed {
    min-height: 67vh;
}

/* Video Background Styles */
.video-background {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 150%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-video.active {
    opacity: 1;
}

.hero-video.loading {
    opacity: 0.3;
}

/* Video Fallback */
.video-fallback {
    z-index: 0;
}

/* Social proof bubble styling */
.hero-full-bleed .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-full-bleed .backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.hero-full-bleed .border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Video Loading Animation */
@keyframes videoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-video.fade-in {
    animation: videoFadeIn 1.5s ease-in-out;
}

/* Responsive Video Adjustments */
@media (max-width: 768px) {
    .hero-video {
        /* Ensure videos work well on mobile - wider width for zoom out effect */
        min-width: 180%;
        min-height: 100%;
    }
}

/* Ensure gradient overlay stays on top of videos */
.hero-full-bleed .bg-gradient-to-b {
    z-index: 2;
}

/* Enhanced curve transition for better video connection */
.hero-curve-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 20;
    pointer-events: none;
}

.hero-curve-transition svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive curve adjustments */
@media (max-width: 768px) {
    .hero-curve-transition {
        height: 80px;
    }
}

/* Hero-Quote-Trusted Container - Overlapping layout */
.hero-quote-trusted-container {
    position: relative;
    min-height: 100vh;
}

/* Hero section - takes full height */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: 70vh; /* Reduced height to allow for overlap */
}

/* Quote section - positioned to overlap both sections */
.quote-bridge-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Higher z-index to appear above both sections */
    width: 100%;
    max-width: 4xl;
    margin: 0 auto;
}

/* Adjust quote positioning on smaller screens to prevent button overlap */
@media (max-width: 768px) {
    .quote-bridge-section {
        top: 60%; /* Move quote box lower on mobile to avoid button overlap */
    }
}

@media (max-width: 480px) {
    .quote-bridge-section {
        top: 65%; /* Move quote box even lower on very small screens */
    }
}

/* Trusted section - positioned below hero with overlap */
.trusted-section {
    position: relative;
    z-index: 2;
    margin-top: -100px; /* Negative margin to create overlap with quote */
    padding-top: 50px; /* Reduced padding to minimize gap */
}

/* Responsive adjustments for different breakpoints */
@media (max-width: 1024px) {
    .hero-quote-trusted-container {
        min-height: 90vh;
    }
    
    .hero-section {
        min-height: 65vh;
    }
    
    .trusted-section {
        margin-top: -80px;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-quote-trusted-container {
        min-height: 80vh;
    }
    
    .hero-section {
        min-height: 70vh; /* Increased height to provide more space for button */
        padding-bottom: 4rem; /* Add bottom padding to ensure button is visible */
    }
    
    .trusted-section {
        margin-top: -60px;
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-quote-trusted-container {
        min-height: 75vh;
    }
    
    .hero-section {
        min-height: 65vh; /* Increased height to provide more space for button */
        padding-bottom: 5rem; /* Add more bottom padding for very small screens */
    }
    
    .trusted-section {
        margin-top: -50px;
        padding-top: 20px;
    }
}

/* Radial gradient for features section - removed */

/* Animations */
.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

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

/* Progress ring */
.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring circle {
    transition: stroke-dasharray 0.5s ease-in-out, stroke-dashoffset 0.9s ease-in-out;
}

/* Ping animation */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
    50% {
        opacity: .5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Alternating pulse animations for the circles */
@keyframes pulseLeft {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes pulseRight {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.pulse-left {
    animation: pulseLeft 2s ease-in-out infinite;
}

.pulse-right {
    animation: pulseRight 2s ease-in-out infinite;
    animation-delay: 1s; /* Start 1 second after left circle */
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Profile Card Styles */
.profile-card-container {
    position: relative;
}

.profile-header {
    position: relative;
    z-index: 2;
}

.avatar-container {
    position: relative;
}

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #ee6216, #d4550f, #ee6216);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.info-cards-grid {
    position: relative;
    z-index: 2;
}

.info-card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Icon animations */
.info-card .w-6 {
    transition: transform 0.2s ease-in-out;
}

.info-card:hover .w-6 {
    transform: scale(1.1);
}

/* Responsive adjustments for profile cards */
@media (max-width: 1024px) {
    .info-cards-grid {
        gap: 2.5px;
    }
    
    .info-card {
        padding: 2.5px;
    }
    
    .info-card p {
        font-size: 11px;
    }
    
    .profile-header .w-16 {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .profile-header .w-8 {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .info-card {
        padding: 12px;
    }
    
    .info-card p {
        font-size: 13px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .profile-header .w-16 {
        width: 4rem;
        height: 4rem;
    }
    
    .profile-header .w-8 {
        width: 2rem;
        height: 2rem;
    }
}

/* New Navigation Styles - Based on provided code structure */
.new-nav-container {
    width: 1440px;
    padding-left: 56px;
    padding-right: 56px;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-content {
    width: 100%;
    height: 136.5px;
    max-width: 1328px;
    position: relative;
}

.new-nav-logo {
    padding-bottom: 4.5px;
    left: 546px;
    top: 18px;
    position: absolute;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-logo-container {
    width: 236px;
    height: 40px;
    max-width: 236px;
    overflow: hidden;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-logo-inner {
    width: 236px;
    height: 40px;
    padding-top: 0.17px;
    padding-bottom: 0.17px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.new-nav-links-container {
    width: 942.66px;
    height: 52px;
    left: 192.67px;
    top: 66.5px;
    position: absolute;
}

.new-nav-cta-button {
    padding-left: 16px;
    left: 811.42px;
    top: 6px;
    position: absolute;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-cta-inner {
    min-width: 0.88px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    background: #356E37;
    box-shadow: 0px 4px 12px rgba(72, 47, 32, 0.13);
    border-radius: 8px;
    justify-content: center;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-cta-text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #F5F2EF;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    line-height: 8px;
    word-wrap: break-word;
}

.new-nav-link {
    max-width: 1328px;
    padding: 16px;
    position: absolute;
    border-radius: 8px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.new-nav-link-text {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #482F20;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

/* Responsive adjustments for new navigation */
@media (max-width: 1440px) {
    .new-nav-container {
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 1024px) {
    .new-nav-logo {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .new-nav-links-container {
        left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .new-nav-cta-button {
        left: auto;
        right: 0;
    }
}

@media (max-width: 768px) {
    .new-nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .new-nav-content {
        height: auto;
        padding: 1rem 0;
    }
    
    .new-nav-logo {
        position: static;
        transform: none;
        padding: 0;
        margin: 0 auto 1rem;
    }
    
    .new-nav-links-container {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .new-nav-cta-button {
        position: static;
        margin-top: 1rem;
    }
}

/* Light Touch Coaching Section Styles */
.challenge-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease-in-out;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.challenge-icon {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(238, 98, 22, 0.3);
}

.challenge-card:hover .challenge-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(238, 98, 22, 0.4);
}

.challenge-percentage {
    transition: all 0.3s ease-in-out;
}

.challenge-card:hover .challenge-percentage {
    transform: scale(1.05);
}

/* Responsive adjustments for challenge cards */
@media (max-width: 1024px) {
    .challenge-card {
        padding: 1.75rem 1.25rem;
    }
    
    .challenge-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .challenge-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 768px) {
    .challenge-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .challenge-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .challenge-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .challenge-card h3 {
        font-size: 16px;
    }
    
    .challenge-percentage {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .challenge-card {
        padding: 1.25rem 0.75rem;
    }
    
    .challenge-card h3 {
        font-size: 15px;
    }
    
    .challenge-percentage {
        font-size: 18px;
    }
}

/* Tablet/Mobile Navigation Styles */
.tablet-mobile-nav-transition {
    transition: all 0.3s ease-in-out;
}

.tablet-mobile-nav-slide-down {
    animation: slideDown 0.3s ease-in-out;
}

.tablet-mobile-nav-slide-up {
    animation: slideUp 0.3s ease-in-out;
}

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

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

/* Tablet/Mobile Navigation Button Hover Effects */
#tablet-mobile-menu-button:hover img,
#tablet-mobile-close-button:hover img {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

/* Tablet/Mobile Menu Item Hover Effects */
#tablet-mobile-nav-open a:hover {
    transform: translateX(4px);
    transition: transform 0.2s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    .hero-image-container {
        transform: scale(1.07);
        align-self: center;
    }
    .hero-content {
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        transform: scale(0.8);
        align-self: center;
    }
    .hero-content {
        max-width: 100%;
        text-align: left;
    }
}

/* Navigation Styles */

/* Desktop Navigation */
nav {
    position: relative;
    z-index: 40;
}

nav a {
    text-decoration: none;
}

/* Active page indicator for desktop navigation */
nav .hidden.md\:flex a[aria-current="page"] {
    color: #00776C;
    font-weight: 600;
    border-bottom: 3px solid #00776C;
    padding-bottom: calc(0.5rem - 3px);
}

/* Active page indicator for mobile navigation */
#mobile-menu nav a[aria-current="page"] {
    color: #00776C;
    background-color: rgba(0, 119, 108, 0.08);
    border-left: 4px solid #00776C;
    font-weight: 600;
}

/* Mobile Menu Overlay */
#mobile-menu {
    z-index: 9999 !important;
}

/* Mobile Menu Backdrop */
#mobile-menu .bg-black {
    opacity: 0;
    transition: opacity 300ms ease-in-out;
    z-index: 9998;
}

/* Mobile Menu Panel */
#mobile-menu .fixed.inset-y-0 {
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
    z-index: 9999;
}

/* Mobile Menu Active State (set by JavaScript) */
#mobile-menu:not(.hidden) .bg-black {
    opacity: 1;
}

#mobile-menu:not(.hidden) .fixed.inset-y-0 {
    transform: translateX(0);
}

/* Touch-friendly buttons */
#mobile-menu-button,
#mobile-close-button {
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Navigation Links */
#mobile-menu nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Desktop Navigation - Show/Hide based on breakpoint */
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none;
    }
}

@media (max-width: 767px) {
    nav .hidden.md\:flex {
        display: none !important;
    }
}

/* Smooth transitions for all navigation elements */
nav a,
nav button {
    transition: all 200ms ease-in-out;
}

/* Focus states for accessibility */
nav a:focus,
nav button:focus {
    outline: 2px solid #00776C;
    outline-offset: 2px;
}

/* Remove focus outline from Resource dropdown button */
nav .resource-dropdown button:focus,
nav .resource-dropdown button:active {
    outline: none !important;
    outline-offset: 0 !important;
}

/* Desktop Resource Dropdown Styles */
.resource-dropdown {
    position: relative;
    z-index: 1000;
}

.resource-dropdown button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.resource-dropdown button:focus {
    outline: none;
    box-shadow: none;
}

.resource-dropdown button:active {
    outline: none;
    box-shadow: none;
}

#resource-dropdown-panel {
    z-index: 1001;
    animation: dropdownFadeIn 200ms ease-in-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#resource-dropdown-panel a {
    text-decoration: none;
    display: block;
}

#resource-dropdown-panel a:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

#resource-dropdown-panel a:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Chevron transition for dropdown button */
#resource-dropdown-button svg {
    transition: transform 200ms ease-in-out;
}

/* Mobile Resource Accordion Styles */
.mobile-resource-accordion {
    position: relative;
}

.mobile-resource-accordion button {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

#mobile-resource-button svg {
    transition: transform 300ms ease-in-out;
    flex-shrink: 0;
}

#mobile-resource-panel {
    transition: max-height 300ms ease-in-out;
}

#mobile-resource-panel a {
    text-decoration: none;
}

/* Ensure mobile accordion only shows on mobile */
@media (min-width: 768px) {
    .mobile-resource-accordion {
        display: none;
    }
}

/* Ensure desktop dropdown only shows on desktop */
@media (max-width: 767px) {
    .resource-dropdown {
        display: none !important;
    }
}

/* Touch-friendly button sizes for mobile */
@media (max-width: 767px) {
    #mobile-resource-button {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    #mobile-resource-panel a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Sticky navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Carousel styles - mobile only */
.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: calc(300px * 3 + 2rem); /* 3 cards + 2 margins */
}

.carousel-card {
    flex-shrink: 0;
    width: 300px;
    margin-right: 1rem;
}

.carousel-card:last-child {
    margin-right: 0;
} 
/* Trustpilot Testimonials Section Styles */
.testimonials-carousel-container {
    overflow: visible;
    position: relative;
    padding-bottom: 2rem; /* Add padding to prevent bottom clipping */
}

.testimonials-carousel-track {
    display: flex;
    gap: 2rem !important; /* Modern gap property - can't be overridden */
    transition: transform 0.3s ease-in-out;
    width: calc(320px * 5 + 4rem); /* 5 cards + 4 gaps */
}

.testimonials-carousel-card {
    flex-shrink: 0;
    width: 320px;
    /* Removed margin-right - using gap instead */
}

/* Review Card Styles */
.review-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    width: 100%;
    min-height: auto; /* Allow natural height based on content */
    display: flex;
    flex-direction: column;
    overflow: visible; /* Allow content to show fully */
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Review Title */
.review-title {
    font-size: 16px;
    font-weight: 700;
    color: #393938;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Star Rating - Trustpilot Style */
.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.trustpilot-star {
    width: 20px;
    height: 20px;
    background-color: #00B67A;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trustpilot-star svg {
    width: 12px;
    height: 12px;
    fill: white;
}

/* Review Content */
.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #393938;
    margin-bottom: 1rem;
    flex-grow: 1;
    overflow: visible;
    display: block;
    max-height: 200px;
    overflow-y: auto;
}

.review-text.full-content {
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
}

/* Reviewer Info */
.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #393938;
}

.review-date {
    font-size: 12px;
    color: #6b7280;
}

/* Read More Link */
.read-more-btn {
    color: #ee6216;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.75rem;
    display: block;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
    position: relative;
    text-align: left;
    width: fit-content;
}

.read-more-btn:hover {
    text-decoration: underline;
    color: #d4550f;
}

.read-more-btn::before {
    content: '';
    margin-right: 0;
    color: #6b7280;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #393938;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.modal-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.modal-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #393938;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.modal-reviewer {
    font-size: 14px;
    font-weight: 600;
    color: #393938;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* AI-Enhanced Coaching Section Styles */
.ai-coaching-card {
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.ai-coaching-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ai-coaching-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Profile Card Styles */
.profile-card {
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.profile-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Info Tag Animations */
.profile-card .space-y-2 > div {
    transition: all 0.2s ease-in-out;
}

.profile-card .space-y-2 > div:hover {
    transform: translateX(2px);
}

/* Coach Photo Animation */
.ai-coaching-card img[src*="Coach-photo.png"] {
    transition: all 0.3s ease-in-out;
}

.ai-coaching-card:hover img[src*="Coach-photo.png"] {
    transform: scale(1.02);
}


/* Bullet Point Animations */
.ai-coaching-card .space-y-6 > div {
    transition: all 0.2s ease-in-out;
}

.ai-coaching-card .space-y-6 > div:hover {
    transform: translateX(4px);
}

.ai-coaching-card .space-y-6 > div:hover .flex-shrink-0 {
    transform: scale(1.1);
}


/* Step Content Alignment */
.step-content .flex-shrink-0 {
    margin-top: 0.125rem; /* Small adjustment to align with text baseline */
}

/* Step Quote Image Styles */
.step-content img[src*="coach-message"] {
    transition: all 0.3s ease-in-out;
}

.step-content img[src*="coach-message"]:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for step quote images */
@media (max-width: 1024px) {
    .step-content img[src*="coach-message"] {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .step-content img[src*="coach-message"] {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .step-content img[src*="coach-message"] {
        max-width: 360px;
    }
}

/* Responsive adjustments for AI coaching cards */
@media (max-width: 1024px) {
    .ai-coaching-card {
        min-height: 400px;
    }
    
    .ai-coaching-content {
        padding: 1.75rem;
    }
    
    .ai-coaching-card img[src*="Coach-photo.png"] {
        width: 8rem;
        height: 8rem;
    }
    
    .profile-card {
        padding: 0.75rem;
    }
    
    .profile-card .space-y-2 > div {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .ai-coaching-card {
        min-height: 350px;
    }
    
    .ai-coaching-content {
        padding: 1.5rem;
    }
    
    .ai-coaching-card img[src*="Coach-photo.png"] {
        width: 6rem;
        height: 6rem;
    }
    
    .profile-card {
        padding: 0.5rem;
    }
    
    .profile-card .space-y-2 > div {
        padding: 0.375rem 0.5rem;
    }
    
    .profile-card .space-y-2 > div span {
        font-size: 11px;
    }
    
    .ai-coaching-card .space-y-6 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ai-coaching-card {
        min-height: 320px;
    }
    
    .ai-coaching-content {
        padding: 1.25rem;
    }
    
    .ai-coaching-card img[src*="Coach-photo.png"] {
        width: 5rem;
        height: 5rem;
    }
    
    .profile-card {
        padding: 0.375rem;
    }
    
    .profile-card .flex.items-center.space-x-3 {
        margin-bottom: 0.5rem;
    }
    
    .profile-card .w-8.h-8 {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .profile-card .w-8.h-8 svg {
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .profile-card .space-y-2 > div {
        padding: 0.25rem 0.375rem;
    }
    
    .profile-card .space-y-2 > div span {
        font-size: 10px;
    }
    
    .profile-card .space-y-2 > div svg {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .testimonials-carousel-track {
        gap: 1.5rem !important;
        width: calc(300px * 5 + 3rem);
    }
    
    .testimonials-carousel-card {
        width: 300px;
    }
    
    .review-card {
        min-height: auto;
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-track {
        gap: 1.25rem !important;
        width: calc(280px * 5 + 2rem);
    }
    
    .testimonials-carousel-card {
        width: 280px;
    }
    
    .review-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .review-text {
        font-size: 13px;
        max-height: 180px;
    }
    
    .reviewer-name {
        font-size: 13px;
    }
    
    .modal-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-track {
        gap: 1rem !important;
        width: calc(260px * 5 + 1.5rem);
    }
    
    .testimonials-carousel-card {
        width: 260px;
    }
    
    .review-card {
        min-height: auto;
        padding: 1.25rem;
    }
    
    .review-text {
        font-size: 12px;
        max-height: 160px;
    }
}

/* Demo Video Section Styles */
.demo-video-container {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    max-width: 600px; /* Limit container width */
    margin: 0 auto; /* Center the container */
}

.demo-video {
    display: block;
    width: 100%;
    height: 100%; /* Fill the entire container */
    max-height: 70vh; /* Limit height to 70% of viewport height */
    object-fit: cover; /* Fill the container while maintaining aspect ratio */
    border-radius: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.demo-video:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Tap-to-Pause Enhancements */
.demo-video {
    cursor: pointer; /* Indicate video is clickable */
    user-select: none; /* Prevent text selection on tap */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    -webkit-touch-callout: none; /* Disable callout on iOS */
}

/* Focus styles for keyboard accessibility */
.demo-video:focus {
    outline: 2px solid #ee6216;
    outline-offset: 2px;
}

/* Video Controls Styling */
.demo-video::-webkit-media-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.demo-video::-webkit-media-controls-panel {
    background: transparent;
}

/* Play Button Overlay - YouTube Style */
#play-button-overlay {
    transition: opacity 0.3s ease-in-out;
    opacity: 0; /* Start hidden, will be shown by JavaScript */
}

#play-button-overlay.show {
    opacity: 1;
}

/* YouTube-style play button hover effect */
#play-button-overlay .w-20 {
    transition: all 0.2s ease-in-out;
}

#play-button-overlay:hover .w-20 {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 1);
}

/* Responsive Video Adjustments */
@media (max-width: 1024px) {
    .demo-video-container {
        max-width: 500px;
        margin: 0 1rem;
    }
    
    .demo-video {
        max-height: 65vh;
    }
}

@media (max-width: 768px) {
    .demo-video-container {
        max-width: 400px;
        margin: 0 auto; /* Center on mobile */
        border-radius: 1rem;
    }
    
    .demo-video {
        max-height: 60vh;
        border-radius: 1rem;
    }
    
    #play-button-overlay .w-20 {
        width: 4rem;
        height: 4rem;
    }
    
    #play-button-overlay .w-8 {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 480px) {
    .demo-video-container {
        max-width: 350px;
        margin: 0 auto; /* Center on mobile */
        border-radius: 0.75rem;
    }
    
    .demo-video {
        max-height: 55vh;
        border-radius: 0.75rem;
    }
}

/* Webinar Banner Section */
/* Hidden for now - can be re-enabled by removing display: none */
.webinar-banner-section {
    position: relative;
    z-index: 10;
    display: none; /* Hidden - code preserved for future use */
}

/* Starburst Shape */
.starburst-container {
    position: relative;
    display: inline-block;
}

.starburst {
    position: relative;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    min-width: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for webinar banner */
@media (max-width: 1024px) {
    .webinar-banner-section {
        padding: 3rem 1.5rem;
    }
    
    .starburst {
        min-width: 100px;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .webinar-banner-section {
        padding: 2rem 1.5rem;
    }
    
    .webinar-banner-section .flex-col {
        align-items: center;
        text-align: center;
    }
    
    .webinar-banner-section > div > div {
        width: 100%;
    }
    
    /* Mobile order: LIVE WEBINAR (1), Photo (2), Title (3), Register button (4) */
    .webinar-banner-item-1 {
        order: 1; /* LIVE WEBINAR - top */
    }
    
    .webinar-banner-item-2 {
        order: 2; /* Photo - second (above title) */
    }
    
    .webinar-banner-item-3 {
        order: 3; /* Title - third (below photo) */
    }
    
    .webinar-banner-item-4 {
        order: 4; /* Register button - bottom */
    }
    
    .starburst {
        min-width: 90px;
        min-height: 90px;
        padding: 1rem 1.25rem !important;
    }
    
    .starburst div {
        font-size: 12px !important;
    }
    
    .register-button {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .webinar-banner-section {
        padding: 1.5rem 1rem;
    }
    
    .webinar-banner-section > div > div {
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .webinar-banner-section {
        padding: 1.5rem 1rem;
    }
    
    .starburst {
        min-width: 80px;
        min-height: 80px;
        padding: 0.75rem 1rem !important;
    }
    
    .starburst div {
        font-size: 11px !important;
    }
}