/* OMNI Networks Custom Theme
   Color Scheme: Blue rgb(0,55,101) and White
   Font: Poppins
*/

:root {
    --omni-blue: rgb(0, 55, 101);
    --omni-blue-dark: rgb(0, 40, 75);
    --omni-blue-light: rgb(0, 80, 140);
    --omni-white: #ffffff;
    --omni-gray-light: #f8f9fa;
    --omni-gray: #6c757d;
    --omni-gray-dark: #343a40;
    --omni-accent: #e9ecef;
    --omni-shadow: rgba(0, 55, 101, 0.15);
}

/* Base Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--omni-gray-dark);
    background-color: var(--omni-gray-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--omni-blue);
}

/* Navigation Styles */
.navbar-omni {
    background-color: var(--omni-blue) !important;
    box-shadow: 0 2px 10px var(--omni-shadow);
}

    .navbar-omni .navbar-brand {
        font-weight: 600;
        background-color: var(--omni-white) !important;
        text-align:center;
        border-radius: 30px; /* Sets the size of the corner rounding */
        corner-shape: superellipse(2); /* Applies the squircle shape */
    }

.navbar-omni .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-omni .nav-link:hover,
.navbar-omni .nav-link.active {
    color: var(--omni-white) !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-omni .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-omni .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo Styling */
.navbar-logo {
    height: 50px;
    width: auto;
    margin-right: 10px;

    padding:5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--omni-blue) 0%, var(--omni-blue-dark) 100%);
    color: var(--omni-white);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    color: var(--omni-white);
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section with Background Image */
.hero-section-image {
    position: relative;
    background-image: url('../img/Header.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--omni-white);
    margin-bottom: 2rem;
    overflow: hidden;
    height: 500px;
}

.hero-section-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
 
    z-index: 0;
}

.hero-overlay {
    position: relative;
/*    background: rgba(0, 55, 101, 0.6);*/
    padding: 4rem 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section-image h1 {
    color: var(--omni-white);
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section-image .btn-light {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-section-image .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Provider Cards */
.provider-card {
    background: var(--omni-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--omni-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--omni-shadow);
}

.provider-card .card-body {
    padding: 1.5rem;
}

.provider-card .card-title {
    color: var(--omni-blue);
    font-weight: 600;
}

.provider-card i {

    color: var(--omni-blue);

}
.provider-card i:hover {
    color: var(--omni-white);
}

/* Button Styles */
.btn-omni-primary {
    background-color: var(--omni-white);
    border-color: var(--omni-blue);
    color: var(--omni-blue);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-omni-primary:hover {
    background-color: var(--omni-blue);
    border-color: var(--omni-blue-dark);
    color: var(--omni-white);
    transform: translateY(-2px);
}

.btn-omni-outline {
    background-color: transparent;
    border: 2px solid var(--omni-blue);
    color: var(--omni-blue);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-omni-outline:hover {
    background-color: var(--omni-blue);
    color: var(--omni-white);
}

/* Content Sections */
.content-section {
    background: var(--omni-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--omni-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--omni-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--omni-blue);
    display: inline-block;
    width: 100%;
}

/* Mission Statement */
.mission-box {
    background: linear-gradient(135deg, var(--omni-gray-light) 0%, var(--omni-accent) 100%);
    border-left: 4px solid var(--omni-blue);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.mission-box .signature {
    font-style: normal;
    font-weight: 600;
    color: var(--omni-blue);
    margin-top: 1rem;
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--omni-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--omni-shadow);
    padding: 1.5rem;
}

.contact-info-card h5 {
    color: var(--omni-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-card i {
    color: var(--omni-blue);
    width: 24px;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--omni-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 55, 101, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--omni-gray-dark);
}

/* Footer Styles */
.footer-omni {
    background-color: var(--omni-blue);
    color: var(--omni-white);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-omni a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-omni a:hover {
    color: var(--omni-white);
}

.footer-omni hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Page Layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Image Styles */
.page-image {
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--omni-shadow);
    max-width: 100%;
    height: auto;
}

/* Alert/Toast Styles */
.alert-omni {
    background-color: rgba(0, 55, 101, 0.1);
    border: 1px solid var(--omni-blue);
    color: var(--omni-blue);
    border-radius: 8px;
}

/* Table Styles */
.table-omni thead {
    background-color: var(--omni-blue);
    color: var(--omni-white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .provider-card {
        margin-bottom: 1rem;
    }
    
    .navbar-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .btn-omni-primary,
    .btn-omni-outline {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-omni-blue {
    color: var(--omni-blue) !important;
}

.bg-omni-blue {
    background-color: var(--omni-blue) !important;
}

.border-omni-blue {
    border-color: var(--omni-blue) !important;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner Override */
.spinner-border.text-omni {
    color: var(--omni-blue) !important;
}
