/* ==========================================
   Dhanvesttor Contact Page Styles
   ========================================== */

@font-face {
    font-family: var(--font-sans);
    src: url('../fonts/Gotham-Book.woff2') format('woff2'),
         url('../fonts/Gotham-Book.woff') format('woff');
    font-weight: 400;
}
@font-face {
    font-family: var(--font-sans);
    src: url('../fonts/Gotham-Bold.woff2') format('woff2'),
         url('../fonts/Gotham-Bold.woff') format('woff');
    font-weight: 700;
}
@font-face {
    font-family: 'Georgia Pro';
    src: url('../fonts/GeorgiaPro-Regular.woff2') format('woff2');
    font-weight: 400;
}

.dv-wrap *, .dv-wrap *::before, .dv-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.dv-wrap { 
    font-family: var(--font-sans); 
    color: #485858; 
    max-width: 1280px; 
    margin: 0 auto; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

.material-symbols-outlined { vertical-align: middle; }

/* ── SCROLL REVEAL (Failsafe Visibility) ── */
.dv-reveal { 
    opacity: 1; 
    transform: translateY(0); 
    /* Simplified transition to reduce CPU/GPU load */
    transition: all 0.6s ease-out;
    /* REMOVED: will-change (Leaving this on constantly causes scroll lag) */
}

/* We still keep the active class for when the JS works */
.dv-reveal.dv-active { 
    opacity: 1; 
    transform: translateY(0); 
}
.dv-delay-1 { transition-delay: 0.15s; } 
.dv-delay-2 { transition-delay: 0.30s; }
.dv-delay-3 { transition-delay: 0.45s; }

/* ── TYPOGRAPHY ── */
.dv-h1 { font-family: var(--font-display); font-size: 48px; color: var(--color-indigo-deep); line-height: 1.15; margin-bottom: 24px; font-weight: 700; }
.dv-h2 { font-family: var(--font-display); font-size: 36px; color: var(--color-raspberry); line-height: 1.25; margin-bottom: 20px; font-weight: 700; }
.dv-text-lead { font-size: 16px; color: #58696a; line-height: 1.7; margin-bottom: 24px; }

/* ── LAYOUT SECTIONS ── */
.dv-section { padding: 80px 24px; }
/* .dv-section-light { background-color: #fdfaf6; } */
.dv-hero-contact { text-align: center; max-width: 800px; margin: 0 auto; padding: 80px 24px 40px; }

/* ── REBUILT FORM SECTION (No Animation) ── */
.dv-contact-wrapper {
    padding: 80px 24px;
    /* background-color: #fdfaf6;  */
    width: 100%;
    display: block;
    opacity: 1 !important; 
    transform: none !important; 
}

.dv-contact-grid-new {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.dv-contact-text-box h2 {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--color-raspberry);
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 700;
}

.dv-contact-text-box p {
    font-family: var(--font-sans), 'Inter', sans-serif;
    font-size: 16px;
    color: #58696a;
    line-height: 1.7;
    margin-bottom: 24px;
}

.dv-contact-form-box {
    /* background: #ffffff; */
    border: 1px solid #e8dfd2;
    border-top: 4px solid var(--color-raspberry);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(23, 59, 61, 0.05);
}

.dv-contact-form-box h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-indigo-deep);
    margin-bottom: 24px;
    margin-top: 0;
}

.dv-clean-form .dv-field { margin-bottom: 18px; }
.dv-clean-form .dv-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.dv-clean-form label {
    display: block;
    font-family: var(--font-sans), 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-indigo);
    margin-bottom: 6px;
}

.dv-clean-form input,
.dv-clean-form select,
.dv-clean-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c4b5a9;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: var(--color-indigo-deep);
    font-family: var(--font-sans), 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.dv-clean-form input:focus,
.dv-clean-form select:focus,
.dv-clean-form textarea:focus { border-bottom-color: var(--color-raspberry); }

.dv-submit-btn {
    background: var(--color-raspberry);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    font-family: var(--font-sans), 'Inter', sans-serif;
}
.dv-submit-btn:hover { background: var(--color-indigo-deep); }

