/* =========================================================================
   PARTHANA - PREMIUM ABOUT US PAGE STYLES (COMPLETE REDESIGN)
   ========================================================================= */

/* --- GLOBAL SCOPE --- */
.about-page-premium {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: #fdfbf7; /* Warm ivory */
    overflow-x: hidden;
}

.about-page-premium h1, 
.about-page-premium h2, 
.about-page-premium h3, 
.about-page-premium h4, 
.about-page-premium h5, 
.about-page-premium h6 {
    font-family: 'Rubik', serif; /* Use serif-like or elegant display font */
    color: #4a1515; /* Deep maroon */
    font-weight: 300; /* Lighter weight for premium feel */
    line-height: 1.2;
}

.about-page-premium p {
    font-family: 'Open Sans', sans-serif;
    color: #555555;
    line-height: 1.8;
    font-size: 16px;
}

/* --- TYPOGRAPHY UTILITIES --- */
.eyebrow-premium {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d97706; /* Saffron */
    letter-spacing: 3px;
    margin-bottom: 20px;
    position: relative;
}

.eyebrow-premium::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: #d97706;
    margin-top: 10px;
}

.heading-editorial {
    font-size: 56px;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.heading-section {
    font-size: 42px;
    margin-bottom: 40px;
}

/* Force typography on WYSIWYG content to prevent admin editor from breaking premium design */
.about-wysiwyg-content p, 
.about-wysiwyg-content span, 
.about-wysiwyg-content div,
.about-wysiwyg-content font {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.9 !important;
    color: inherit !important;
    background-color: transparent !important;
}

/* --- BUTTONS --- */
.btn-editorial {
    display: inline-block;
    padding: 15px 35px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.btn-editorial-primary {
    background-color: #4a1515;
    color: #fdfbf7;
    border: 1px solid #4a1515;
}

.btn-editorial-primary:hover {
    background-color: transparent;
    color: #4a1515;
}

.btn-editorial-secondary {
    background-color: transparent;
    color: #4a1515;
    border: 1px solid #4a1515;
}

.btn-editorial-secondary:hover {
    background-color: #4a1515;
    color: #fdfbf7;
}

/* --- SECTION 01: HERO --- */
.about-hero-split {
    position: relative;
    min-height: 80vh;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(74, 21, 21, 0.55);

    z-index: 1;
    pointer-events: none;
}

.about-hero-content {
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.about-hero-split .heading-editorial {
    color: #fdfbf7;
}

.about-hero-split p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(253, 251, 247, 0.9);
}

.about-hero-split .eyebrow-premium {
    color: #fdfbf7;
    border-color: rgba(253, 251, 247, 0.4);
}

/* --- SECTION 02: ABOUT PARTHANA --- */
.about-intro-split {
    padding: 120px 0;
    background-color: #ffffff;
}

.about-intro-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.about-intro-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-intro-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* --- SECTION 03: WHY PARTHANA --- */
.about-why {
    padding: 120px 0;
    background-color: #fdfbf7;
    border-top: 1px solid rgba(74,21,21,0.05);
}

.about-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 30px;
    margin-top: 60px;
}

/* Treat the ul as the grid container */
.about-why-grid-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Style the standard li generated by DB */
.about-why-grid-container ul li {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(217, 119, 6, 0.1);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
    font-family: 'Rubik', serif;
    color: #4a1515;
    position: relative;
}

.about-why-grid-container ul li:hover {
    transform: translateY(-10px);
}

/* Hide any inline SVG that FCKeditor might output */
.about-why-grid-container ul li svg {
    display: none;
}

/* Add custom bullet instead of SVG */
.about-why-grid-container ul li::before {
    content: '✦';
    font-size: 30px;
    color: #d97706;
    margin-bottom: 15px;
    display: block;
}

/* Create the asymmetric grid by sizing children differently */
.about-why-grid-container ul li:first-child {
    grid-column: span 2;
    background-color: #4a1515;
    color: #fdfbf7;
}
.about-why-grid-container ul li:first-child::before {
    color: #e5b376;
}

/* --- SECTION 04: VISION --- */
.about-vision {
    padding: 120px 0;
    background-color: #ffffff;
}

.about-vision-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
}

.about-vision .heading-editorial {
    font-size: 48px;
    margin-top: 40px;
}

.about-vision-text {
    font-size: 24px;
    line-height: 1.8;
    color: #666;
    margin-top: 40px;
}

/* --- SECTION 05: MISSION --- */
.about-mission {
    padding: 150px 0;
    background-color: #4a1515;
    color: #fdfbf7;
    text-align: center;
    position: relative;
    border-top: 5px solid #d97706; /* Golden border accent */
    border-bottom: 5px solid #d97706;
}

.about-mission .eyebrow-premium {
    color: #e5b376;
}
.about-mission .eyebrow-premium::after {
    background-color: #e5b376;
    margin: 15px auto 0;
}

.about-mission .heading-editorial {
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto 50px;
}

.about-mission p {
    color: rgba(255,255,255,0.8);
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
}

