/**
 * Content Sections CSS
 * Phoenix Bestattung Wien
 */

/* Common Section Styles */
.section-title {
    font-size: var(--font-size-4xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-12);
    line-height: var(--line-height-relaxed);
}

/* Introduction Section */
.introduction-section {
    background: linear-gradient(135deg,
        var(--color-bg-primary) 0%,
        var(--color-bg-secondary) 100%
    );
    padding: var(--spacing-20) 0;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-gold-lg);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.intro-text {
    padding: var(--spacing-6);
}

.intro-title {
    font-size: var(--font-size-4xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-gold);
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.intro-paragraph {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-6);
}

.intro-paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .section-title {
        font-size: var(--font-size-3xl);
    }

    .intro-layout {
        grid-template-columns: 1fr;
    }

    .intro-title {
        font-size: var(--font-size-3xl);
    }

    .introduction-section {
        padding: var(--spacing-16) 0;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .intro-title {
        font-size: var(--font-size-2xl);
    }

    .intro-paragraph {
        font-size: var(--font-size-base);
    }
}

/* Services Section */
.services-section {
    background: var(--color-bg-primary);
    padding: var(--spacing-24) 0;
}

.section-header {
    margin-bottom: var(--spacing-16);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-8);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.05),
        transparent
    );
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--color-accent-gold);
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.service-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

@keyframes serviceParticleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(1);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--move-x, 0), var(--move-y, -100px)) scale(0.3);
    }
}

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.service-icon {
    width: 50px;
    height: 50px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Service-Specific Color Shines */
.service-card[data-service="feuerbestattung"]::before {
    background: linear-gradient(135deg,
        rgba(255, 140, 0, 0.08),
        rgba(255, 215, 0, 0.05),
        transparent
    );
}

.service-card[data-service="feuerbestattung"]:hover {
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.3);
}

.service-card[data-service="feuerbestattung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(255, 140, 0, 0.15),
        rgba(255, 215, 0, 0.2)
    );
}

.service-card[data-service="erdbestattung"]::before {
    background: linear-gradient(135deg,
        rgba(139, 69, 19, 0.08),
        rgba(160, 82, 45, 0.05),
        transparent
    );
}

.service-card[data-service="erdbestattung"]:hover {
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.3);
}

.service-card[data-service="erdbestattung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(139, 69, 19, 0.15),
        rgba(160, 82, 45, 0.2)
    );
}

.service-card[data-service="seebestattung"]::before {
    background: linear-gradient(135deg,
        rgba(70, 130, 180, 0.08),
        rgba(95, 158, 160, 0.05),
        transparent
    );
}

.service-card[data-service="seebestattung"]:hover {
    box-shadow: 0 12px 40px rgba(70, 130, 180, 0.3);
}

.service-card[data-service="seebestattung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(70, 130, 180, 0.15),
        rgba(95, 158, 160, 0.2)
    );
}

.service-card[data-service="waldbestattung"]::before {
    background: linear-gradient(135deg,
        rgba(34, 139, 34, 0.08),
        rgba(50, 205, 50, 0.05),
        transparent
    );
}

.service-card[data-service="waldbestattung"]:hover {
    box-shadow: 0 12px 40px rgba(34, 139, 34, 0.3);
}

.service-card[data-service="waldbestattung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(34, 139, 34, 0.15),
        rgba(50, 205, 50, 0.2)
    );
}

.service-card[data-service="diamantbestattung"]::before {
    background: linear-gradient(135deg,
        rgba(224, 247, 250, 0.08),
        rgba(178, 223, 219, 0.05),
        transparent
    );
}

.service-card[data-service="diamantbestattung"]:hover {
    box-shadow: 0 12px 40px rgba(178, 223, 219, 0.3);
}

.service-card[data-service="diamantbestattung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(224, 247, 250, 0.15),
        rgba(178, 223, 219, 0.2)
    );
}

.service-card[data-service="islamische"]::before {
    background: linear-gradient(135deg,
        rgba(76, 175, 80, 0.08),
        rgba(139, 195, 74, 0.05),
        transparent
    );
}