/* ── OFFICE INFO GRID ── */
.dv-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
.dv-office-info { padding-top: 20px; text-align: left; }
.dv-info-item { display: flex; gap: 16px; margin-bottom: 32px; }
.dv-info-icon { width: 48px; height: 48px; background: #f8f3eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-raspberry); flex-shrink: 0; }
.dv-info-text h3, .dv-faq-q { font-family: 'Georgia Pro', Georgia, serif; }
.dv-info-text p, .dv-info-text a { color: #58696a; font-size: 15px; text-decoration: none; line-height: 1.6; }
.dv-info-text a:hover { color: var(--color-raspberry); }

/* ── SERVICES GRID ── */
.dv-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 40px auto 0; }
.dv-service-card { 
    background: #ffffff; border: 1px solid #e8dfd2; border-radius: 12px; padding: 32px 24px; text-align: center; text-decoration: none; display: block; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    will-change: transform, box-shadow;
}
.dv-service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(23, 59, 61, 0.08); border-color: var(--color-raspberry); }
.dv-service-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--color-indigo-deep); margin-bottom: 12px; }
.dv-service-card p { font-size: 14px; color: #58696a; }

/* ── MAP IFRAME ── */
/* ── MAP IFRAME (Scroll Lag Fix) ── */
.dv-map-container { 
    width: 100%; 
    height: 450px; 
    border-radius: 16px; 
    overflow: hidden; 
    margin-top: 40px; 
    border: 1px solid #e8dfd2; 
    /* Removed the heavy box-shadow which causes lag when scrolling past */
}
.dv-map-container iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    /* This stops the map from freezing the page when you scroll over it */
    pointer-events: none; 
}

