/* RERA Landing Page Styles */

.rera-header {
    background: linear-gradient(135deg, #ff6725 0%, #ff8850 100%);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.rera-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.rera-header h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.rera-header p {
    color: #fff;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.rera-category {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.rera-category:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #ff6725;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.category-icon i {
    font-size: 28px;
    color: #fff;
}

.category-title h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.category-title p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

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

.link-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(10px);
    border-color: #ff6725;
}

.link-card i {
    font-size: 24px;
    color: #ff6725;
    margin-right: 15px;
    min-width: 30px;
}

.link-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.link-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stat-card i {
    font-size: 36px;
    color: #ff6725;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-card p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.rera-quick-search {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.rera-search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.rera-search-tab {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rera-search-tab.active {
    background: #ff6725;
    color: #fff;
    border-color: #ff6725;
}

.rera-search-form {
    display: flex;
    gap: 15px;
}

.rera-search-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.rera-search-form button {
    padding: 15px 30px;
    background: #ff6725;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rera-search-form button:hover {
    background: #e55520;
}

/* Ribbon Badges */
.link-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 18px;
    right: -39px;
    background: #ff6725;
    color: white;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.link-card.new::before {
    content: 'NEW';
    position: absolute;
    top: 10px;
    right: -27px;
    background: #28a745;
    color: white;
    padding: 5px 35px;
    font-size: 11px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rera-header {
        padding: 40px 20px;
    }
    
    .rera-header h1 {
        font-size: 32px;
    }
    
    .rera-header p {
        font-size: 16px;
    }
    
    .rera-category {
        padding: 30px 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .rera-search-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .rera-search-form {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        padding: 20px;
    }
    
    .link-card i {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .link-content h4 {
        font-size: 16px;
    }
    
    .link-content p {
        font-size: 13px;
    }
}

/* WhatsApp Consultation Card Styles */
.consultation-card {
    background: linear-gradient(135deg, #ff6725 0%, #ff8547 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(255, 103, 37, 0.25);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.consultation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.consultation-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.consultation-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    flex-wrap: wrap;
}

.consultation-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.consultation-icon i {
    font-size: 40px;
    color: white;
}

.consultation-text {
    flex: 1;
    min-width: 250px;
    color: white;
}

.consultation-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.consultation-text p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.consultation-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #ff6725;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #25D366;
    color: white;
    border-color: #25D366;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 24px;
}

.contact-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.contact-number i {
    font-size: 16px;
}

/* Consultation Card Responsive */
@media (max-width: 768px) {
    .consultation-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .consultation-text h3 {
        font-size: 22px;
    }

    .consultation-text p {
        font-size: 14px;
    }

    .consultation-cta {
        align-items: center;
        width: 100%;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .contact-number {
        font-size: 16px;
    }
}