/* ==========================================================================
   Aiswarya Arcade - Enhanced Interactive Elements Stylesheet
   Design System Integration: Deep Navy (#1A2238) & Warm Gold (#C5A880)
   ========================================================================== */

/* 1. KEY HIGHLIGHTS STATS TICKER BAR */
.stats-ticker-section {
    background: #FAF8F5;
    color: #1A2238;
    padding: 22px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.3);
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: 0 4px 15px rgba(27, 34, 56, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.stats-ticker-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: center;
}

@media (max-width: 1399px) {
    .stats-ticker-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .stats-ticker-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .stats-ticker-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(27, 34, 56, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.ticker-item:hover {
    background: #FFFFFF;
    border-color: #C5A880;
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
    transform: translateY(-2px);
}

.ticker-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C5A880 0%, #a88a62 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(197, 168, 128, 0.3);
}

.ticker-text {
    font-size: 13px;
    font-weight: 500;
    color: #4A5568;
    margin: 0;
    line-height: 1.3;
}

.ticker-text strong {
    color: #1A2238;
    font-weight: 700;
    display: block;
    font-size: 14px;
}

/* 2. TABBED SPECIFICATIONS & FEATURES EXPLORER */
.specifications-explorer {
    padding: 90px 0;
    background: #FAF8F5;
}

.spec-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.spec-tab-btn {
    padding: 12px 28px;
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 30px;
    color: #1A2238;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 34, 56, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-tab-btn i {
    color: #C5A880;
    transition: color 0.3s ease;
}

.spec-tab-btn:hover,
.spec-tab-btn.active {
    background: #1A2238;
    color: #ffffff;
    border-color: #1A2238;
    box-shadow: 0 8px 20px rgba(27, 34, 56, 0.18);
}

.spec-tab-btn:hover i,
.spec-tab-btn.active i {
    color: #C5A880;
}

.spec-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.spec-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: 0 10px 30px rgba(27, 34, 56, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #C5A880 0%, #1A2238 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.16);
    border-color: rgba(197, 168, 128, 0.5);
}

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

.spec-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.spec-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(197, 168, 128, 0.12);
    color: #C5A880;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.spec-card-title {
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: 20px;
    font-weight: 700;
    color: #1A2238;
    margin: 0;
}

.spec-card-desc {
    font-size: 15px;
    color: #5a6578;
    line-height: 1.6;
    margin-bottom: 20px;
}

.spec-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.spec-tag {
    background: #FAF8F5;
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: #1A2238;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* 3. LOCATION & LANDMARK CONNECTIVITY MATRIX */
.location-matrix-section {
    padding: 90px 0;
    background: #FAF8F5;
    color: #1A2238;
    position: relative;
}

.location-matrix-section .section-sub-title {
    color: #C5A880;
}

.location-matrix-section h2 {
    color: #1A2238;
}

.landmark-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.landmark-filter-btn {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.35);
    color: #1A2238;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 34, 56, 0.04);
}

.landmark-filter-btn:hover,
.landmark-filter-btn.active {
    background: #C5A880;
    color: #ffffff;
    border-color: #C5A880;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.landmark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.landmark-card {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 6px 18px rgba(27, 34, 56, 0.04);
}

.landmark-card:hover {
    background: #ffffff;
    border-color: #C5A880;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.18);
}

.landmark-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: #C5A880;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.landmark-info {
    flex-grow: 1;
}

.landmark-name {
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: 18px;
    font-weight: 700;
    color: #1A2238;
    margin: 0 0 6px 0;
}

.landmark-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.landmark-dist {
    font-size: 13px;
    color: #C5A880;
    font-weight: 700;
    background: rgba(197, 168, 128, 0.15);
    padding: 2px 10px;
    border-radius: 12px;
}

.landmark-time {
    font-size: 13px;
    color: #4A5568;
}

.landmark-desc {
    font-size: 13px;
    color: #5a6578;
    margin: 0;
}

/* 4. FINANCIAL & EMI CALCULATOR WIDGET */
.emi-calculator-section {
    padding: 90px 0;
    background: #FAF8F5;
}

.calculator-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: 0 20px 50px rgba(27, 34, 56, 0.08);
    overflow: hidden;
    padding: 45px;
}

.calculator-preset-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.preset-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    background: #FAF8F5;
    color: #1A2238;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover,
.preset-btn.active {
    background: #1A2238;
    color: #ffffff;
    border-color: #1A2238;
}

.calc-slider-group {
    margin-bottom: 28px;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calc-slider-label {
    font-weight: 700;
    color: #1A2238;
    font-size: 15px;
    margin: 0;
}

.calc-slider-val {
    font-weight: 700;
    color: #C5A880;
    font-size: 17px;
    background: rgba(197, 168, 128, 0.12);
    padding: 4px 14px;
    border-radius: 8px;
}

.calc-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    accent-color: #C5A880;
    cursor: pointer;
}