.service-card[data-service="islamische"]:hover {
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.3);
}

.service-card[data-service="islamische"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(76, 175, 80, 0.15),
        rgba(139, 195, 74, 0.2)
    );
}

.service-card[data-service="kinder"]::before {
    background: linear-gradient(135deg,
        rgba(255, 182, 193, 0.08),
        rgba(255, 192, 203, 0.05),
        transparent
    );
}

.service-card[data-service="kinder"]:hover {
    box-shadow: 0 12px 40px rgba(255, 182, 193, 0.3);
}

.service-card[data-service="kinder"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(255, 182, 193, 0.15),
        rgba(255, 192, 203, 0.2)
    );
}

.service-card[data-service="anonyme"]::before {
    background: linear-gradient(135deg,
        rgba(112, 128, 144, 0.08),
        rgba(119, 136, 153, 0.05),
        transparent
    );
}

.service-card[data-service="anonyme"]:hover {
    box-shadow: 0 12px 40px rgba(112, 128, 144, 0.3);
}

.service-card[data-service="anonyme"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(112, 128, 144, 0.15),
        rgba(119, 136, 153, 0.2)
    );
}

.service-card[data-service="ueberfuehrung"]::before {
    background: linear-gradient(135deg,
        rgba(106, 90, 205, 0.08),
        rgba(123, 104, 238, 0.05),
        transparent
    );
}

.service-card[data-service="ueberfuehrung"]:hover {
    box-shadow: 0 12px 40px rgba(106, 90, 205, 0.3);
}

.service-card[data-service="ueberfuehrung"] .service-icon-wrapper {
    background: linear-gradient(135deg,
        rgba(106, 90, 205, 0.15),
        rgba(123, 104, 238, 0.2)
    );
}

.service-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-3);
}

.service-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-4);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-6) 0;
}

.service-features li {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    padding: var(--spacing-2) 0;
    padding-left: var(--spacing-6);
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
    font-weight: var(--font-weight-bold);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--color-accent-gold);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-link:hover {
    color: var(--color-accent-gold-light);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Responsive Design for Services */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-6);
    }

    .services-section {
        padding: var(--spacing-16) 0;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .service-icon {
        width: 30px;
        height: 30px;
    }
}

/* Comfort Quotes Section */
.comfort-quotes-section {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        var(--color-bg-primary) 100%
    );
    padding: calc(var(--spacing-24) + var(--spacing-12)) 0;
    min-height: 900px;
    overflow: hidden;
    position: relative;
    transition: background 0.8s ease;
}

/* Category-specific subtle background tints */
.comfort-quotes-section.category-christian {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        color-mix(in srgb, var(--color-bg-primary) 97%, #D4AF37 3%) 100%
    );
}

.comfort-quotes-section.category-islamic {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        color-mix(in srgb, var(--color-bg-primary) 97%, #4CAF50 3%) 100%
    );
}

.comfort-quotes-section.category-general {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        color-mix(in srgb, var(--color-bg-primary) 98%, #FFD700 2%) 100%
    );
}

.section-header {
    margin-bottom: var(--spacing-8);
}

.comfort-badge {
    display: inline-block;
    padding: var(--spacing-2) var(--spacing-4);
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1),
        rgba(212, 175, 55, 0.2)
    );
    color: var(--color-accent-gold);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
}

.quote-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
    flex-wrap: wrap;
}

.quote-tab {
    padding: var(--spacing-3) var(--spacing-6);
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}

.quote-tab:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.quote-tab.active {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
    color: var(--color-bg-primary);
    border-color: var(--color-accent-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

/* Category-specific active tab glow */
.quote-tab.active[data-category="christian"] {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.quote-tab.active[data-category="islamic"] {
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.quote-tab.active[data-category="general"] {
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.quotes-wrapper {
    position: relative;
    min-height: 550px;
    z-index: 1;
}

.quotes-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-6);
    position: relative;
    z-index: 1;
}

.quotes-grid.active {
    display: grid;
}

.quote-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-8);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.quote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-md);
}

