/*
  Digital Vahan - Main Stylesheet
  COMPLETE VERSION: Includes all original styles, scroll animations, and footer icon colors.
*/

:root {
    --primary-blue: #0a2540;
    --primary-orange: #ff6f00;
    --light-gray: #f7fafc;
    --light-blue: #eef2ff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: var(--primary-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: linear-gradient(rgba(238, 242, 255, 0.6) 1px, transparent 1px), linear-gradient(to right, rgba(238, 242, 255, 0.6) 1px, white 1px);
    background-size: 2rem 2rem;
}

/* =================================== */
/* Reusable Components & Effects       */
/* =================================== */

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c00);
    background-size: 200% 200%;
    transition: all 0.4s ease-in-out;
}

.gradient-bg:hover {
    background-position: 100% 0;
    box-shadow: 0 0 20px 0 rgba(255, 111, 0, 0.6);
}

.cta-pulse {
    animation: pulse-glow 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px 0 rgba(255, 111, 0, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px 5px rgba(255, 111, 0, 0.5);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =================================== */
/* Header & Navigation                 */
/* =================================== */

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-orange);
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* =================================== */
/* Page Hero Sections (Homepage & Inner Pages) */
/* =================================== */

.hero-bg, .page-hero {
    position: relative;
    overflow: hidden;
}

.hero-bg .container, .page-hero .container {
    position: relative;
    z-index: 1;
}

#hero-fx-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* =================================== */
/* Reveal on Scroll Animation (RESTORED) */
/* =================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =================================== */
/* Other Components & Sections         */
/* =================================== */

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform 0.3s ease-in-out; }
.faq-item[open] .faq-icon { transform: rotate(135deg); }

.scroller {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}
.scroller-wrapper:hover .scroller {
    animation-play-state: paused;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =================================== */
/* Footer Social Icon Brand Colors (UPDATED & FIXED) */
/* =================================== */

footer a[aria-label] {
    transition: transform 0.2s ease, filter 0.2s ease;
}

footer a[aria-label]:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Assigning official brand colors with !important to force the style */
footer a[aria-label="Chat on WhatsApp"] { color: #25D366 !important; }
footer a[aria-label="Call Us"]          { color: #4CAF50 !important; }
footer a[aria-label="Instagram"]        { color: #E4405F !important; }
footer a[aria-label="Facebook"]         { color: #1877F2 !important; }

