/* =========================================
   Testimonials Section (Ultra Luxury Redesign)
   ========================================= */
.testimonials-section {
    background: linear-gradient(135deg, #1a1a1a, #000000); /* Deep Black/Dark Theme */
    color: #fff;
    position: relative;
    padding-top: 100px;
    padding-bottom: 120px;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/pattern-dark.png'); /* Subtle Pattern */
    opacity: 0.05;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.testimonial-card {
    background: linear-gradient(145deg, #222, #111);
    border: 1px solid rgba(255, 215, 0, 0.1); /* Subtle Gold Border */
    border-radius: 25px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
    border-color: var(--secondary-color); /* Gold Border on Hover */
}

.quote-icon-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.rating-stars {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-card .text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-style: italic;
    min-height: 90px;
}

.author-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: 2px solid var(--secondary-color);
}

.author-details .info {
    text-align: right;
}

.author-details h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.author-details span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    display: block;
}

/* =========================================
   Compact CTA Section
   ========================================= */
.cta-section-compact {
    background: var(--primary-color);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 10;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-text-col {
    text-align: right;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cta-btn-col {
    flex-shrink: 0;
}

.btn-cta-compact {
    background: #fff;
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-cta-compact:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================================
   Blog Section (Fire & Sparks Luxury Redesign)
   ========================================= */
.blog-section {
    background-color: #f8f9fa;
    padding-bottom: 100px;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    perspective: 1000px;
}

.blog-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 25px;
    padding: 2px; /* Border width */
    background: linear-gradient(45deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(86, 95, 163, 0.2); /* Colored Shadow */
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.blog-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.blog-card:hover .blog-img::after {
    opacity: 1;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.15) rotate(2deg);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

/* New Label Effect */
.blog-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.blog-label i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.blog-card:hover .blog-label {
    transform: translateY(0);
    opacity: 1;
}

/* Date Badge Redesign */
.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    min-width: 70px;
    z-index: 3;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-date {
    transform: scale(1.1);
}

.blog-date .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), #2a2f55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 2px;
}

.blog-date .month {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    background: #fff;
}

/* Blog Meta Data Luxury */
.blog-meta-luxury {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #777;
}

.blog-meta-luxury .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blog-meta-luxury .meta-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.blog-meta-luxury .meta-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.blog-meta-luxury .meta-item:hover i {
    color: #fff;
}

.blog-meta-luxury .rating i {
    color: #ffc107; /* Gold Star */
}

.blog-content .title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-content .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    background: linear-gradient(to left, var(--primary-color), var(--primary-color));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: right bottom;
    padding-bottom: 3px;
}

.blog-content .title a:hover {
    color: var(--primary-color);
    background-size: 100% 2px;
}

.blog-content .excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-content .read-more {
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: auto;
    padding: 10px 20px;
    background: rgba(86, 95, 163, 0.05); /* Light primary bg */
    border-radius: 50px;
    align-self: flex-start;
}

.blog-content .read-more i {
    transition: transform 0.3s;
}

.blog-card:hover .read-more {
    background: var(--primary-color);
    color: #fff;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(86, 95, 163, 0.3);
}

.blog-card:hover .read-more i {
    transform: translateX(-5px); /* Move arrow left (RTL) */
}

/* =========================================
   FAQ Section (Dark Luxury)
   ========================================= */
.faq-dark {
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
    position: relative;
}

.faq-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/pattern-dark.png');
    opacity: 0.03;
    pointer-events: none;
}

.faq-dark .section-title {
    color: #fff;
}

.faq-dark .section-title span {
    color: var(--secondary-color);
}

.faq-dark .section-desc {
    color: #aaa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: #1a1a1a;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.question-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.question-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    transition: color 0.3s ease;
}

.faq-item.active .question-icon {
    color: var(--secondary-color);
}

.faq-question .toggle-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #151515; /* Slightly darker for answer area */
}

.faq-answer p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.7;
}

/* Active State */
.faq-item.active {
    border-color: var(--secondary-color);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
    border-top: 1px solid #333;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .testimonials-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text-col {
        text-align: center;
    }
}