.quote-card blockquote {
    margin: 0;
}

.quote-card p {
    font-size: var(--font-size-lg);
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin-bottom: var(--spacing-4);
}

.quote-card cite {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-accent-gold);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
}

/* Quote Particles */
.quote-particles-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.quote-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.quote-particles.active {
    opacity: 1;
}

/* Category Background Indicator */
.category-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 600px;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    line-height: 1;
}

.quote-particles.active .category-indicator {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.025;
}

/* SVG Background Animations */
.quote-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.svg-glow-1 {
    animation: svgPulse1 8s ease-in-out infinite;
}

.svg-glow-2 {
    animation: svgPulse2 10s ease-in-out infinite;
}

.svg-glow-3 {
    animation: svgPulse3 12s ease-in-out infinite;
}

.svg-path-1 {
    animation: pathFloat1 15s ease-in-out infinite;
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
}

.svg-path-2 {
    animation: pathFloat2 18s ease-in-out infinite;
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
}

@keyframes svgPulse1 {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes svgPulse2 {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.15);
    }
}

@keyframes svgPulse3 {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.9);
    }
}

@keyframes pathFloat1 {
    0%, 100% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
    50% {
        stroke-dashoffset: 200;
        opacity: 0.7;
    }
}

@keyframes pathFloat2 {
    0%, 100% {
        stroke-dashoffset: 400;
        opacity: 0.5;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
}

/* Christian Particles - Crosses */
.cross-particle {
    position: absolute;
    width: 24px;
    height: 32px;
    animation: floatCross 8s ease-in-out infinite;
    transform: scale(0.7);
    transition: transform 0.5s ease;
}

.quote-particles.active .cross-particle {
    transform: scale(1);
}

.cross-particle::before,
.cross-particle::after {
    content: '';
    position: absolute;
    background: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.9);
}

.cross-particle::before {
    /* Vertical beam - longer */
    width: 4px;
    height: 32px;
    left: 10px;
    top: 0;
}

.cross-particle::after {
    /* Horizontal beam - shorter, positioned higher */
    width: 20px;
    height: 4px;
    left: 2px;
    top: 8px;
}

@keyframes floatCross {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(15deg);
        opacity: 0.95;
    }
}

/* ===================================
   Islamic Particles - Deep Blue & Gold Celestial Theme
   =================================== */

/* Islamic category indicator - gold crescent */
.category-indicator.islamic-indicator {
    color: rgba(212, 175, 55, 0.06);
    text-shadow: 0 0 80px rgba(212, 175, 55, 0.15);
}

/* Islamic SVG background adjustments */
.islamic-svg-bg {
    opacity: 0.9;
}

/* 8-Pointed Islamic Star Particle - Gold */
.islamic-star-particle {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: scale(0.7);
    transition: transform 0.5s ease;
    animation: islamicStarFloat 8s ease-in-out infinite;
}

.quote-particles.active .islamic-star-particle {
    transform: scale(1);
}

/* 8-pointed star shape using CSS */
.islamic-star-particle::before,
.islamic-star-particle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.9) 0%,
        rgba(212, 175, 55, 0.7) 50%,
        rgba(184, 134, 11, 0.5) 100%
    );
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.islamic-star-particle::after {
    transform: rotate(22.5deg);
    opacity: 0.7;
}

@keyframes islamicStarFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0.5;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    }
    25% {
        transform: translateY(-10px) rotate(22.5deg) scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px) rotate(45deg) scale(1);
        opacity: 0.9;
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
    }
    75% {
        transform: translateY(-15px) rotate(67.5deg) scale(0.9);
        opacity: 0.7;
    }
}

/* Islamic Crescent Moon Particle - Gold */
.islamic-crescent-particle {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: scale(0.7);
    transition: transform 0.5s ease;
    animation: islamicCrescentFloat 10s ease-in-out infinite;
}

.quote-particles.active .islamic-crescent-particle {
    transform: scale(1);
}

