/* Hero Block Styles */
.hero-block {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fullscreen {
    min-height: 100vh;
}

.hero-boxed {
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 1rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0.5rem;
}

/* Feature Grid Styles */
.feature-grid {
    padding: 4rem 0;
}

.feature-grid-header {
    margin-bottom: 3rem;
}

.feature-grid-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-grid-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item-inner {
    height: 100%;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-grid-cards .feature-item-inner {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-grid-bordered .feature-item-inner {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 1rem;
}

.feature-item-inner:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Testimonial Block Styles */
.testimonial-block {
    padding: 4rem 0;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.testimonial-item {
    padding: 2rem;
    transition: opacity 0.5s ease;
}

.testimonial-content {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    line-height: 1;
}

.testimonial-quote::before {
    left: -1rem;
    top: -0.5rem;
}

.testimonial-quote::after {
    right: -1rem;
    bottom: -2rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial-meta {
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info {
    font-size: 0.9rem;
    opacity: 0.7;
}

.testimonial-rating {
    margin-top: 0.5rem;
    color: #ffd700;
}

/* Testimonial Navigation Styles */
.testimonial-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color, #007bff);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0.7;
}

.testimonial-nav:hover {
    opacity: 1;
    background: var(--primary-color, #007bff);
}

.testimonial-nav i {
    font-size: 16px;
    color: white;
}

.testimonial-prev {
    left: -20px;
}

.testimonial-next {
    right: -20px;
}

/* Grid and Masonry Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.testimonial-masonry .testimonial-item {
    break-inside: avoid;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .testimonial-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .testimonial-masonry {
        column-count: 1;
    }
    
    .testimonial-carousel {
        padding: 0 3rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
}

/* Pricing Table Styles */
.pricing-table {
    padding: 4rem 0;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.pricing-plan {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-plan.featured {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.plan-price .period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-footer {
    margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
    }
    
    .pricing-plan.featured {
        transform: none;
    }
}
