/* SecurityForce Website - Main Styles */
/* MNC Professional Design Theme */

:root {
    --primary: #0066cc;
    --primary-dark: #004999;
    --primary-light: #3385dd;
    --secondary: #ff6b35;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.btn {
    font-weight: 500;
    border-radius: 0.375rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

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

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.btn-light:hover {
    background-color: #e2e6ea;
}

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

.display-4 {
    font-weight: 700;
}

.fw-bold {
    font-weight: 700;
}

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

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

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    transition: var(--transition);
}

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

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #fff;
    border-color: var(--border-color);
    padding: 1rem 1.5rem;
}

/* Blog Cards */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0), rgba(0, 102, 204, 0.1));
    pointer-events: none;
    transition: var(--transition);
    opacity: 0;
}

.blog-card:hover::after {
    opacity: 1;
}

/* Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.badge-secondary {
    background-color: var(--secondary);
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-text {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Sections */
section {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Sections */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding-left: 2rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray);
    line-height: 1.8;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background-color: var(--primary);
    color: #fff;
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials */
.testimonial-card {
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: var(--light);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.testimonial-info h6 {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-info small {
    color: var(--gray);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 102, 204, 0.1));
}

.newsletter-form {
    /* display: flex; */
    gap: 0.5rem;
}

.newsletter-form .form-control {
    border: 2px solid var(--border-color);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-section h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 0.25rem;
}

.footer-section .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section .social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: #fff;
}

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

.text-danger {
    color: var(--danger) !important;
}

.text-success {
    color: var(--success) !important;
}

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

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

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

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    color: var(--gray);
}

.breadcrumb-item.active {
    color: var(--dark);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 102, 204, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error States */
.alert {
    border-radius: 0.5rem;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-info {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

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

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    body {
        background-color: #fff;
    }
}

/* Dashboard MNC Professional Styling */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.85rem;
}

.badge-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #ff9800;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(220, 53, 69, 0.1) 100%);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Dashboard Card Styling */
.card {
    border-radius: 12px;
    border: 2px solid #e8eaed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(1, 34, 81, 0.12);
    border-color: #d0dff7;
}

/* Form Controls */
.form-control {
    border: 2px solid #e8eaed;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #012251;
    box-shadow: 0 0 0 3px rgba(1, 34, 81, 0.1);
}

.form-select {
    border: 2px solid #e8eaed;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #012251;
    box-shadow: 0 0 0 3px rgba(1, 34, 81, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #012251 0%, #010d1f 100%);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 34, 81, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 34, 81, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 6px;
    font-weight: 600;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table thead {
    background: linear-gradient(135deg, #012251 0%, #1a2a4a 100%);
    color: white;
}

.table thead th {
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 16px;
    vertical-align: middle;
}

.table tbody tr {
    border-bottom: 1px solid #e8eaed;
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(1, 34, 81, 0.04);
}

.table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Input Group */
.input-group .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e8eaed;
    color: #012251;
    border-radius: 6px 0 0 6px;
}

.input-group .form-control {
    border-left: none !important;
    border-radius: 0 6px 6px 0;
}