.mission-stars {
    margin-top: 60px;
    color: #e5b376;
    font-size: 24px;
    letter-spacing: 20px;
}

/* --- SECTION 06: DEVOTIONAL JOURNEY --- */
.about-experience {
    padding: 120px 0;
    background-color: #fdfbf7;
    border-top: 1px solid rgba(74,21,21,0.05);
}

.experience-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 80px;
}

.experience-flow::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%; right: 10%;
    height: 1px;
    background-color: rgba(217,119,6,0.3);
    z-index: 1;
}

.experience-step {
    position: relative;
    z-index: 2;
    background-color: transparent;
    text-align: center;
    flex: 1;
}

.experience-num {
    font-size: 28px;
    font-family: 'Rubik', serif;
    font-style: italic;
    font-weight: 300;
    color: #d97706;
    margin-bottom: 20px;
    background-color: #fdfbf7;
    display: inline-block;
    padding: 0 10px;
}

.experience-title {
    font-size: 20px;
    color: #4a1515;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- SECTION 07: TESTIMONIALS --- */
.about-testimonials {
    padding: 120px 0;
    background-color: #ffffff;
}

.testimonial-editorial-card {
    padding: 60px;
    border: 1px solid rgba(74,21,21,0.1);
    background-color: #fdfbf7;
    border-radius: 8px;
    text-align: center;
    height: 100%;
}

.testimonial-quote-mark {
    font-size: 80px;
    line-height: 0;
    color: #e5b376;
    margin-bottom: 40px;
    font-family: serif;
}

.testimonial-editorial-text {
    font-size: 22px;
    font-style: italic;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.testimonial-author-name {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #4a1515;
}

.testimonial-stars {
    color: #d97706;
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* --- SECTION 09: CTA --- */
.about-cta {
    padding: 150px 0;
    background-color: #1a1a1a;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.about-cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: url('../img/logo/logo.png'); /* Fallback if needed */
    background-size: cover;
    background-position: center;
}

.about-cta .container {
    position: relative;
    z-index: 2;
}

.about-cta .heading-editorial {
    color: #ffffff;
}

.about-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    margin-bottom: 50px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .heading-editorial { font-size: 42px; }
    .about-why-grid-container ul { grid-template-columns: repeat(2, 1fr); }
    .about-why-grid-container ul li:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    /* Global Typography & Spacing */
    .heading-editorial { font-size: 36px; margin-bottom: 20px; }
    .heading-section { font-size: 32px; margin-bottom: 20px; }
    
    .about-wysiwyg-content p, 
    .about-wysiwyg-content span, 
    .about-wysiwyg-content div,
    .about-wysiwyg-content font {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
    
    /* Section 1: Hero */
    .about-hero-split { min-height: auto; }
    .about-hero-content { padding: 80px 20px; }
    .about-hero-overlay { background: rgba(74, 21, 21, 0.65); }
    .about-hero-actions { display: flex; flex-direction: column; gap: 15px; }
    .about-hero-actions a { margin: 0 !important; text-align: center; width: 100%; }

    /* Section 2: Intro */
    .about-intro-split { padding: 60px 0; }
    .about-intro-img { margin-top: 30px; }

    /* Section 3: Why Parthana */
    .about-why { padding: 60px 0; }
    .about-why-grid-container ul { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .about-why-grid-container ul li { padding: 24px 20px; font-size: 16px; }
    .about-why-grid-container ul li:first-child { grid-column: 1; }

    /* Section 4: Vision */
    .about-vision { padding: 60px 0; }
    .about-vision-img { height: 280px; margin-bottom: 30px; }
    .about-vision .heading-editorial { font-size: 32px; margin-top: 20px; }
    .about-vision-text { font-size: 16px; margin-top: 20px; }

    /* Section 5: Mission */
    .about-mission { padding: 60px 20px; border-top-width: 3px; border-bottom-width: 3px; }
    .about-mission .heading-editorial { margin-bottom: 30px; }
    .about-mission p { font-size: 17px; }
    .mission-stars { margin-top: 40px; }

    /* Section 6: Devotional Journey */
    .about-experience { padding: 60px 0; }
    .experience-flow { flex-direction: column; align-items: flex-start; gap: 40px; margin-top: 50px; }
    .experience-flow::before { top: 0; bottom: 0; left: 35px; width: 1px; height: 100%; }
    .experience-step { display: flex; align-items: center; text-align: left; padding: 0; width: 100%; }
    .experience-num { margin: 0 20px 0 0; width: 70px; text-align: center; flex-shrink: 0; padding: 0; }
    
    /* Section 7: Testimonials */
    .about-testimonials { padding: 60px 0; }
    .testimonial-editorial-card { padding: 30px 20px; }
    .testimonial-quote-mark { font-size: 50px; margin-bottom: 20px; }
    .testimonial-editorial-text { font-size: 16px; margin-bottom: 20px; line-height: 1.6; }

    /* Section 8: CTA */
    .about-cta { padding: 60px 20px; }
    .about-cta p { font-size: 17px; margin-bottom: 30px; }
}