/* Crescent moon shape using CSS */
.islamic-crescent-particle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.9) 0%,
        rgba(212, 175, 55, 0.8) 50%,
        rgba(184, 134, 11, 0.6) 100%
    );
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.5),
        inset -8px -2px 0 rgba(15, 23, 66, 0.95);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

@keyframes islamicCrescentFloat {
    0%, 100% {
        transform: translateY(0) rotate(-15deg) scale(0.8);
        opacity: 0.5;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    }
    25% {
        transform: translateY(-12px) rotate(-5deg) scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px) rotate(5deg) scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.6));
    }
    75% {
        transform: translateY(-18px) rotate(-10deg) scale(0.9);
        opacity: 0.65;
    }
}

/* Legacy Islamic particles (backwards compatibility - hidden) */
.crescent-particle,
.star-particle {
    display: none;
}

/* General Wisdom Particles - Butterflies and Light Orbs */
.butterfly-particle {
    position: absolute;
    font-size: 50px;
    opacity: 0.6;
    animation: floatButterfly 12s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transform: scale(0.7);
    transition: transform 0.5s ease;
}

.quote-particles.active .butterfly-particle {
    transform: scale(1);
}

.butterfly-particle::before {
    content: '🦋';
}

@keyframes floatButterfly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translate(30px, -10px) rotate(10deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(0, -18px) rotate(-10deg);
        opacity: 0.9;
    }
    75% {
        transform: translate(-30px, -10px) rotate(10deg);
        opacity: 0.8;
    }
}

.light-orb {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6), rgba(212, 175, 55, 0.3), transparent);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    animation: pulseOrb 4s ease-in-out infinite;
    transform: scale(0.7);
    transition: transform 0.5s ease;
}

.quote-particles.active .light-orb {
    transform: scale(1);
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.9;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    background: var(--color-bg-primary);
    padding: var(--spacing-20) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    position: relative;
    transition: all var(--transition-base);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold-lg);
    border-color: var(--color-accent-gold);
}

.why-number {
    position: absolute;
    top: var(--spacing-6);
    right: var(--spacing-6);
    font-size: var(--font-size-5xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-gold);
    opacity: 0.1;
}

.why-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-3);
}

.why-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        var(--color-bg-primary) 100%
    );
    padding: var(--spacing-20) 0;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.process-step {
    display: flex;
    gap: var(--spacing-6);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-gold-md);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-3);
}

.step-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Golden CTA Section */
.golden-cta-section {
    background: linear-gradient(135deg,
        #d4af37 0%,
        #f0d98c 50%,
        #d4af37 100%
    );
    padding: var(--spacing-24) 0;
    position: relative;
    overflow: hidden;
}

.golden-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.golden-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.golden-cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-6);
    color: rgba(74, 54, 37, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

.golden-cta-icon svg {
    width: 100%;
    height: 100%;
}

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

.golden-cta-title {
    font-size: var(--font-size-5xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: #4a3625;
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.golden-cta-text {
    font-size: var(--font-size-lg);
    color: #5d4e37;
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-10);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.golden-cta-actions {
    display: flex;
    gap: var(--spacing-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-10);
}

.golden-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-5) var(--spacing-8);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.golden-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.golden-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.golden-cta-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.golden-cta-btn span,
.golden-cta-btn .btn-content {
    position: relative;
    z-index: 1;
}

.golden-cta-btn-primary {
    background: linear-gradient(135deg, #4a3625, #5d4e37);
    color: #f0d98c;
    border: 2px solid #4a3625;
}

.golden-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.golden-cta-btn-primary svg {
    stroke: #f0d98c;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-1);
}

.btn-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
}

.btn-phone {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
}

.golden-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #4a3625;
    border: 2px solid rgba(74, 54, 37, 0.2);
}

.golden-cta-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.golden-cta-btn-secondary svg {
    stroke: #4a3625;
}

.golden-cta-features {
    display: flex;
    gap: var(--spacing-8);
    justify-content: center;
    flex-wrap: wrap;
}

.golden-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-base);
    color: #4a3625;
    font-weight: var(--font-weight-medium);
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(74, 54, 37, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: #4a3625;
    font-size: var(--font-size-sm);
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg-primary);
    padding: var(--spacing-20) 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.faq-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-accent-gold);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-6);
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-4);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent-gold);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-accent-gold);
    transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-6) var(--spacing-6);
}

