/* =============================================
   VERIDIAN DYNAMICS – Main Stylesheet
   Inspired by atomiot.live
   ============================================= */

:root {
    --primary: #0d1b35;
    --primary-light: #162a50;
    --accent: #f95f2b;
    --accent-dark: #e04e1e;
    --accent-glow: rgba(249, 95, 43, 0.15);
    --highlight: #ffb347;
    --text-dark: #0d1b35;
    --text-body: #4a5568;
    --text-light: #718096;
    --bg-light: #f9f8f6;
    --bg-card: #ffffff;
    --border: #e8e4df;
    --shadow-sm: 0 2px 8px rgba(13, 27, 53, 0.08);
    --shadow-md: 0 8px 30px rgba(13, 27, 53, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 27, 53, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* ===== BASE ===== */
* { box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* ===== COLORS & UTILITIES ===== */
.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background: var(--primary); }
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 196, 167, 0.35);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* ===== FLASH MESSAGES ===== */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

/* ===== NAVBAR ===== */
.vd-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(10, 37, 64, 0.08);
    padding: 14px 0;
    transition: var(--transition);
}
.vd-navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(10, 37, 64, 0.12);
}
.vd-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.vd-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    background: var(--accent-glow);
}

/* ===== HERO SECTION ===== */
.vd-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1e3a6e 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.vd-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(249, 95, 43, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 179, 71, 0.07) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f95f2b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.vd-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(249, 95, 43, 0.15);
    border: 1px solid rgba(249, 95, 43, 0.35);
    color: var(--highlight);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.vd-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}
.vd-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}
.vd-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.vd-hero-stats { display: flex; align-items: center; gap: 24px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.vd-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.vd-hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.vd-hero-scroll-hint a { color: rgba(255,255,255,0.5); font-size: 1.4rem; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== HERO ORBIT VISUAL ===== */
.vd-hero-visual { position: relative; width: 420px; height: 420px; }
.vd-orbit { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.vd-orbit-center {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
    box-shadow: 0 0 40px rgba(249, 95, 43, 0.4);
    z-index: 3; position: relative;
}
.vd-orbit-ring {
    position: absolute;
    border: 1px dashed rgba(249, 95, 43, 0.25);
    border-radius: 50%;
    animation: rotateRing linear infinite;
}
.ring-1 { width: 160px; height: 160px; animation-duration: 8s; }
.ring-2 { width: 260px; height: 260px; animation-duration: 14s; animation-direction: reverse; }
.ring-3 { width: 370px; height: 370px; animation-duration: 20s; }
@keyframes rotateRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.vd-orbit-dot {
    position: absolute;
    width: 44px; height: 44px;
    background: rgba(13, 27, 53, 0.85);
    border: 1px solid rgba(249, 95, 43, 0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--highlight); font-size: 1rem;
    animation: counterRotate linear infinite;
}
.ring-1 .dot-1 { top: -22px; left: 50%; transform: translateX(-50%); animation-duration: 8s; }
.ring-2 .dot-2 { top: -22px; left: 50%; transform: translateX(-50%); animation-duration: 14s; animation-direction: reverse; }
.ring-2 .dot-3 { bottom: -22px; left: 50%; transform: translateX(-50%); animation-duration: 14s; animation-direction: reverse; }
.ring-3 .dot-4 { top: -22px; left: 50%; transform: translateX(-50%); animation-duration: 20s; }
.ring-3 .dot-5 { bottom: -22px; right: 25%; animation-duration: 20s; }
.ring-3 .dot-6 { top: 50%; left: -22px; transform: translateY(-50%); animation-duration: 20s; }
@keyframes counterRotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* ===== SECTION LABELS ===== */
.section-tag {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-body {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ===== PILLARS SECTION ===== */
.vd-pillars { background: var(--primary); }
.vd-pillar-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.vd-pillar-card:hover {
    background: rgba(0, 196, 167, 0.1);
    border-color: rgba(0, 196, 167, 0.3);
    transform: translateY(-4px);
}
.pillar-icon {
    width: 64px; height: 64px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 196, 167, 0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin: 0 auto 1rem;
}
.vd-pillar-card h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.vd-pillar-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ===== ABOUT SECTION ===== */
.vd-about { background: var(--bg-light); }
.vd-about-visual { position: relative; }
.vd-about-img-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}
.vd-about-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.vd-about-img-wrapper:hover .vd-about-img {
    transform: scale(1.03);
}
.vd-about-badge-card {
    position: absolute;
    bottom: -20px; right: -20px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 24px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-md);
}
.badge-icon {
    width: 48px; height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--accent);
}
.badge-number { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.badge-label { font-size: 0.8rem; color: var(--text-light); }
.vd-about-feature {
    display: flex; align-items: center;
    font-size: 0.95rem; font-weight: 500; color: var(--text-dark);
    padding: 10px 16px;
    background: #fff; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ===== STATS SECTION ===== */
.vd-stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.vd-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(249, 95, 43, 0.08) 0%, transparent 70%);
}
.vd-stat-item { padding: 20px 10px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: inline;
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--accent);
    display: inline;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.vd-services { background: #fff; }
.vd-service-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.vd-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}
.vd-service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: rgba(0, 196, 167, 0.2);
}
.vd-service-card:hover::before { opacity: 1; }
.service-icon-wrap {
    width: 60px; height: 60px;
    background: var(--accent-glow);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}
.vd-service-card:hover .service-icon-wrap {
    background: var(--accent);
    color: #fff;
}
.vd-service-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.7rem; }
.vd-service-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 1.2rem; }
.service-link { font-size: 0.9rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--accent-dark); gap: 10px; }

