/*
 Theme Name:   Benevolent Child
 Theme URI:    https://www.panditverse.com/
 Description:  Custom Child Theme for PanditVerse
 Author:       Prakash Joshi
 Template:     benevolent
 Version:      1.0.0
 Text Domain:  benevolent-child
*/
/* =========================================
   PANDITVERSE GLOBAL BRANDING CSS (OVERRIDES)
   ========================================= */

:root {
    --pv-dark: #633616;    /* Dark Brown / Maroon */
    --pv-light: #eed6aa;   /* Cream / Vedic Yellow */
    --pv-saffron: #de891b; /* Saffron / Orange */
    --pv-gold: #ffcc00;    /* Gold */
    --pv-text: #333333;    /* Normal Text */
    --pv-bg: #fdfbf7;      /* Page Background */

   --top-bg: #633616;
   --top-text: #ffffff;
   --top-hover: #ffcc00;
   --main-bg: #eed6aa;
   --main-text: #633616;
   --main-hover: #de891b;
   --white: #ffffff;
   --shadow: 0 4px 10px rgba(0,0,0,0.1);
   --transition: all 0.3s ease;
}

/* Base Body & Typography */
body {
    font-family: 'Mukta', 'Poppins', sans-serif !important;
    color: var(--pv-text);
    background-color: var(--pv-bg);
    line-height: 1.8;
}

