/* ========================================
   TG-RERA UNIFIED THEME — Brand: #ff6725
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.tgrera-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    border-radius: 20px 20px 0 0;
    padding: 35px 30px 28px;
    position: relative;
    overflow: hidden;
}
.tgrera-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.tgrera-hero-decoration::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.tgrera-hero-decoration::after {
    content: '';
    position: absolute;
    top: 120px;
    right: 180px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.tgrera-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}
.tgrera-hero-badge i {
    font-size: 11px;
}
.tgrera-hero-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.tgrera-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}
.tgrera-hero-desc a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tgrera-hero-desc a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.tgrera-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.tgrera-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.tgrera-hero-stat i {
    font-size: 12px;
}

/* ========================================
   STAT CARDS (Index Page)
   ======================================== */

.tgrera-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.tgrera-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #fff8f3 0%, #fff 100%);
    border: 2px solid #fff0e6;
    border-radius: 16px;
    padding: 22px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.tgrera-stat-card::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 103, 37, 0.06);
    border-radius: 50%;
}
.tgrera-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 103, 37, 0.15);
    border-color: #ffd4bf;
    color: inherit;
    text-decoration: none;
}
.tgrera-stat-card .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
}
.tgrera-stat-card .stat-icon.orange { background: #fff3ec; color: #ff6725; }
.tgrera-stat-card .stat-icon.green { background: #e6f4ea; color: #1e8e3e; }
.tgrera-stat-card .stat-icon.red { background: #fce4ec; color: #c62828; }
.tgrera-stat-card .stat-icon.purple { background: #f3e8fd; color: #7b1fa2; }
.tgrera-stat-card .stat-icon.blue { background: #e3f2fd; color: #1565c0; }
.tgrera-stat-card .stat-number {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.tgrera-stat-card .stat-label {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Full-width project banner stat */
.tgrera-project-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
    border: 2px solid #ffe0cc;
    border-radius: 16px;
    padding: 24px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.tgrera-project-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 103, 37, 0.06);
    border-radius: 50%;
}
.tgrera-project-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 103, 37, 0.15);
    border-color: #ffd4bf;
    color: inherit;
    text-decoration: none;
}
.tgrera-project-banner .banner-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.25);
}
.tgrera-project-banner .banner-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.tgrera-project-banner .banner-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}
.tgrera-project-banner .banner-action {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    color: #fff;
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.25);
    transition: all 0.3s;
    flex-shrink: 0;
}
.tgrera-project-banner:hover .banner-action {
    box-shadow: 0 6px 18px rgba(255, 103, 37, 0.35);
}

/* ========================================
   QUICK LINK CARDS
   ======================================== */

.tgrera-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.tgrera-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fff8f3 0%, #fff 100%);
    border: 2px solid #fff0e6;
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.tgrera-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 37, 0.12);
    border-color: #ffd4bf;
    color: inherit;
    text-decoration: none;
}
.tgrera-link-card .link-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.tgrera-link-card .link-icon.orange { background: #fff3ec; color: #ff6725; }
.tgrera-link-card .link-icon.green { background: #e6f4ea; color: #1e8e3e; }
.tgrera-link-card .link-icon.blue { background: #e3f2fd; color: #1565c0; }
.tgrera-link-card .link-icon.red { background: #fce4ec; color: #c62828; }
.tgrera-link-card .link-icon.purple { background: #f3e8fd; color: #7b1fa2; }
.tgrera-link-card .link-icon.teal { background: #e0f7fa; color: #00838f; }
.tgrera-link-card h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
    color: #333;
}
.tgrera-link-card .badge {
    background: #fff3ec;
    color: #ff6725;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ========================================
   ORDER ITEMS (Latest Orders Lists)
   ======================================== */

.tgrera-order-item {
    padding: 16px 0;
    border-bottom: 1px solid #fef5f0;
    transition: background 0.2s;
}
.tgrera-order-item:last-child {
    border-bottom: none;
}
.tgrera-order-item:hover {
    background: #fffbf8;
    border-radius: 8px;
    margin: 0 -12px;
    padding: 16px 12px;
}
.tgrera-order-item h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.tgrera-order-item h6 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.tgrera-order-item h6 a:hover {
    color: #ff6725;
}
.tgrera-order-item .order-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff3ec;
    color: #ff6725;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

/* ========================================
   ORDER TEXT CONTENT
   ======================================== */

.tgrera-order-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
}
.tgrera-order-text p {
    margin-bottom: 12px;
}
.tgrera-page-break {
    border: none;
    border-top: 2px dashed #ffe0cc;
    margin: 30px 0;
    position: relative;
}
.tgrera-page-break::after {
    content: 'Page Break';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 12px;
    color: #ccc;
    font-size: 11px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.tgrera-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 3px solid #fff0e6;
}
.tgrera-section-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tgrera-section-header .section-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.25);
}
.tgrera-section-header .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    color: #fff;
    padding: 7px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.2);
    transition: all 0.3s;
    flex-shrink: 0;
}
.tgrera-section-header .view-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 103, 37, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.tgrera-faq-section {
    margin-top: 10px;
}
.tgrera-faq-item {
    border: 1px solid #fff0e6;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.tgrera-faq-question {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fffbf8, #fff8f3);
    transition: background 0.2s;
    color: #333;
}
.tgrera-faq-question:hover {
    background: #fff3ec;
}
.tgrera-faq-question .faq-icon {
    transition: transform 0.3s;
    font-size: 12px;
    color: #ff6725;
    flex-shrink: 0;
    margin-left: 12px;
}
.tgrera-faq-question.open .faq-icon {
    transform: rotate(180deg);
}
.tgrera-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.tgrera-faq-answer.open {
    padding: 15px 20px;
    max-height: 500px;
}

/* Legacy FAQ (for pages still using old markup) */
.tgrera-faq h4 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #ff6725;
}
.tgrera-faq p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ========================================
   SEO ARTICLE SECTION
   ======================================== */

.tgrera-article h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}
.tgrera-article h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6725;
    margin-top: 22px;
    margin-bottom: 10px;
}
.tgrera-article p {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}
.tgrera-article ul {
    padding-left: 20px;
    margin-bottom: 18px;
}
.tgrera-article li {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 8px;
}
.tgrera-article a {
    color: #ff6725;
    font-weight: 600;
    text-decoration: none;
}
.tgrera-article a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .tgrera-hero {
        padding: 25px 20px 20px;
    }
    .tgrera-hero-title {
        font-size: 1.3rem;
    }
    .tgrera-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tgrera-stat-card {
        padding: 16px 12px;
    }
    .tgrera-stat-card .stat-number {
        font-size: 22px;
    }
    .tgrera-links-grid {
        grid-template-columns: 1fr;
    }
    .tgrera-link-card {
        padding: 14px 16px;
    }
    .tgrera-project-banner {
        flex-wrap: wrap;
        padding: 20px;
    }
    .tgrera-project-banner .banner-action {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
    .tgrera-section-header {
        flex-wrap: wrap;
        gap: 10px;
    }
}