.emi-results-box {
    background: linear-gradient(135deg, #1A2238 0%, #0d1220 100%);
    border-radius: 20px;
    padding: 35px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.emi-amount-display {
    text-align: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 25px;
}

.emi-amount-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C5A880;
    font-weight: 700;
    margin-bottom: 8px;
}

.emi-amount-value {
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.emi-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.emi-breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.emi-breakdown-item span:first-child {
    color: #cbd5e1;
}

.emi-breakdown-item span:last-child {
    font-weight: 700;
    color: #ffffff;
}

/* 5. PROJECT TIMELINE STAGE STEPPER */
.timeline-section {
    padding: 90px 0;
    background: #ffffff;
}

.timeline-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-stepper::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

@media (max-width: 991px) {
    .timeline-stepper::before {
        display: none;
    }
}

.timeline-step {
    flex: 1;
    min-width: 180px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px auto;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-step.completed .step-node {
    background: #1A2238;
    border-color: #C5A880;
    color: #C5A880;
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.timeline-step.active .step-node {
    background: #C5A880;
    border-color: #1A2238;
    color: #1A2238;
    animation: pulseStep 2s infinite;
}

@keyframes pulseStep {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(197, 168, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
    }
}

.step-title {
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: 16px;
    font-weight: 700;
    color: #1A2238;
    margin: 0 0 6px 0;
}

.step-status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.timeline-step.completed .step-status-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.timeline-step.active .step-status-badge {
    background: rgba(197, 168, 128, 0.2);
    color: #b39265;
}

/* 6. FAQ ACCORDION SECTION */
.faq-section {
    padding: 90px 0;
    background: #FAF8F5;
}

.accordion-item-custom {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(197, 168, 128, 0.25);
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(27, 34, 56, 0.03);
    transition: all 0.3s ease;
}

.accordion-item-custom:hover {
    border-color: rgba(197, 168, 128, 0.6);
}

.accordion-header-custom {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background 0.3s ease;
}

.accordion-header-custom.active {
    background: rgba(197, 168, 128, 0.08);
}

.accordion-title-custom {
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: 18px;
    font-weight: 700;
    color: #1A2238;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.accordion-title-custom i {
    color: #C5A880;
    font-size: 16px;
}

.accordion-icon-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.15);
    color: #1A2238;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.accordion-header-custom.active .accordion-icon-toggle {
    transform: rotate(180deg);
    background: #1A2238;
    color: #C5A880;
}

.accordion-body-custom {
    padding: 0 28px 24px 28px;
    display: none;
    color: #4A5568;
    font-size: 15px;
    line-height: 1.7;
}

.accordion-body-custom.open {
    display: block;
}

/* 7. FLOATING QUICK ACTION BAR & BACK TO TOP WIDGET */
.floating-action-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.12);
    color: #ffffff;
}

.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-btn-phone {
    background: linear-gradient(135deg, #C5A880 0%, #1A2238 100%);
}

.floating-btn-top {
    background: #1A2238;
    border: 2px solid #C5A880;
    color: #C5A880;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-btn-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-tooltip {
    position: absolute;
    right: 64px;
    background: #1A2238;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
}

/* RESPONSIVE ENHANCEMENTS */
@media (max-width: 768px) {
    .ticker-item {
        flex-shrink: 0;
    }

    .spec-filter-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .spec-filter-nav::-webkit-scrollbar {
        display: none;
    }

    .spec-card-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card-wrapper {
        padding: 25px 20px;
    }

    .emi-amount-value {
        font-size: 30px;
    }

    .floating-action-widget {
        bottom: 20px;
        right: 15px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .floating-tooltip {
        display: none;
        /* Hide tooltips on mobile touch devices to prevent screen overflow */
    }
}

@media (max-width: 575px) {

    .specifications-explorer,
    .location-matrix-section {
        padding: 50px 0;
    }

    .spec-card {
        padding: 20px 18px;
    }

    .spec-tab-btn {
        padding: 10px 18px;
        font-size: 14px;
        min-height: 44px;
    }

    .stats-ticker-section {
        padding: 15px 0;
    }

    .ticker-item {
        padding: 8px 14px;
    }
}

/* Floating Cards for About Aiswarya Builders Section */
.floating-builder-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.35);
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(27, 34, 56, 0.08), 0 4px 12px rgba(197, 168, 128, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.floating-builder-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 22px 45px rgba(27, 34, 56, 0.14), 0 8px 24px rgba(197, 168, 128, 0.25);
    border-color: #C5A880;
}

.floating-builder-card .card-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.15) 0%, rgba(197, 168, 128, 0.05) 100%);
    border: 1px solid rgba(197, 168, 128, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.floating-builder-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, #C5A880 0%, #a88a62 100%);
    border-color: #C5A880;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(197, 168, 128, 0.35);
}

.floating-builder-card:hover .card-icon-wrapper i {
    color: #FFFFFF !important;
}

@keyframes subtleFloatCard {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-builder-card.float-anim-1 {
    animation: subtleFloatCard 5s ease-in-out infinite;
}

.floating-builder-card.float-anim-2 {
    animation: subtleFloatCard 5s ease-in-out 1.25s infinite;
}

.floating-builder-card.float-anim-3 {
    animation: subtleFloatCard 5s ease-in-out 2.5s infinite;
}

.floating-builder-card.float-anim-4 {
    animation: subtleFloatCard 5s ease-in-out 3.75s infinite;
}

.floating-builder-card.float-anim-1:hover,
.floating-builder-card.float-anim-2:hover,
.floating-builder-card.float-anim-3:hover,
.floating-builder-card.float-anim-4:hover {
    animation-play-state: paused;
}