/* assets/css/style.css - Complete Stylesheet for dityasingh.com */

/* ==========================================
   1. CSS VARIABLES & ROOT SETTINGS
   ========================================== */
:root {
    --bg-primary: #0b0914;
    --bg-secondary: #151222;
    --bg-card: #1c182d;
    --text-primary: #e8e6f0;
    --text-secondary: #a09cb0;
    --accent-gold: #d4af37;
    --accent-purple: #9d4edd;
    --danger: #ff4d4d;
    --success: #4dff88;
    --warning: #ffa500;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.6; 
}

a { 
    text-decoration: none; 
    color: var(--accent-gold); 
    transition: color 0.3s ease;
}

a:hover { 
    color: var(--accent-purple); 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ==========================================
   2. BUTTONS
   ========================================== */
.btn-primary { 
    display: inline-block; 
    padding: 12px 30px; 
    background: var(--accent-purple); 
    color: white; 
    border: none; 
    border-radius: 30px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-size: 1rem;
}

.btn-primary:hover { 
    background: #7b2cbf; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

.btn-secondary { 
    padding: 12px 30px; 
    background: transparent; 
    color: var(--text-secondary); 
    border: 1px solid var(--text-secondary); 
    border-radius: 30px; 
    cursor: not-allowed;
    font-size: 1rem;
}

.btn-block { 
    display: block; 
    width: 100%; 
    text-align: center; 
}

.btn-full { 
    width: 100%; 
    text-align: center; 
}

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.site-header { 
    padding: 20px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 100;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: var(--accent-gold); 
    letter-spacing: 2px; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
}

.nav-links a { 
    color: var(--text-primary); 
    font-weight: 500; 
    font-size: 0.95rem;
}

.nav-links a:hover { 
    color: var(--accent-gold); 
}

/* ==========================================
   4. COUNTRY GATE MODAL
   ========================================== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.85); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
    backdrop-filter: blur(5px); 
}

.modal-content { 
    background: var(--bg-card); 
    padding: 40px; 
    border-radius: 15px; 
    text-align: center; 
    max-width: 450px; 
    width: 90%; 
    border: 1px solid var(--accent-purple); 
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.3); 
}

.modal-content h2 { 
    color: var(--accent-gold); 
    margin-bottom: 15px; 
    font-size: 1.8rem;
}

.modal-content p { 
    margin-bottom: 25px; 
    color: var(--text-secondary); 
    font-size: 1rem;
}

.modal-content label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.modal-content select { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 25px; 
    background: var(--bg-secondary); 
    color: white; 
    border: 1px solid #444; 
    border-radius: 8px; 
    font-size: 1rem;
    cursor: pointer;
}

.modal-content select:focus {
    outline: none;
    border-color: var(--accent-purple);
}

/* ==========================================
   5. ABOVE THE FOLD - SPLIT LAYOUT (NEW)
   ========================================== */
.above-fold {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: radial-gradient(circle at top right, #1c182d 0%, #0b0914 70%);
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Intro */
.intro-side {
    flex: 1;
    max-width: 500px;
}

.main-title {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.2rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
    font-weight: 500;
}

.bio-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.region-indicator {
    background: rgba(255,255,255,0.05);
    padding: 12px 18px;
    border-radius: 8px;
    display: inline-block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.region-indicator strong { 
    color: var(--accent-gold); 
}

/* Right Side: Catalog */
.catalog-side {
    flex: 1.2;
    width: 100%;
}

.catalog-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: left;
    font-weight: 600;
}

/* ==========================================
   6. READING CARDS (GREEN/RED STATES)
   ========================================== */
.readings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.reading-card {
    background: var(--bg-card);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

/* GREEN STATE: Available */
.reading-card.available {
    border-color: rgba(77, 255, 136, 0.3);
    background: linear-gradient(145deg, #1c182d 0%, #15221a 100%);
}

.reading-card.available:hover {
    transform: translateY(-5px);
    border-color: var(--success);
    box-shadow: 0 10px 30px rgba(77, 255, 136, 0.15);
}

/* RED STATE: Full */
.reading-card.full {
    border-color: rgba(255, 77, 77, 0.3);
    background: linear-gradient(145deg, #1c182d 0%, #2d1515 100%);
    opacity: 0.95;
}

.reading-card.full:hover {
    transform: translateY(-3px);
}

.card-header {
    position: relative;
    margin-bottom: 15px;
    padding-right: 60px; /* make room for the badge */
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.reading-card h3 { 
    color: white; 
    font-size: 1.1rem; 
    margin-bottom: 8px;
    font-weight: 600;
}

.reading-card .duration { 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-bottom: 12px; 
}

.reading-card .price { 
    font-size: 2rem; 
    font-weight: bold; 
    color: var(--accent-gold); 
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Status Badges */
.status-badge {
    font-weight: bold;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.green {
    background: rgba(77, 255, 136, 0.15);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-badge.red {
    background: rgba(255, 77, 77, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.countdown {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

/* ==========================================
   7. ABOUT SECTION
   ========================================== */
.about { 
    padding: 100px 20px; 
    text-align: center; 
    background: var(--bg-secondary); 
}

.about h2 { 
    color: var(--accent-purple); 
    margin-bottom: 25px; 
    font-size: 2.2rem; 
}

.about p { 
    max-width: 750px; 
    margin: 0 auto; 
    font-size: 1.1rem; 
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   8. BOOKING SECTION
   ========================================== */
.booking-section { 
    padding: 100px 20px; 
    min-height: 80vh; 
}

.booking-section h2 { 
    text-align: center; 
    color: var(--accent-gold); 
    margin-bottom: 50px; 
    font-size: 2.2rem; 
}

.alert { 
    padding: 18px 25px; 
    border-radius: 10px; 
    margin-bottom: 30px; 
    text-align: center; 
    font-weight: 600; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.alert-error { 
    background: rgba(255, 77, 77, 0.1); 
    border: 1px solid var(--danger); 
    color: var(--danger); 
}

.alert-success { 
    background: rgba(77, 255, 136, 0.1); 
    border: 1px solid var(--success); 
    color: var(--success); 
}

.alert-info {
    background: rgba(59, 130, 246, 0.1); 
    border: 1px solid #3b82f6; 
    color: #60a5fa; 
}

.booking-layout { 
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    gap: 50px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.booking-summary { 
    background: var(--bg-card); 
    padding: 35px; 
    border-radius: 15px; 
    border: 1px solid var(--accent-purple); 
    height: fit-content; 
    text-align: center;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.15);
}

.booking-summary h3 { 
    color: white; 
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.booking-summary .duration { 
    color: var(--text-secondary); 
    margin-bottom: 15px;
    font-size: 1rem;
}

.booking-summary .price { 
    font-size: 2.5rem; 
    font-weight: bold; 
    color: var(--accent-gold); 
    margin: 20px 0;
    letter-spacing: 2px;
}

.booking-summary .region-note { 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.booking-form { 
    background: var(--bg-secondary); 
    padding: 40px; 
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================
   9. FORM VALIDATION STYLES
   ========================================== */
.form-group { 
    position: relative; 
    margin-bottom: 28px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 10px; 
    color: var(--text-primary); 
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 14px 16px; 
    background: var(--bg-primary); 
    border: 1px solid #333; 
    border-radius: 10px; 
    color: white; 
    font-size: 1rem; 
    transition: all 0.3s ease; 
}

.form-group input:focus, 
.form-group textarea:focus { 
    outline: none; 
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

/* Valid State */
.form-group.success input, 
.form-group.success textarea { 
    border-color: var(--success); 
}

/* Invalid State */
.form-group.error input, 
.form-group.error textarea { 
    border-color: var(--danger); 
}

/* Inline Error Message */
.error-message { 
    display: none; 
    color: var(--danger); 
    font-size: 0.85rem; 
    margin-top: 8px; 
    position: absolute;
    font-weight: 500;
}

.form-group.error .error-message { 
    display: block; 
}

.form-hint { 
    display: block; 
    color: var(--text-secondary); 
    font-size: 0.85rem; 
    margin-top: 8px;
    font-style: italic;
}

.referral-disabled-note { 
    text-align: center; 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    font-style: italic; 
    margin-top: -15px; 
    margin-bottom: 25px;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
}

/* ==========================================
   10. CHECKOUT SECTION
   ========================================== */
.checkout-section { 
    padding: 100px 20px; 
    min-height: 80vh; 
}

.checkout-section h2 { 
    text-align: center; 
    color: var(--accent-gold); 
    margin-bottom: 50px; 
    font-size: 2.2rem; 
}

.checkout-layout { 
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    gap: 50px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.checkout-summary { 
    background: var(--bg-card); 
    padding: 35px; 
    border-radius: 15px; 
    border: 1px solid var(--accent-purple); 
    height: fit-content;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.15);
}

.checkout-summary h3 { 
    color: white; 
    margin-bottom: 25px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 15px;
    font-size: 1.3rem;
}

.checkout-summary p { 
    margin-bottom: 12px; 
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.checkout-summary .order-code { 
    color: var(--accent-gold); 
    font-family: 'Courier New', monospace; 
    font-size: 1.1rem; 
    margin-top: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

.checkout-payment { 
    background: var(--bg-secondary); 
    padding: 40px; 
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.upi-flow h3, 
.paypal-flow h3 { 
    color: white; 
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.instruction { 
    color: var(--text-secondary); 
    margin-bottom: 30px;
    line-height: 1.7;
}

.qr-container { 
    text-align: center; 
    margin-bottom: 25px; 
}

.qr-image { 
    max-width: 280px; 
    border-radius: 12px; 
    border: 3px solid var(--accent-gold); 
    background: white; 
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.upi-id-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    background: var(--bg-primary); 
    padding: 18px 25px; 
    border-radius: 10px; 
    margin-bottom: 30px; 
    border: 1px dashed var(--accent-purple);
    flex-wrap: wrap;
}

.upi-id-box span { 
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.upi-id-box strong { 
    color: white; 
    font-size: 1.3rem; 
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn { 
    background: var(--accent-purple); 
    color: white; 
    border: none; 
    padding: 8px 20px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover { 
    background: #7b2cbf;
    transform: translateY(-1px);
}

.upi-form label { 
    display: block; 
    margin-bottom: 10px; 
    color: var(--text-primary);
    font-weight: 500;
}

.upi-form input { 
    width: 100%; 
    padding: 14px; 
    background: var(--bg-primary); 
    border: 1px solid #333; 
    border-radius: 10px; 
    color: white; 
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.upi-form input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.paypal-amount { 
    font-size: 1.8rem; 
    color: var(--accent-gold); 
    text-align: center; 
    margin: 35px 0;
    font-weight: bold;
}

.note { 
    text-align: center; 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-top: 15px;
    font-style: italic;
}

/* ==========================================
   11. SUCCESS SECTION
   ========================================== */
.success-section { 
    padding: 100px 20px; 
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card { 
    max-width: 650px; 
    margin: 0 auto; 
    background: var(--bg-card); 
    padding: 60px 40px; 
    border-radius: 20px; 
    text-align: center; 
    border: 1px solid var(--accent-purple);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.2);
}

.success-icon { 
    font-size: 5rem; 
    margin-bottom: 25px; 
}

.success-card h2 { 
    color: var(--accent-gold); 
    margin-bottom: 20px;
    font-size: 2rem;
}

.success-card p { 
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.success-card strong {
    color: var(--text-primary);
}

.order-details { 
    background: var(--bg-secondary); 
    padding: 25px; 
    border-radius: 12px; 
    margin: 30px 0; 
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
}

.order-details p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.order-details strong {
    color: var(--text-primary);
}

/* Referral Reward Box */
.referral-reward-box { 
    background: linear-gradient(135deg, #1c182d 0%, #2d1b4e 100%); 
    border: 1px solid var(--accent-gold); 
    padding: 35px; 
    border-radius: 15px; 
    margin: 35px 0; 
    text-align: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.referral-reward-box h3 { 
    color: var(--accent-gold); 
    margin-bottom: 15px; 
    font-size: 1.4rem;
}

.referral-reward-box p { 
    color: var(--text-secondary); 
    margin-bottom: 15px; 
    font-size: 1rem;
}

.referral-code-display { 
    background: var(--bg-primary); 
    color: white; 
    font-size: 2rem; 
    font-weight: bold; 
    font-family: 'Courier New', monospace; 
    padding: 20px; 
    border-radius: 12px; 
    letter-spacing: 3px; 
    margin: 20px 0; 
    border: 2px dashed var(--accent-purple);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.referral-subtext { 
    font-size: 0.9rem !important; 
    margin-bottom: 0 !important;
    line-height: 1.6;
}

.support-note { 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-top: 30px;
    line-height: 1.7;
}

.support-note a {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ==========================================
   12. FAQ SECTION
   ========================================== */
.faq { 
    padding: 100px 20px; 
    background: var(--bg-secondary); 
}

.faq h2 { 
    text-align: center; 
    color: var(--accent-purple); 
    margin-bottom: 50px; 
    font-size: 2.2rem; 
}

.faq-item { 
    max-width: 850px; 
    margin: 0 auto 30px auto; 
    background: var(--bg-card); 
    padding: 30px; 
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 { 
    color: var(--accent-gold); 
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p { 
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   13. FOOTER
   ========================================== */
.site-footer { 
    padding: 50px 20px 30px; 
    text-align: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: var(--text-secondary);
    background: var(--bg-primary);
}

.site-footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.support-note { 
    margin: 15px 0; 
    font-size: 0.9rem;
}

.social-links { 
    margin-top: 25px; 
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* ==========================================
   14. RESPONSIVE / MOBILE STYLES
   ========================================== */
@media (max-width: 900px) {
    .above-fold {
        min-height: auto;
        padding: 80px 20px 50px;
        flex-direction: column;
    }
    
    .split-layout {
        flex-direction: column;
        gap: 50px;
    }
    
    .intro-side {
        max-width: 100%;
        text-align: center;
    }
    
    .main-title { 
        font-size: 2.8rem; 
    }
    
    .catalog-title { 
        text-align: center; 
    }
    
    .booking-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .booking-summary,
    .checkout-summary {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }
    
    .main-title { 
        font-size: 2.3rem; 
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .reading-card .price {
        font-size: 1.6rem;
    }
    
    .modal-content {
        padding: 30px 25px;
    }
    
    .booking-form,
    .checkout-payment {
        padding: 25px;
    }
    
    .success-card {
        padding: 40px 25px;
    }
    
    .success-icon {
        font-size: 4rem;
    }
    
    .referral-code-display {
        font-size: 1.5rem;
        padding: 15px;
        letter-spacing: 2px;
    }
    
    .upi-id-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .faq-item {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .main-title { 
        font-size: 2rem; 
    }
    
    .readings-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .booking-section h2,
    .checkout-section h2,
    .faq h2 {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   15. UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--accent-purple);
    color: white;
}

::-moz-selection {
    background: var(--accent-purple);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7b2cbf;
}

/* ==========================================
   16. TESTIMONIALS GRID � UPDATED 
   (Avatar + Center aligned Text)
   ========================================== */
.testimonials-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
    text-align: center;
}

.testimonials-section h2 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials-subtext {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
}
/* ==========================================
   16. TESTIMONIALS GRID � UPDATED LAYOUT 
   ========================================== */
.testimonials-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
    text-align: center;
}

.testimonials-section h2 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials-subtext {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
}

/* Row 1 & 2 Header Layout */
.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar Image / Placeholder */
.avatar-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    line-height: 45px; /* Matches the wrapper height */
}

.header-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.h-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.h-handle {
    white-space: nowrap;
}
.h-handle a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}
.h-handle a:hover {
    text-decoration: underline;
}

/* Row 2: From :: Country */
.from-row {
    display: block;
    margin-top: 2px;
    padding-left: 57px; /* Aligns under the text, avoiding the avatar */
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.r-country {
    color: #ffffff;
    font-weight: 500;
}

/* Row 3: Review Image & Text */
.review-content {
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.review-screenshot {
    width: 100%;
    height: auto;
    max-height: 450px; /* Limits height so it doesn't take up too much space */
    object-fit: contain;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    width: 100%;
}

.testimonials-cta {
    margin-top: 50px;
}

.testimonials-cta .btn-primary {
    background: var(--accent-purple);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
}

.testimonials-cta .btn-primary:hover {
    background: #7b2cbf;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    .avatar-wrapper {
        width: 40px;
        height: 40px;
    }
    .avatar-placeholder {
        line-height: 40px;
    }
    .from-row {
        padding-left: 52px; /* Adjust padding for smaller avatar */
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* Optional: Reduce the new intro heading size slightly if 3.5rem is too big */
.intro-side .main-title {
    font-size: 2rem; /* Adjusts the gold "Hi, I'm Ditya Singh." */
}


/* ==========================================
   MOBILE POLISH TWEAKS
   ========================================== */
@media (max-width: 480px) {
    /* 1. Resize the profile image for small phones (like iPhone SE) */
    .intro-side img[alt="Ditya Singh"] {
        width: 100px !important;
        height: 100px !important;
    }

    /* 2. Reduce the top padding slightly on mobile so it feels less empty */
    .above-fold {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    /* 3. Tweak the bio text to be slightly smaller and more comfortable to read */
    .intro-side .bio-text {
        font-size: 0.95rem;
        text-align: left; /* Left-aligned text is easier to scan on tiny screens */
    }
}

/* ==========================================
   18. FOOTER PROMISE BLOCK STYLES
   ========================================== */
.promise-block {
    max-width: 650px;
    margin: 0 auto 30px auto;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Subtle divider */
    text-align: center;
}

.promise-block h4 {
    color: var(--accent-gold); /* Uses your theme's gold color */
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.promise-block p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.promise-block p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   19. READABLE FORM ERROR MESSAGES
   ========================================== */
.form-group.error .error-message {
    display: block;
    /* Change the text from dark red to a light, high-contrast pinkish-white */
    color: #ffcccc; 
    /* Add a semi-transparent dark-red background for visibility */
    background: rgba(255, 50, 50, 0.15);
    padding: 8px 12px;
    border-radius: 6px;
    /* Add a solid red accent strip on the left */
    border-left: 3px solid var(--danger);
    margin-top: 10px;
}