.faq-answer p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg,
        var(--color-bg-secondary) 0%,
        var(--color-bg-primary) 100%
    );
    padding: var(--spacing-24) 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-5xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-4);
}

.cta-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-8);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.cta-feature {
    display: flex;
    gap: var(--spacing-4);
    align-items: flex-start;
}

.cta-feature svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-accent-gold);
    flex-shrink: 0;
}

.cta-feature div {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.cta-feature strong {
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
}

.cta-feature a {
    color: var(--color-accent-gold);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cta-feature a:hover {
    color: var(--color-accent-gold-light);
}

.cta-form {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
}

.cta-form h3 {
    font-size: var(--font-size-2xl);
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-4);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-gold-sm);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-submit {
    padding: var(--spacing-4) var(--spacing-8);
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
    color: var(--color-bg-primary);
    border: none;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold-md);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-8);
    right: var(--spacing-8);
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Responsive Design for All Sections */
@media (max-width: 968px) {
    .comfort-quotes-section,
    .why-choose-section,
    .process-section,
    .golden-cta-section,
    .faq-section,
    .contact-cta-section {
        padding: var(--spacing-16) 0;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce particle count on tablets */
    .cross-particle:nth-child(n+8),
    .crescent-particle:nth-child(n+7),
    .star-particle:nth-child(n+5),
    .islamic-star-particle:nth-child(n+6),
    .islamic-crescent-particle:nth-child(n+4),
    .butterfly-particle:nth-child(n+5),
    .light-orb:nth-child(n+6) {
        display: none;
    }

    .category-indicator {
        font-size: 400px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: var(--font-size-4xl);
    }

    /* Golden CTA responsive */
    .golden-cta-title {
        font-size: var(--font-size-4xl);
    }

    .golden-cta-icon {
        width: 80px;
        height: 80px;
    }

    .golden-cta-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-4);
    }

    .golden-cta-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .golden-cta-features {
        flex-direction: column;
        gap: var(--spacing-4);
    }
}

@media (max-width: 640px) {
    .quote-tabs {
        flex-direction: column;
        gap: var(--spacing-3);
    }

    .quote-tab {
        width: 100%;
    }

    .quotes-wrapper {
        min-height: 450px;
    }

    .quote-particles-container {
        width: 100vw;
        height: 100%;
    }

    /* Further reduce particles on mobile */
    .cross-particle:nth-child(n+5),
    .crescent-particle:nth-child(n+5),
    .star-particle:nth-child(n+4),
    .islamic-star-particle:nth-child(n+4),
    .islamic-crescent-particle:nth-child(n+3),
    .butterfly-particle:nth-child(n+4),
    .light-orb:nth-child(n+4) {
        display: none;
    }

    .category-indicator {
        font-size: 250px;
    }

    .cross-particle,
    .crescent-particle,
    .star-particle,
    .butterfly-particle {
        font-size: 0.8em;
    }

    .islamic-star-particle {
        width: 18px;
        height: 18px;
    }

    .islamic-crescent-particle {
        width: 24px;
        height: 24px;
    }

    .light-orb {
        width: 20px;
        height: 20px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    /* Golden CTA mobile */
    .golden-cta-title {
        font-size: var(--font-size-3xl);
    }

    .golden-cta-text {
        font-size: var(--font-size-base);
    }

    .golden-cta-icon {
        width: 60px;
        height: 60px;
    }

    .golden-cta-btn {
        font-size: var(--font-size-base);
        padding: var(--spacing-4) var(--spacing-6);
    }

    .btn-phone {
        font-size: var(--font-size-lg);
    }

    .golden-feature {
        font-size: var(--font-size-sm);
    }

    .whatsapp-float {
        bottom: var(--spacing-4);
        right: var(--spacing-4);
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
