/* Dilijenz Corporate Governance Website Styles */

/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #cfe2ff;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --body-bg: #ffffff;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --border-radius: 0.375rem;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

.display-4 {
    font-weight: 700;
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.25);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    border-radius: calc(var(--border-radius) + 0.125rem);
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(25, 135, 84, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-dashboard {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-radius: 1rem;
    z-index: -1;
}

/* Hero Logo */
.hero-logo-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(25, 135, 84, 0.1) 50%, rgba(255, 193, 7, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-logo {
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .hero-logo-container {
        min-height: 300px;
        padding: 1rem;
    }
    
    .hero-logo {
        max-width: 250px !important;
        max-height: 250px !important;
    }
}

/* Features */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(13, 110, 253, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto;
}

.feature-section {
    padding: 4rem 0;
}

.feature-illustration {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* Pricing */
.pricing-card {
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 1rem 2rem rgba(13, 110, 253, 0.15);
    transform: translateY(-10px);
}

.pricing-card .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.pricing-amount {
    margin: 1rem 0;
}

.pricing-amount .display-4 {
    color: var(--primary-color);
}

/* Blog */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card {
    border: 1px solid var(--border-color);
}

.blog-card:hover .card {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Admin Dashboard */
.admin-sidebar {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    position: sticky;
    top: 100px;
}

.admin-sidebar .nav-link {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Tables */
.table th {
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Badges */
.badge {
    font-weight: 500;
    border-radius: calc(var(--border-radius) - 0.125rem);
}

/* Social Proof */
.social-proof .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--light-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

/* Modal */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Footer */
footer {
    background-color: var(--light-color);
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Accordion */
.accordion-button {
    font-weight: 500;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-dashboard {
        max-width: 400px;
    }
    
    .feature-section {
        padding: 2rem 0;
    }
    
    .pricing-card:hover {
        transform: none;
    }
    
    .admin-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .hero-image-container {
        padding: 1rem;
    }
}

/* Vision Page Styles */
.vision-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.vision-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(25, 135, 84, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vision-badge .badge {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.why-matters .feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-matters .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.pledge-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pledge-item {
    transition: all 0.3s ease;
}

.pledge-item:hover {
    transform: translateY(-3px);
}

.pledge-icon {
    transition: all 0.3s ease;
}

.pledge-item:hover .pledge-icon {
    transform: scale(1.1);
}

.vision-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.vision-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vision-cta h2 {
    color: white;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: inherit;
    z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .navbar,
    .admin-sidebar,
    .btn,
    .pagination,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .table {
        font-size: 10pt;
    }
    
    .table th,
    .table td {
        padding: 4pt;
        border: 1px solid #000;
    }
}

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.value-proposition .stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.value-proposition .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-proposition .stat-icon {
    background: rgba(13, 110, 253, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.value-proposition .stat-card:hover .stat-icon {
    background: rgba(13, 110, 253, 0.15);
    transform: scale(1.05);
}

.value-proposition h3 {
    font-size: 2rem;
    margin: 1rem 0 0.5rem;
}

.value-proposition .display-5 {
    color: var(--primary-color);
}
