/* Home Page Specific Styles */

/* Testimonial Gallery */
.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

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

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
    text-align: right;
}

/* Communication Dots */
.communication__dots-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

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

/* High Contrast Toggle */
.contrastToggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: #666;
}

.onoffswitch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    height: 24px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    padding: 0;
    line-height: 24px;
    font-size: 12px;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #20B2AA;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #ccc;
    color: #FFFFFF;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 20px;
    margin: 2px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    border-radius: 10px;
    transition: all 0.3s ease-in 0s;
}

/* Floating Ad */
#floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

/* Header Correction */
#headerCorrection {
    height: 120px;
}

/* Banner and Popup Sections */
#banner, #rewardsPopup, #percy {
    display: none;
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .experience-hero {
        height: 60vh;
        min-height: 400px;
        margin-top: 100px;
    }
    
    .custom-cta__heading {
        font-size: 2rem;
    }
    
    .custom-cta__subheading {
        font-size: 1.1rem;
    }
    
    .custom-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-badge-img {
        width: 50px;
        height: 50px;
    }
    
    .badge-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .experience-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .custom-cta__heading {
        font-size: 1.8rem;
    }
    
    .custom-cta__subheading {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Animation for testimonials */
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Stagger animation for testimonial cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for accolades */
.accolades__item {
    cursor: pointer;
}

.accolades__item:hover .accolades__accolade {
    filter: brightness(1.1);
}

/* Loading animation for images */
.custom-hero__image,
.cta-block__icon,
.resource-card__icon {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

/* Focus styles for accessibility */
.btn:focus,
.nav__link a:focus,
.mobile-menu__link a:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .mobile-menu,
    .footer,
    .btn {
        display: none !important;
    }
    
    .experience-hero {
        margin-top: 0;
        height: auto;
        min-height: auto;
    }
    
    .custom-hero__image {
        display: none;
    }
    
    .hero-content {
        color: #333;
    }
} 