/* Headings (Premium Cinzel Font) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif !important;
    color: var(--pv-dark);
    font-weight: 700; 
    margin-bottom: 15px;
}

/* Common Links (Removing the default green) */
a {
    color: var(--pv-saffron);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
a:hover, a:focus, a:active {
    color: var(--pv-dark);
    text-decoration: none;
    outline: none;
}

/* Lists (ul, ol, li) */
ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
li {
    margin-bottom: 10px;
    color: var(--pv-text);
    line-height: 1.7;
}

/* Paragraphs */
p {
    margin-bottom: 20px;
    color: #444;
}

/* Global Buttons Override (Submit, Forms, Read More) */
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.button, 
.btn,
.read-more {
    background-color: var(--pv-saffron) !important;
    color: #ffffff !important;
    border: 2px solid var(--pv-saffron) !important;
    border-radius: 5px;
    padding: 10px 24px;
    font-family: 'Mukta', 'Poppins', sans-serif;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover, 
input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover, 
.button:hover, 
.btn:hover,
.read-more:hover {
    background-color: var(--pv-dark) !important;
    color: var(--pv-gold) !important;
    border-color: var(--pv-dark) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Parent Theme Specific Overrides (To kill the Green) */
.site-title a, .site-description {
    color: var(--pv-dark) !important;
}

.widget-title {
    color: var(--pv-dark) !important;
    font-family: 'Cinzel', serif !important;
    border-bottom: 2px solid var(--pv-saffron) !important;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Highlight Text or Bold */
strong, b {
    color: var(--pv-dark);
    font-weight: 700;
}
     
/* =========================================
  PANDITVERSE PREMIUM HEADER STYLES
  ========================================= */

/* General Reset */
.pv-header * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; list-style: none; text-decoration: none; }
.pv-header { width: 100%; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.pv-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* --- Top Navigation (Sleek) --- */
.pv-header-top { background: var(--top-bg); padding: 5px 0; font-size: 13px; color: var(--top-text); }
.pv-top-nav-wrapper { display: flex; gap: 15px; align-items: center; }

/* Dynamic Top Menu Formatting */
.pv-top-nav { display: flex; gap: 15px; margin: 0; padding: 0; }
.pv-top-nav li a, .pv-top-nav-wrapper > a { color: #f5e6ce; transition: var(--transition); font-weight: 400; display: inline-flex; align-items: center; gap: 5px; }
.pv-top-nav li a:hover, .pv-top-nav-wrapper > a:hover { color: var(--top-hover); }

.pv-social-icons { display: flex; gap: 12px; }
.pv-social-icons a { color: var(--white); transition: var(--transition); font-size: 14px; }
.pv-social-icons a:hover { color: var(--top-hover); transform: scale(1.1); }

/* --- Main Navigation (Compact Height) --- */
.pv-header-bottom { background: var(--main-bg); padding: 8px 0; border-bottom: 3px solid var(--top-bg); }

/* Branding */
.pv-brand a { display: flex; align-items: center; gap: 12px; }
.pv-brand img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--top-bg); background: #fff; padding: 2px; }
.pv-brand-text { display: flex; flex-direction: column; justify-content: center; }
.pv-title { font-family: 'Cinzel', serif; font-size: 26px; font-weight: 800; color: var(--main-text); line-height: 1; letter-spacing: 0.5px; }
.pv-tagline { font-size: 11px; color: var(--main-text); opacity: 0.85; font-weight: 500; display: block; margin-top: 3px; letter-spacing: 0.5px; }

/* Primary Nav Bar */
.pv-primary-nav { display: flex; align-items: center; gap: 20px; margin: 0; }
.pv-primary-nav > li { position: relative; padding: 10px 0; }
.pv-primary-nav > li > a { color: var(--main-text); font-weight: 600; font-size: 15px; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 5px; }
.pv-primary-nav > li > a:hover { color: var(--main-hover); }

/* Dropdown Logic (Desktop) */
.pv-dropdown { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border-top: 3px solid var(--main-hover); padding: 0; }
.pv-primary-nav > li:hover .pv-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.pv-dropdown li { margin: 0; }
.pv-dropdown li a { display: block; padding: 12px 18px; color: #444; border-bottom: 1px solid #f2f2f2; font-size: 14px; transition: 0.2s; font-weight: 500; }
.pv-dropdown li:last-child a { border-bottom: none; }
.pv-dropdown li a:hover { background: #fffaf0; color: var(--main-hover); padding-left: 22px; }

/* Lang Toggle */
.pv-lang-toggle { display: flex; border: 1px solid var(--top-bg); border-radius: 20px; overflow: hidden; background: #fff; margin-left: 10px; }
.pv-lang-toggle a { padding: 4px 12px; font-size: 12px; font-weight: 700; color: var(--main-text); transition: 0.3s; }
.pv-lang-toggle a.active-lang { background: var(--top-bg); color: #fff; }
.pv-lang-toggle a:hover:not(.active-lang) { background: #f0f0f0; }

/* --- Mobile Drawer Styles --- */
.pv-mobile-toggle { display: none; font-size: 26px; color: var(--main-text); cursor: pointer; padding: 5px; }

.pv-mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: var(--main-bg); z-index: 2000; transition: 0.3s ease-in-out; padding: 20px; border-left: 4px solid var(--top-bg); overflow-y: auto; box-shadow: -5px 0 15px rgba(0,0,0,0.2); }
.pv-mobile-drawer.open { right: 0; }

.pv-drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(99, 54, 22, 0.2); padding-bottom: 15px; }
.pv-drawer-close { font-size: 32px; cursor: pointer; color: var(--top-bg); line-height: 1; }

/* Mobile Dynamic Menu Styling */
.pv-mobile-nav { padding: 0; margin: 0; }
.pv-mobile-nav li { border-bottom: 1px solid rgba(99, 54, 22, 0.1); margin: 0; }
.pv-mobile-nav li a { display: block; padding: 15px 0; color: var(--main-text); font-weight: 600; font-size: 16px; transition: 0.2s; }
.pv-mobile-nav li a:hover { color: var(--main-hover); padding-left: 5px; }

/* Mobile Sub-menu handling */
.pv-mobile-nav ul.sub-menu { display: none; padding-left: 15px; background: rgba(255,255,255,0.4); border-top: 1px solid rgba(99,54,22,0.1); }
.pv-mobile-nav li.menu-item-has-children > a::after { content: '\f107'; font-family: 'FontAwesome'; float: right; font-size: 18px; }
.pv-mobile-nav li.menu-item-has-children.open > a::after { content: '\f106'; }
.pv-mobile-nav ul.sub-menu li a { font-size: 14px; font-weight: 500; padding: 12px 0; }

.pv-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1500; display: none; opacity: 0; transition: 0.3s; }
.pv-overlay.open { display: block; opacity: 1; }

@media (max-width: 1024px) {
    .pv-header-top, .pv-primary-nav { display: none; }
    .pv-mobile-toggle { display: block; }
}
/* =========================================
   PANDITVERSE DETAILED ABOUT PAGE CSS (FIXED)
   ========================================= */
.pv-about-page { background-color: #fdfbf7; color: #333; font-family: 'Mukta', 'Poppins', sans-serif; padding: 60px 0; line-height: 1.8; display: block; width: 100%; }
.pv-abt-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: block; width: 100%; }

.pv-main-title { font-family: 'Cinzel', serif; color: #633616; font-size: 40px; text-align: center; margin-bottom: 25px; font-weight: 800; display: block; }
.pv-main-title span { color: #de891b; }

.pv-intro { text-align: center; font-size: 19px; color: #444; max-width: 900px; margin: 0 auto 60px; display: block; }

/* Alternate Image & Text Sections (STRICT GRID/FLEX) */
.pv-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 70px; width: 100%; }
.pv-row.reverse { flex-direction: row-reverse; }

/* Mobile First - 100% Width */
.pv-col-text, .pv-col-img { width: 100%; flex: 0 0 100%; margin-bottom: 30px; }

.pv-col-img img { width: 100%; border-radius: 12px; transition: 0.4s; display: block; }
.pv-img-shadow-right { box-shadow: 15px 15px 0px #eed6aa; }
.pv-img-shadow-left { box-shadow: -15px 15px 0px #eed6aa; }
.pv-col-img:hover img { transform: translateY(-5px); }

.pv-section-title { font-family: 'Cinzel', serif; font-size: 28px; color: #633616; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.pv-col-text p { font-size: 17px; color: #444; margin-bottom: 15px; }

/* Features List */
.pv-features-box { background: #fff; border: 1px solid #eed6aa; padding: 40px; border-radius: 15px; margin-bottom: 80px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); display: block; width: 100%; }
.pv-features-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.pv-features-list li { font-size: 17px; display: flex; align-items: flex-start; gap: 12px; }
.pv-features-list li i { color: #de891b; font-size: 20px; margin-top: 4px; }

/* Team Section */
.pv-team-section { background: #633616; background-image: url('https://www.transparenttextures.com/patterns/mandala.png'); padding: 70px 40px; border-radius: 20px; color: #fff; text-align: center; display: block; width: 100%; }
.pv-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.pv-team-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,204,0,0.2); transition: 0.3s; backdrop-filter: blur(5px); }
.pv-team-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-8px); border-color: #ffcc00; }

.pv-team-img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; border: 3px solid #de891b; object-fit: cover; background: #fff; display: block; }
.pv-team-name { font-size: 22px; font-weight: 700; color: #ffcc00; margin-bottom: 5px; }
.pv-team-role { font-size: 14px; color: #eed6aa; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.pv-team-tags { font-size: 13px; margin-top: 15px; opacity: 0.8; color: #fff; }

/* Desktop View (Over 992px) */
@media (min-width: 992px) {
    .pv-col-text { width: 55%; flex: 0 0 55%; margin-bottom: 0; }
    .pv-col-img { width: 40%; flex: 0 0 40%; margin-bottom: 0; }
}

  @media (max-width: 991px) {
      .pv-main-title { font-size: 32px; }
      .pv-team-section { padding: 40px 20px; }
      .pv-row.reverse { flex-direction: column; } /* Forces normal stack on mobile */
  }
/* =========================================
   PANDITVERSE ULTRA-PREMIUM MEGA FOOTER
   ========================================= */
.pv-mega-footer {
    background-color: #3b180d; /* Very Deep Rich Brown */
    background-image: url('https://www.transparenttextures.com/patterns/mandala.png');
    color: #f5e6ce;
    font-family: 'Mukta', 'Poppins', sans-serif;
    border-top: 5px solid #de891b;
    padding-top: 70px;
    position: relative;
}

.pv-footer-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

/* Column 1: Branding (Fixed width for stability) */
.pv-footer-brand-col {
    flex: 1 1 300px;
    max-width: 320px;
}

/* Columns 2 to 5: Services & Links Grid */
.pv-footer-services-col {
    flex: 3 1 700px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 30px;
}

/* Headings */
.pv-mega-footer h3 {
    color: #ffcc00;
    font-family: 'Cinzel', serif;
    font-size: 21px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pv-mega-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #de891b;
}

/* Dynamic Menu Styling */
.pv-dynamic-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pv-dynamic-menu li {
    margin-bottom: 10px;
}

.pv-dynamic-menu li a {
    color: #eed6aa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
}

.pv-dynamic-menu li a::before {
    content: '\f105'; /* FontAwesome angle-right */
    font-family: 'FontAwesome';
    margin-right: 8px;
    margin-top: 2px;
    color: #de891b;
    transition: 0.3s;
    font-weight: 900;
}

.pv-dynamic-menu li a:hover {
    color: #ffcc00;
    transform: translateX(6px);
}

.pv-dynamic-menu li a:hover::before {
    color: #ffcc00;
}

/* Brand Section */
.pv-brand-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.pv-brand-header img { width: 65px; border-radius: 50%; border: 2px solid #ffcc00; background: #fff; padding: 2px; }
.pv-brand-header strong { font-size: 26px; font-family: 'Cinzel', serif; color: #fff; }
.pv-brand-desc { font-size: 15px; line-height: 1.7; color: #eed6aa; margin-bottom: 25px; }

/* Pandit Contact Card */
.pv-contact-card {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,204,0,0.15);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.pv-contact-card img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid #ffcc00; float: left; margin-right: 15px; }
.pv-contact-info a { color: #ffcc00; text-decoration: none; font-size: 14px; transition: 0.3s; }
.pv-contact-info a:hover { color: #fff; }

/* Bottom Row */
.pv-footer-bottom {
    background-color: #240e07; /* Darkest shade for bottom bar */
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pv-bottom-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Site Pages Menu (Horizontal) */
.pv-bottom-menu { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.pv-bottom-menu li a { color: #eed6aa; text-decoration: none; font-size: 14px; transition: 0.3s; }
.pv-bottom-menu li a:hover { color: #ffcc00; text-decoration: underline; }

.pv-copyright { font-size: 14px; color: #eed6aa; line-height: 1.6; }
.pv-copyright span { color: #de891b; font-weight: 600; }

.pv-footer-lang { display: inline-flex; border: 1px solid #de891b; border-radius: 30px; overflow: hidden; }
.pv-footer-lang a { padding: 5px 12px; font-size: 13px; color: #fff; text-decoration: none; transition: 0.3s; background: rgba(0,0,0,0.3); }
.pv-footer-lang a.active-lang { background: #de891b; font-weight: bold; }
.pv-footer-lang a:hover:not(.active-lang) { background: rgba(255,255,255,0.1); }

/* Stacking sub-sections nicely */
.pv-sub-section { margin-top: 30px; }

@media (max-width: 992px) {
    .pv-footer-wrapper { flex-direction: column; }
    .pv-footer-brand-col { max-width: 100%; margin-bottom: 20px; }
    .pv-bottom-wrapper { flex-direction: column; text-align: center; }
    .pv-bottom-menu { justify-content: center; }
}