﻿:root {
    --dark-bg-primary: #212529;
    --dark-bg-secondary: #343a40;
    --dark-bg-tertiary: #495057;
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --border-color: #495057;
    --primary-accent: #635bff;
    --primary-accent-hover: #4e48cc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg-primary);
    color: var(--text-secondary);
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

.navbar-custom {
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color) !important;
}

.hero-section {
    background-color: var(--dark-bg-primary);
    position: relative;
    overflow: hidden;
}

    .hero-section::before, .hero-section::after {
        content: '';
        position: absolute;
        filter: blur(100px);
    }

    .hero-section::before {
        width: 800px;
        height: 800px;
        top: -200px;
        left: -200px;
        background: radial-gradient(circle, rgba(99, 91, 255, 0.15), transparent 70%);
        animation: pulse 15s infinite;
    }

    .hero-section::after {
        width: 700px;
        height: 700px;
        bottom: -250px;
        right: -250px;
        background: radial-gradient(circle, rgba(13, 169, 219, 0.15), transparent 70%);
        animation: pulse-reverse 15s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes pulse-reverse {
    0% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1.2);
    }
}

.section-light-bg {
    background-color: var(--dark-bg-secondary);
}

.custom-card {
    background-color: var(--dark-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .custom-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 20px rgba(0,0,0,.15);
        border-color: var(--primary-accent);
    }

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(99, 91, 255, 0.1);
    color: var(--primary-accent);
    transition: background-color 0.3s ease;
}

.custom-card:hover .icon-circle {
    background-color: rgba(99, 91, 255, 0.2);
}

.btn-primary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--primary-accent-hover);
        border-color: var(--primary-accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(99, 91, 255, 0.3);
    }

.footer {
    background-color: var(--dark-bg-secondary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

    .footer h5 {
        color: var(--text-primary);
    }

    .footer a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--text-primary);
        }

.workflow-diagram {
    position: relative;
    min-height: 450px;
    background-color: var(--dark-bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    overflow: hidden;
}

.department-lane {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.sales-lane {
    background-color: rgba(59, 130, 246, 0.1);
    border: 2px dashed rgba(59, 130, 246, 0.5);
}

.finance-lane {
    background-color: rgba(16, 185, 129, 0.1);
    border: 2px dashed rgba(16, 185, 129, 0.5);
}

.workflow-node {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--dark-bg-tertiary);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: fit-content;
    position: absolute;
    z-index: 2;
}

.node-start {
    top: 70px;
    left: 5%;
}

.node-manager {
    top: 70px;
    left: 35%;
}

.node-finance {
    top: 250px;
    left: 35%;
}

.node-approved {
    top: 250px;
    left: 70%;
}

.node-rejected {
    top: 70px;
    left: 70%;
}

.workflow-path {
    position: absolute;
    background-color: var(--border-color);
    z-index: 1;
}

.path-1 {
    top: 90px;
    left: 20%;
    width: 15%;
    height: 4px;
}

.path-2-reject {
    top: 90px;
    left: 50%;
    width: 20%;
    height: 4px;
}

.path-2-finance {
    top: 92px;
    left: 42%;
    width: 4px;
    height: 160px;
}

.path-3 {
    top: 270px;
    left: 50%;
    width: 20%;
    height: 4px;
}

.animated-document {
    position: absolute;
    z-index: 3;
    width: 40px;
    height: 40px;
    background-color: var(--primary-accent);
    color: white;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 0 20px rgba(99, 91, 255, 0.7);
}

.workflow-diagram.animate .animated-document {
    animation: move-workflow 10s ease-in-out infinite;
}

@keyframes move-workflow {
    0% {
        opacity: 1;
        top: 70px;
        left: 5%;
        transform: scale(1);
    }

    15% {
        top: 70px;
        left: 35%;
    }

    20% {
        transform: scale(1.2);
    }

    25% {
        transform: scale(1);
    }

    40% {
        top: 250px;
        left: 35%;
    }

    55% {
        top: 250px;
        left: 70%;
    }

    70% {
        opacity: 1;
    }

    75% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 0;
        top: 70px;
        left: 5%;
    }
}

.condition-badge {
    position: absolute;
    top: 150px;
    left: 43%;
    background-color: var(--dark-bg-primary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    z-index: 2;
}

.accordion-button {
    background-color: var(--dark-bg-tertiary);
    color: var(--text-primary);
}

    .accordion-button:not(.collapsed) {
        background-color: var(--primary-accent);
        color: white;
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(99, 91, 255, 0.5);
    }

.accordion-body {
    background-color: var(--dark-bg-secondary);
    line-height: 1.6;
    color: var(--text-primary); /* This line is added for better contrast */
}

    .accordion-body ul {
        padding-left: 1.2rem;
    }

    .accordion-body li {
        margin-bottom: 0.5rem;
    }

.accordion-item {
    border-color: var(--border-color);
}

.comparison-table {
    background-color: var(--dark-bg-primary);
    overflow-x: auto;
}

    .comparison-table th, .comparison-table td {
        border-color: var(--border-color);
        vertical-align: middle;
        text-align: center;
        min-width: 120px;
    }

    .comparison-table thead th {
        background-color: var(--dark-bg-secondary);
    }

    .comparison-table .feature-name {
        font-weight: 500;
        text-align: left;
        min-width: 200px;
    }

.section-light-bg {
    background-color: var(--dark-bg-secondary);
}

.timeline {
    position: relative;
    padding: 2rem 0;
    list-style: none;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background-color: var(--border-color);
    }

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 50px;
}

    .timeline-item:nth-child(odd) {
        padding-right: 30px;
        text-align: right;
        left: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 30px;
        text-align: left;
        left: 50%;
    }

.timeline-dot {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-accent);
    border: 4px solid var(--dark-bg-secondary);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--dark-bg-secondary);
    padding: 20px;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.custom-card {
    background-color: var(--dark-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .custom-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary-accent);
    }

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(99, 91, 255, 0.1);
    color: var(--primary-accent);
}
/* Contact Page Specific Styles */
.page-header {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--dark-bg-secondary);
}

.contact-card {
    background-color: var(--dark-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .contact-info-item i {
        color: var(--primary-accent);
        margin-right: 1rem;
    }

.form-control-dark {
    background-color: var(--dark-bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

    .form-control-dark:focus {
        background-color: var(--dark-bg-tertiary);
        border-color: var(--primary-accent);
        color: var(--text-primary);
        box-shadow: 0 0 0 0.25rem rgba(99, 91, 255, 0.25);
    }

    .form-control-dark::placeholder {
        color: var(--text-secondary);
    }

/* --- NAYE SOCIAL ICONS KE LIYE STYLE --- */
.social-icon {
    color: var(--text-secondary); /* Default color */
    transition: color 0.3s ease, transform 0.3s ease;
}

    .social-icon:hover {
        transform: scale(1.2); /* Icon thora bara hoga */
    }

    .social-icon.linkedin:hover {
        color: #0077B5; /* LinkedIn ka brand color */
    }

    .social-icon.youtube:hover {
        color: #FF0000; /* YouTube ka brand color */
    }

    .social-icon.facebook:hover {
        color: #1877F2; /* Facebook ka brand color */
    }

.modal-content {
    background-color: #1e1e1e; /* Dark background */
    color: #f1f1f1; /* Light text */
}

    .modal-content a {
        color: #4dabf7; /* Link color visible on dark bg */
    }

    .modal-content h1,
    .modal-content h2,
    .modal-content h3,
    .modal-content strong {
        color: #fff; /* Headings aur bold text clear dikhe */
    }