/* Re-enable map interaction only when the user deliberately hovers or taps on it */
.dv-map-container:hover iframe,
.dv-map-container:active iframe {
    pointer-events: auto;
}
/* ── FAQ ACCORDION ── */
.dv-faq-inner { max-width: 800px; margin: 0 auto; }
.dv-faq-item { background: #ffffff; border: 1px solid #e8dfd2; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease; text-align: left; }
.dv-faq-item:hover { border-color: var(--color-raspberry); box-shadow: 0 5px 15px rgba(23, 59, 61, 0.05); }
.dv-faq-q { display: flex; justify-content: space-between; padding: 20px 24px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--color-indigo-deep); cursor: pointer; list-style: none; }
.dv-faq-q::-webkit-details-marker { display: none; }
.dv-faq-q .material-symbols-outlined { color: var(--color-raspberry); transition: transform 0.3s ease; }
details[open] .dv-faq-q .material-symbols-outlined { transform: rotate(180deg); }
.dv-faq-a { padding: 0 24px 24px; font-size: 15px; color: #58696a; line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .dv-contact-grid, .dv-contact-grid-new { grid-template-columns: 1fr; gap: 40px; }
    .dv-services-grid { grid-template-columns: 1fr; }
    .dv-h1 { font-size: 36px; }
    .dv-h2 { font-size: 28px; }
}
@media (max-width: 600px) {
    .dv-clean-form .dv-field-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   [DV-FIX] CTA BUTTON — contact.php ka "Send Enquiry" (.dv-submit-btn)
   --------------------------------------------------------------------------
   Index page ke "Start your journey" (.dv-btn-primary) jaisa BILKUL same:
   rust gradient + shine sweep (::after) + hover lift (-5px, scale 1.02) + press.
   Values source: assets/css/hero.css -> .dv-btn / .dv-btn-primary

   NOTE: form box / service cards / FAQ ka original look waisa hi rakha gaya hai.
         (Pehle galti se poora form box teal kar diya gaya tha — wo revert kar diya.)
   ========================================================================== */
.dv-submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;                        /* form ka full-width submit button */
    padding: 17px 36px; min-height: 56px; border-radius: 99px;
    font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
    letter-spacing: -0.1px; text-decoration: none; border: 0; cursor: pointer;
    position: relative; overflow: hidden; z-index: 1; white-space: nowrap;
    background: linear-gradient(180deg, #d8794a 0%, #c8603a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10), 0 12px 24px -10px rgba(200,96,58,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 10px;
}
.dv-submit-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); transition: all 0.75s ease; z-index: 1; pointer-events: none;
}
.dv-submit-btn:hover::after { left: 150%; }
.dv-submit-btn:hover {
    background: linear-gradient(180deg, #e08454 0%, #d16a44 100%);
    color: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px rgba(201,107,67,0.35), 0 12px 24px -10px rgba(200,96,58,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.dv-submit-btn:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.1s ease;
}


/* ==========================================================================
   [DV-FIX] GLASS TEAL — contact.php ke "Our Services" cards + FAQ items
   --------------------------------------------------------------------------
   Values wahi jo baaki site par hain (clcb.css -> .offering-card / .faq-item):
     teal glass  = linear-gradient(135deg, rgba(36,60,64,.94) → rgba(52,90,96,.90))
     blur        = blur(20px) saturate(140%)
     animation   = scaleY(0) → scaleY(1)  (cards: "niche se uper", FAQ: top se)
     copper line = 2px hairline, transparent → rgba(207,106,59,.95) → transparent
   NOTE: form box (.dv-contact-form-box) ko chhua nahi gaya — uska original look hai.
   ========================================================================== */

/* ---------- 1. OUR SERVICES cards ---------- */
.dv-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    z-index: 1;
}
.dv-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg,
        rgba(36, 60, 64, 0.94) 0%,
        rgba(36, 60, 64, 0.88) 50%,
        rgba(52, 90, 96, 0.90) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    pointer-events: none;
}
.dv-service-card:hover::before { transform: scaleY(1); }
.dv-service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(207, 106, 59, 0.95) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}
.dv-service-card:hover::after { opacity: 1; }
.dv-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(36, 60, 64, 0.3);
    box-shadow: 0 18px 36px rgba(23, 59, 61, 0.18);
}
.dv-service-card h3,
.dv-service-card p,
.dv-service-card .material-symbols-outlined { position: relative; z-index: 2; transition: color 0.4s ease; }
.dv-service-card:hover h3 { color: #fdfaf6; }
.dv-service-card:hover p { color: rgba(253, 250, 246, 0.86); }
.dv-service-card:hover .material-symbols-outlined { color: #e9a075 !important; }

/* ---------- 2. FAQ items ---------- */
.dv-faq-item {
    position: relative;
    isolation: isolate;
    z-index: 1;
}
.dv-faq-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg,
        rgba(36, 60, 64, 0.94) 0%,
        rgba(36, 60, 64, 0.88) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    pointer-events: none;
}
.dv-faq-item:hover::before,
.dv-faq-item[open]::before { transform: scaleY(1); }
.dv-faq-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(207, 106, 59, 0.95) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}
.dv-faq-item:hover::after,
.dv-faq-item[open]::after { opacity: 1; }
.dv-faq-item:hover,
.dv-faq-item[open] {
    border-color: rgba(36, 60, 64, 0.3);
    box-shadow: 0 12px 24px -8px rgba(23, 59, 61, 0.15);
}
.dv-faq-q { position: relative; z-index: 2; transition: color 0.4s ease; }
.dv-faq-q .material-symbols-outlined { transition: color 0.4s ease, transform 0.3s ease; }
.dv-faq-item:hover .dv-faq-q,
.dv-faq-item[open] .dv-faq-q { color: #ffffff; }
.dv-faq-item:hover .dv-faq-q .material-symbols-outlined,
.dv-faq-item[open] .dv-faq-q .material-symbols-outlined { color: #ffffff; }
.dv-faq-a { position: relative; z-index: 2; transition: color 0.4s ease; }
.dv-faq-item:hover .dv-faq-a,
.dv-faq-item[open] .dv-faq-a { color: rgba(255, 255, 255, 0.9); }

