/* ONMS Custom Styles */

:root {
    --primary-color: #002448;
    --primary-dark: #002448;
    --primary-gradient: linear-gradient(135deg, #002448 0%, #002448 100%);
    --hero-gradient: linear-gradient(135deg, #1e3d59 0%, #002448 100%);
    --shadow-tech: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

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

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

.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 50%;
    background-image: url('onms-logo.png'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the whole circle */
    background-position: center; /* Centers the image */
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn-hero {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-tech);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -10px rgba(59, 130, 246, 0.25);
    color: white;
}

.btn-tech {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.btn-tech:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-dark);
    border-color: white;
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.shadow-tech {
    box-shadow: var(--shadow-tech);
}

/* Features */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Benefits */
.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-tech);
}

.benefit-icon i {
    color: white;
    font-size: 2rem;
}

/* Table Styling */
.table-dark {
    background-color: var(--primary-dark) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        padding-top: 80px;
    }
    
    .btn-hero,
    .btn-outline-white {
        width: 100%;
        margin-bottom: 1rem;
    }
}

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

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

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

/* Loading States */
.btn:focus {
    box-shadow: none;
}

.btn:active {
    transform: translateY(0) !important;
}

/* Custom Spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Background Patterns */
.bg-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}