/* Custom CSS for ING Infomix */

:root {
    --primary-color: #FF3C00;
    --secondary-color: #8F9194;
    --success-color: #FF3C00;
    --info-color: #383738;
    --warning-color: #FF3C00;
    --danger-color: #FF3C00;
    --light-color: #8F9194;
    --dark-color: #070707;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --backdrop-blur: blur(20px);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FF3C00 0%, #383738 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 7, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 60, 0, 0.1);
}

.service-card .card-body {
    padding: 2rem;
}

/* Portfolio Cards */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 60, 0, 0.15);
}

.portfolio-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 7, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    visibility: visible;
}

/* Team Cards */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 60, 0, 0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(45deg, #FF3C00, #383738);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Navigation & Modern Mega Menu */
.navbar {
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    background: rgba(255, 60, 0, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1030;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #8F9194);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #FF3C00, #383738);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #FF3C00 !important;
    transform: translateY(-2px);
}

/* Modern Mega Menu Styles */
.mega-menu {
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem 0;
    margin-top: 0.5rem;
    border-top: 3px solid #FF3C00;
    position: relative;
    overflow: hidden;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF3C00, #383738, #8F9194);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.mega-menu .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.mega-menu h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FF3C00, #383738);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.mega-menu h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #FF3C00, #383738);
}

.mega-menu .dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 3px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

.mega-menu .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 60, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.mega-menu .dropdown-item:hover::before {
    left: 100%;
}

.mega-menu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.1), rgba(56, 55, 56, 0.1));
    color: #FF3C00;
    transform: translateX(8px) scale(1.02);
    border-color: rgba(255, 60, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.15);
}

.mega-menu .dropdown-item i {
    width: 24px;
    text-align: center;
    color: #FF3C00;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.mega-menu .dropdown-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #383738;
}

.mega-menu-highlight {
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.05), rgba(56, 55, 56, 0.05));
    border: 1px solid rgba(255, 60, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mega-menu-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.1), rgba(56, 55, 56, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-menu-highlight:hover::before {
    opacity: 1;
}

.mega-menu-highlight:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.2);
    border-color: rgba(255, 60, 0, 0.3);
}

.mega-menu-highlight h6 {
    color: #FF3C00;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mega-menu-highlight p {
    color: #383738;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mega-menu-highlight .btn {
    background: linear-gradient(45deg, #FF3C00, #383738);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mega-menu-highlight .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.mega-menu-highlight .btn:hover::before {
    left: 100%;
}

.mega-menu-highlight .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 60, 0, 0.4);
}

/* Enhanced Dropdown Animation */
.dropdown-menu {
    animation: megaMenuSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes megaMenuSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Mega Menu - Modern Styling */
@media (max-width: 991.98px) {
    .navbar {
        background: linear-gradient(135deg, rgba(255, 60, 0, 0.98), rgba(56, 55, 56, 0.98)) !important;
    }
    
    .mega-menu {
        position: static !important;
        width: 100% !important;
        padding: 1.5rem 0;
        box-shadow: none;
        border: none;
        background: transparent;
        backdrop-filter: none;
    }
    
    .mega-menu .container {
        padding: 0;
    }
    
    .mega-menu .row {
        margin: 0;
    }
    
    .mega-menu .col-lg-3,
    .mega-menu .col-lg-4 {
        padding: 1rem;
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .mega-menu h6 {
        color: white;
        font-size: 1rem;
        margin-bottom: 1rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .mega-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.75rem 0;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mega-menu .dropdown-item:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .mega-menu .dropdown-item i {
        color: #FF3C00;
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }
    
    .mega-menu-highlight {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-top: 1rem;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .mega-menu-highlight h6,
    .mega-menu-highlight p {
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .mega-menu-highlight .btn {
        background: linear-gradient(45deg, #FF3C00, #383738);
        border: none;
        font-weight: 600;
    }
    
    /* Mobile dropdown styling */
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(7, 7, 7, 0.95), rgba(56, 55, 56, 0.95));
        margin-top: 1rem;
        padding: 1.5rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 0 !important;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        color: white !important;
        background: transparent;
        transform: translateX(5px);
    }
    
    .dropdown-toggle::after {
        color: #FF3C00;
        transition: transform 0.3s ease;
    }
    
    .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #FF3C00, #383738);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 60, 0, 0.4);
}

.btn-outline-primary {
    border-color: #FF3C00;
    color: #FF3C00;
}

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

/* Forms */
.form-control {
    border: 2px solid #8F9194;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #FF3C00;
    box-shadow: 0 0 0 0.2rem rgba(255, 60, 0, 0.25);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.12);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #070707 0%, #383738 100%);
}

footer a:hover {
    color: #FF3C00 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Portfolio Filter */
.btn-group .btn {
    margin: 0 2px;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #FF3C00;
    border-color: #FF3C00;
    color: white;
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.badge-primary {
    background-color: #FF3C00;
}

/* Modal Customization */
.modal-content {
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #8F9194;
}

.modal-footer {
    border-top: 1px solid #8F9194;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FF3C00;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success/Error Messages */
.alert {
    border: none;
}

.alert-success {
    background: linear-gradient(45deg, #FF3C00, #383738);
    color: white;
}

.alert-danger {
    background: linear-gradient(45deg, #FF3C00, #383738);
    color: white;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #8F9194;
}

::-webkit-scrollbar-thumb {
    background: #FF3C00;
}

::-webkit-scrollbar-thumb:hover {
    background: #383738;
}

/* Placeholder Images */
.placeholder-img {
    background: linear-gradient(45deg, #8F9194, #383738);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070707;
    font-size: 1.5rem;
    min-height: 200px;
}

.placeholder-img.hero {
    min-height: 400px;
    background: linear-gradient(135deg, #FF3C00 0%, #383738 100%);
    color: white;
}

/* Admin Panel Styles */
.admin-sidebar {
    background: linear-gradient(135deg, #070707 0%, #383738 100%);
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 60, 0, 0.1);
}

.stat-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF3C00 0%, #383738 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.login-header {
    background: linear-gradient(45deg, #FF3C00, #383738);
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-body {
    padding: 2rem;
}

.btn-login {
    padding: 12px 30px;
    font-weight: 500;
}