/* ===== WHY US SECTION ===== */
.vd-why { background: var(--bg-light); }
.vd-why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.vd-why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: rgba(0, 196, 167, 0.2);
}
.why-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--accent-glow), rgba(0, 196, 167, 0.05));
    border: 2px solid rgba(0, 196, 167, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--accent);
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}
.vd-why-card:hover .why-icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.vd-why-card h5 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.7rem; }
.vd-why-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin: 0; }

/* ===== PROJECTS SECTION ===== */
.vd-projects { background: #fff; }
.vd-project-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}
.vd-project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.project-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.project-img-1 { background: linear-gradient(135deg, #0a2540, #0d3460); background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=800&q=80'); }
.project-img-2 { background: linear-gradient(135deg, #1a1a2e, #16213e); background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=800&q=80'); }
.project-img-3 { background: linear-gradient(135deg, #0f3460, #533483); background-image: url('https://images.unsplash.com/photo-1596526131083-e8c633c948d2?w=800&q=80'); }
.project-img-4 { background: linear-gradient(135deg, #0a2540, #1a4060); background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800&q=80'); }
.project-body { padding: 28px; }
.project-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.project-tag {
    background: var(--accent-glow);
    color: var(--accent);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.project-body h5 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; }
.project-body p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 1rem; }
.project-features { display: flex; flex-direction: column; gap: 5px; }
.project-features span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex; align-items: center; gap: 6px;
}
.project-features .bi-check2-circle { color: var(--accent); font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.vd-testimonials { background: var(--bg-light); }
.vd-testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.vd-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px; right: 24px;
    font-size: 4rem;
    color: var(--accent-glow);
    font-family: serif;
    line-height: 1;
}
.vd-testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; display: flex; gap: 2px; }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.85rem;
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.author-role { font-size: 0.82rem; color: var(--text-light); }

/* ===== PARTNERS ===== */
.vd-partners { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.vd-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.partner-logo-img {
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #fff;
}
.partner-logo-img:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.partner-logo-img img {
    height: 40px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    transition: var(--transition);
}
.partner-logo-img:hover img {
    filter: grayscale(0%) opacity(100%);
}
.partner-svg-logo {
    text-decoration: none;
    min-width: 160px;
}
.partner-svg-logo svg {
    filter: grayscale(100%) opacity(55%);
    transition: var(--transition);
}
.partner-svg-logo:hover svg {
    filter: grayscale(0%) opacity(100%);
}

/* ===== FAQ SECTION ===== */
.vd-faq { background: var(--bg-light); }
.vd-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.vd-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--primary);
    background: #fff;
    padding: 18px 24px;
    box-shadow: none;
}
.vd-accordion .accordion-button:not(.collapsed) {
    background: var(--accent-glow);
    color: var(--accent);
}
.vd-accordion .accordion-button::after {
    filter: none;
}
.vd-accordion .accordion-body {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.75;
    padding: 16px 24px 20px;
    background: #fff;
}

/* ===== CTA BANNER ===== */
.vd-cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #c94a1a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.vd-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.vd-cta-banner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.vd-cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}
.vd-cta-banner .btn-accent {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.vd-cta-banner .btn-accent:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.vd-footer {
    background: var(--primary);
    padding: 70px 0 30px;
}
.text-muted-light { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }
.footer-heading {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.footer-contact li {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
}
.footer-contact li .bi { color: var(--accent); }
.vd-social-links { display: flex; gap: 10px; }
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 30px 0; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin: 0; }
.footer-policy-link { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-policy-link:hover { color: var(--accent); }

/* ===== PAGE HEADER (inner pages) ===== */
.vd-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1e3a6e 100%);
    padding: 140px 0 80px;
}
.vd-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.vd-page-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.vd-contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.vd-contact-form-card h4 { font-weight: 700; color: var(--primary); }
.vd-input {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}
.vd-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #fff;
    outline: none;
}
.vd-contact-info h4 { font-weight: 700; color: var(--primary); }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
    width: 44px; height: 44px;
    background: var(--accent-glow);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--accent);
    flex-shrink: 0;
}
.contact-info-label { font-size: 0.8rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-value { font-size: 0.95rem; color: var(--primary); font-weight: 500; }
.contact-info-value a { color: var(--primary); }
.contact-info-value a:hover { color: var(--accent); }
.vd-contact-cta-card {
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.vd-contact-cta-card h6 { font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.vd-contact-cta-card p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* ===== LEGAL PAGES ===== */
.vd-legal-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}
.vd-legal-content p { color: var(--text-body); line-height: 1.75; }
.vd-legal-content a { color: var(--accent); }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.wa-float.visible {
    opacity: 1;
    pointer-events: all;
}
.wa-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
}
.wa-btn:hover { transform: scale(1.1); background: #20b858; }
.wa-pulse {
    position: absolute;
    inset: -4px;
    border: 3px solid rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.wa-tooltip {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    width: 300px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: waSlideUp 0.3s ease;
}
.wa-tooltip.open { display: flex; }
@keyframes waSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.wa-tooltip-header {
    background: #075e54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-tooltip-avatar {
    width: 42px; height: 42px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    flex-shrink: 0;
}
.wa-tooltip-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.wa-tooltip-status { color: rgba(255,255,255,0.75); font-size: 0.78rem; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-online-dot { width: 7px; height: 7px; background: #25d366; border-radius: 50%; display: inline-block; }
.wa-tooltip-close {
    margin-left: auto;
    background: none; border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem; cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.wa-tooltip-close:hover { color: #fff; }
.wa-tooltip-body { padding: 16px; background: #ece5dd; }
.wa-bubble {
    background: #fff;
    border-radius: 0 10px 10px 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
}
.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0; left: -8px;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}
.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.wa-start-btn:hover { background: #20b858; color: #fff; }

/* ===== RESPONSIVE ===== */

/* Tablet (≤991px) */
@media (max-width: 991px) {
    .vd-about-badge-card { right: 0; bottom: -16px; }
    .navbar-collapse {
        background: #fff;
        border-radius: var(--radius);
        padding: 20px;
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }
    .vd-hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
    .vd-partners-grid { gap: 20px; }
    .vd-cta-banner h2 { font-size: 2rem; }
    .vd-hero { min-height: 100svh; }
    .vd-contact-form-card { padding: 30px 24px; }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    /* General */
    .section-pad { padding: 60px 0; }
    .section-pad-sm { padding: 40px 0; }
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 0.95rem; }

    /* Navbar */
    .vd-navbar { padding: 10px 0; }
    .vd-brand-text { font-size: 1rem; }

    /* Hero */
    .vd-hero { padding-top: 90px; padding-bottom: 60px; min-height: unset; }
    .vd-hero-title { font-size: 1.9rem; line-height: 1.25; }
    .vd-hero-subtitle { font-size: 0.95rem; }
    .vd-hero-ctas { flex-direction: column; }
    .vd-hero-ctas .btn { width: 100%; text-align: center; }
    .vd-hero-stats { gap: 16px; flex-wrap: wrap; }
    .vd-hero-stats .vd-divider { display: none; }
    .hero-stat-number { font-size: 1.5rem; }

    /* Pillars */
    .vd-pillar-card { padding: 24px 20px; }

    /* About */
    .vd-about-img { height: 260px; }
    .vd-about-badge-card { display: none; }
    .vd-about-feature { font-size: 0.88rem; padding: 8px 12px; }

    /* Stats */
    .vd-stats { padding: 50px 0; }
    .stat-number { font-size: 2.2rem; }

    /* Services */
    .vd-service-card { padding: 26px 22px; }

    /* Why cards */
    .vd-why-card { padding: 26px 20px; }

    /* Projects / Solutions */
    .project-img { height: 170px; }
    .project-body { padding: 20px; }

    /* Testimonials */
    .vd-testimonial-card { padding: 26px 22px; }

    /* Partners */
    .vd-partners-grid { gap: 14px; }
    .partner-logo-img { padding: 10px 16px; }
    .partner-logo-img img { height: 30px; }
    .partner-svg-logo { min-width: 130px; }
    .partner-svg-logo svg { width: 130px; }

    /* FAQ */
    .vd-accordion .accordion-button { font-size: 0.9rem; padding: 14px 18px; }

    /* CTA Banner */
    .vd-cta-banner { padding: 60px 0; }
    .vd-cta-banner h2 { font-size: 1.7rem; }
    .vd-cta-banner p { font-size: 0.95rem; }

    /* Contact page */
    .vd-contact-form-card { padding: 22px 18px; }
    .contact-info-item { padding: 12px 0; }
    .vd-page-header { padding: 110px 0 60px; }
    .vd-page-title { font-size: 1.9rem; }

    /* Footer */
    .vd-footer { padding: 50px 0 24px; }
    .footer-heading { margin-top: 8px; }

    /* WhatsApp button */
    .wa-float { bottom: 20px; right: 16px; }
    .wa-tooltip { width: 270px; }
    .wa-btn { width: 52px; height: 52px; font-size: 1.4rem; }
}
}
