/* --- VARIABLES --- */
:root {
    --deep-purple: #2E0B45;
    --gold: #FFD700;
    --saffron: #FF9933;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: #f0f0f0;
}

/* --- GLOBAL LAYOUT --- */
.about-page-wrapper {
    background-color: var(--deep-purple);
    color: var(--text-light);
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
}

.guruji-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. HERO SECTION: PARALLAX COSMOS --- */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* UPDATED: Points to .webp */
    background-image: url('../images/about-hero.webp'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(46,11,69,0.3), #2E0B45);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--saffron);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- 2. BIO SECTION: THE SPLIT --- */
.bio-section {
    padding: 100px 0;
    background-color: #2E0B45;
}

.bio-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bio-image-wrapper {
    position: relative;
}

.bio-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: -20px 20px 0px rgba(255, 153, 51, 0.2); /* Saffron Shadow */
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.bio-image-wrapper:hover .bio-img {
    transform: scale(1.02);
}

.bio-halo {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

.bio-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 30px;
}

.digital-signature {
    width: 200px;
    opacity: 0.8;
    filter: invert(1); /* Makes black signature white */
}

/* --- 3. METHODOLOGY: GLASS GRID --- */
.pillars-section {
    padding: 80px 0;
    background: #28093d; /* Slightly darker */
}

.section-heading-center {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 60px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--gold);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.pillar-card h3 {
    color: var(--saffron);
    font-family: 'Cinzel', serif;
    margin-bottom: 15px;
}

/* Add this to your CSS file */
.pillar-icon-img img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); /* Gold Glow */
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-img img {
    transform: scale(1.1);
}

/* --- 4. STATS BAR --- */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(90deg, #1a0529 0%, #2E0B45 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-top: 50px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.stat-label {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- ANIMATIONS & RESPONSIVE --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.1); opacity: 0.8; }
}

@media (max-width: 900px) {
    .bio-split { grid-template-columns: 1fr; text-align: center; }
    .pillars-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .bio-image-wrapper { max-width: 400px; margin: 0 auto 40px auto; }
}