/* ==========================================
   Dhanvesttor PMS Page Styles
   ========================================== */
.dv-wrap *, .dv-wrap *::before, .dv-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }
.dv-wrap { font-family: 'Inter', sans-serif; color: #485858; background: transparent; max-width: 1280px; margin: 0 auto; overflow-x: hidden; line-height: 1.6; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; font-family: 'Material Symbols Outlined'; font-size: 24px; display: inline-block; vertical-align: middle; }

/* ── HERO ── */
.dv-hero { background: transparent; min-height: 600px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px 24px; }
.dv-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #f8f3eb; border-radius: 9999px; padding: 8px 16px; margin-bottom: 24px; }
.dv-hero-badge .material-symbols-outlined { color: #cf6a3b; font-size: 18px; }
.dv-hero-badge-text { font-size: 12px; font-weight: 600; color: #485858; text-transform: uppercase; letter-spacing: 0.05em; }
.dv-hero h1 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: #cf6a3b; line-height: 1.15; letter-spacing: -0.02em; max-width: 700px; margin: 0 auto 24px; }
.dv-hero h1 span { text-decoration: underline; text-decoration-color: #cf6a3b; text-underline-offset: 8px; text-decoration-thickness: 3px; }
.dv-hero-sub { font-size: 17px; color: #485858; max-width: 620px; margin: 0 auto 48px; line-height: 1.7; }
.dv-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.dv-btn-fill { background: #cf6a3b; color: #fff; border: none; border-radius: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; letter-spacing: 0.05em; transition: opacity 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.dv-btn-fill:hover { opacity: 0.88; background:#243c40; color:#cf6a3b;}
.dv-btn-outline { background: transparent; color: #cf6a3b; border: 2px solid #cf6a3b; border-radius: 8px; padding: 13px 32px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; letter-spacing: 0.05em; transition: background 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.dv-btn-outline:hover { background:#243c40; }
.dv-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; opacity: 0.75; }
.dv-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #485858; transition: color 0.2s ease; cursor: default; }
.dv-trust-item:hover { color: #243c40; }
.dv-trust-item .material-symbols-outlined { color: #cf6a3b; font-size: 18px; transition: color 0.2s ease; }
.dv-trust-item:hover .material-symbols-outlined { color: #243c40; }

/* ── STATS ── */
/* ── PREMIUM DARK STATS ── */
.dv-stats-premium { 
    background: #243c40; /* Deep Teal Brand Color */
    padding: 60px 20px; 
    margin: 40px auto; 
    max-width: 1200px;
    border-radius: 24px; 
    box-shadow: 0 20px 40px rgba(23, 59, 61, 0.15); 
}

.dv-stats-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.dv-stat-card { 
    text-align: center; 
    padding: 10px 20px; 
    position: relative; 
    transition: transform 0.3s ease; 
}

.dv-stat-card:hover { 
    transform: translateY(-8px); 
}

/* Subtle faded dividers between stats */
.dv-stat-card:not(:last-child)::after { 
    content: ''; 
    position: absolute; 
    right: -15px; 
    top: 15%; 
    height: 70%; 
    width: 1px; 
    background: rgba(255, 255, 255, 0.1); 
}

.dv-stat-icon { 
    margin-bottom: 12px; 
}

.dv-stat-icon .material-symbols-outlined { 
    color: #cf6a3b; /* Faded Copper */
    font-size: 36px; 
}

.dv-stat-num { 
    font-family: 'Playfair Display', serif; 
    font-size: 42px; 
    font-weight: 700; 
    color: #cf6a3b; /* Bright Copper */
    margin-bottom: 8px; 
    line-height: 1.1; 
}

.dv-stat-label { 
    font-size: 11px; 
    font-weight: 700; 
    color: #f8f3eb; /* Warm Ivory Text */
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    line-height: 1.5; 
}

/* ── RESPONSIVE RULES ── */
@media (max-width: 900px) {
    .dv-stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px 20px; 
    }
    /* Remove divider after 2nd item on tablets */
    .dv-stat-card:nth-child(2)::after { display: none; }
    .dv-stat-card:not(:last-child)::after { right: -10px; }
}

@media (max-width: 500px) {
    .dv-stats-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    /* Remove all dividers on mobile */
    .dv-stat-card::after { display: none !important; }
}
/* ── SECTION BASE ── */
.dv-section { padding: 80px 64px; }
.dv-section-white { background: transparent; }
.dv-section-accent { background: rgba(255, 255, 255, 0); backdrop-filter: blur(5px); }
.dv-eyebrow { font-size: 11px; font-weight: 700; color: #cf6a3b; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 12px; }
.dv-section-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: #485858; line-height: 1.25; margin-bottom: 16px; }
.dv-section-sub { font-size: 15px; color: #485858; max-width: 600px; line-height: 1.7; }

/* ── FAITH SECTION ── */
.dv-faith-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; }
.dv-faith-item { text-align: center; }
.dv-faith-shield { position: relative; display: inline-block; margin-bottom: 20px; transition: transform 0.2s ease; cursor: default; }
.dv-faith-shield:hover { transform: translateY(-6px) scale(1.06); }
.dv-faith-shield svg { display: block; }
.dv-faith-inner { position: absolute; top: 0; left: 0; width: 110px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.dv-faith-title { font-size: 12px; font-weight: 700; color: #243c40; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; margin-bottom: 10px; }
.dv-faith-desc { font-size: 12px; color: #485858; line-height: 1.6; }

/* ── 4 STEPS ── */
/* ── 3D TIMELINE STEPS ── */
.dv-3d-section { 
    padding: 80px 20px; 
    background: transparent; 
    perspective: 1200px; /* Creates the 3D space */
}

.dv-steps-header { 
    text-align: center; 
    max-width: 640px; 
    margin: 0 auto 50px; 
}

.dv-3d-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
    perspective: 1200px;
}

.dv-3d-card { 
    background: linear-gradient(145deg, #ffffff, #f8f3eb); 
    border-radius: 24px; 
    position: relative; 
    padding: 40px 25px; 
    text-align: center; 
    border: 1px solid rgba(232, 223, 210, 0.8);
    
    /* Core 3D Logic */
    transform-style: preserve-3d; 
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease; 
    box-shadow: 0 10px 30px rgba(23, 59, 61, 0.05), inset 0 2px 0 #ffffff; 
}

.dv-3d-card:hover { 
    /* Tilts the card back and up on hover */
    transform: translateY(-15px) rotateX(8deg) rotateY(-4deg); 
    box-shadow: 15px 25px 40px rgba(23, 59, 61, 0.12), inset 0 2px 0 #ffffff; 
}

.dv-3d-step-num { 
    position: absolute; 
    top: 10px; 
    right: 15px; 
    font-family: 'Playfair Display', serif; 
    font-size: 90px; 
    font-weight: 700; 
    color: rgba(201, 107, 67, 0.06); /* Extremely faint copper */
    line-height: 1; 
    
    /* Pushes the number deep into the background */
    transform: translateZ(-30px); 
    pointer-events: none; 
}

.dv-3d-content { 
    /* Pushes all text and icons forward towards the user */
    transform: translateZ(30px); 
}

.dv-3d-icon-wrap { 
    width: 70px; 
    height: 70px; 
    border-radius: 20px; /* Modern squircle shape */
    background: #173b3d; 
    color: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 24px; 
    
    /* Physical button depth using inset shadows */
    box-shadow: 0 10px 20px rgba(23, 59, 61, 0.2), 
                inset 0 -4px 0 rgba(0, 0, 0, 0.3), 
                inset 0 2px 0 rgba(255, 255, 255, 0.2); 
    transition: background 0.4s, transform 0.4s, box-shadow 0.4s; 
}

.dv-3d-card:hover .dv-3d-icon-wrap { 
    background: #c96b43; 
    
    /* Pops the button out even further on hover */
    transform: translateZ(60px) translateY(-5px); 
    box-shadow: 0 15px 25px rgba(201, 107, 67, 0.3), 
                inset 0 -4px 0 rgba(0, 0, 0, 0.2), 
                inset 0 2px 0 rgba(255, 255, 255, 0.3); 
}

.dv-3d-icon-wrap .material-symbols-outlined { font-size: 32px; }
.dv-3d-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #173b3d; margin-bottom: 12px; line-height: 1.3; }
.dv-3d-desc { font-size: 14px; color: #58696a; line-height: 1.65; }

/* ── RESPONSIVE RULES ── */
@media (max-width: 1024px) {
    .dv-3d-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; padding: 0 20px; }
}

@media (max-width: 600px) {
    .dv-3d-grid { grid-template-columns: 1fr; }
    /* Disable the 3D tilt on mobile phones for better touch UX, keep the pop */
    .dv-3d-card:hover { transform: translateY(-10px); } 
}

/* ── WHY CHOOSE US ── */
.dv-why-section { padding: 80px 64px; background: transparent; }
.dv-why-outer { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dv-why-img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); border: 1px solid #e8dfd2; display: block; }
.dv-why-circle-outline { transition: background 0.2s ease, border-color 0.2s ease; cursor: default; }
.dv-why-circle-outline:hover { background: #243c40 !important; border-color: #243c40 !important; }
.dv-why-circle-outline:hover .material-symbols-outlined { color: #fff !important; }

/* ── FAQ ── */
/* ── FAQ ── */
.dv-faq-inner { 
    max-width: 760px; 
    margin: 0 auto; 
}

.dv-faq-header { 
    text-align: center; 
    margin-bottom: 48px; 
}

.dv-faq-item { 
    background: rgba(255, 255, 255, 0.85); 
    border: 1px solid #e8dfd2; 
    border-radius: 14px; 
    margin-bottom: 12px; 
    overflow: hidden; 
    backdrop-filter: blur(4px); 
    
    /* Added smooth transitions for the hover effect */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 🔥 THE HOVER EFFECT */
.dv-faq-item:hover {
    background: #ffffff; /* Solidifies the glass slightly on hover */
    border-color: #c96b43; /* Changes border to your copper color */
    box-shadow: 0 10px 25px rgba(23, 59, 61, 0.08); /* Adds a soft deep-teal shadow */
    transform: translateY(-3px); /* Physically lifts the card up */
}

/* Keep the card highlighted when it is open */
details[open].dv-faq-item {
    border-color: #c96b43;
    box-shadow: 0 10px 25px rgba(23, 59, 61, 0.05);
}

.dv-faq-q { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 24px; 
    font-family: 'Playfair Display', serif; 
    font-size: 16px; 
    font-weight: 700; 
    color: #485858; /* Changed base color to dark grey for better contrast */
    cursor: pointer; 
    list-style: none; 
    gap: 16px; 
    transition: color 0.3s ease;
}

/* Hide default marker for all browsers */
.dv-faq-q::-webkit-details-marker { display: none; }

.dv-faq-q .material-symbols-outlined { 
    color: #c96b43; 
    font-size: 24px; 
    transition: transform 0.3s ease, color 0.3s ease; 
    flex-shrink: 0; 
}

/* Change text and icon color on hover */
.dv-faq-item:hover .dv-faq-q {
    color: #c96b43; /* Text turns copper on hover */
}

/* Rotates the arrow when the accordion is clicked open */
details[open] .dv-faq-q .material-symbols-outlined { 
    transform: rotate(180deg); 
}

/* Smooth answer reveal */
.dv-faq-a { 
    padding: 0 24px 24px; 
    font-size: 15px; 
    color: #58696a; 
    line-height: 1.75; 
    animation: faq-fade-in 0.3s ease forwards;
}

@keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ── CTA ── */
.dv-cta-wrap { margin: 64px 64px; }
.dv-cta { background: #cf6a3b; color: #fff; border-radius: 32px; padding: 80px 48px; text-align: center; }
.dv-cta h2 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: #fff !important; letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.2; }
.dv-cta p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.dv-cta-btn { background: #f8f3eb; color: #cf6a3b; border: none; border-radius: 10px; padding: 16px 36px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; text-decoration: none; display: inline-block; }
.dv-cta-btn:hover { background: #243c40; color: #fff; transform: scale(1.03); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .dv-section, .dv-why-section { padding: 60px 32px; }
  .dv-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .dv-faith-grid { grid-template-columns: repeat(3, 1fr); }
  .dv-why-outer { grid-template-columns: 1fr; gap: 40px; }
  .dv-cta-wrap { margin: 48px 32px; }
}
@media (max-width: 768px) {
  .dv-hero { padding: 60px 16px; }
  .dv-hero h1 { font-size: 30px; }
  .dv-hero-sub { font-size: 15px; }
  .dv-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .dv-stat:nth-child(2) { border-right: none; }
  .dv-stat:nth-child(3) { border-top: 1px solid #e8dfd2; }
  .dv-section, .dv-why-section { padding: 48px 16px; }
  .dv-faith-grid { grid-template-columns: repeat(2, 1fr); }
  .dv-steps-grid { grid-template-columns: 1fr 1fr; }
  .dv-cta-wrap { margin: 40px 16px; }
  .dv-cta { padding: 48px 20px; border-radius: 20px; }
  .dv-cta h2 { font-size: 26px; }
  .dv-section-title { font-size: 26px; }
}
@media (max-width: 480px) {
  .dv-steps-grid { grid-template-columns: 1fr; }
  .dv-faith-grid { grid-template-columns: repeat(2, 1fr); }
  .dv-hero h1 { font-size: 24px; }
}

