/* Global Styles */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.nav-link {
    color: #696969 !important;
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 4rem !important;
}

    .navbar-brand i {
        color: #ffc107;
    }

.me-1 {
    margin-right: 0.60rem !important;
}
.navbar {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.container-fluid {
    max-width: 1600px !important;
}
a[href="/Account/Login"] {
    background-color: #ffd401 !important;
    border-radius: 10px;
    padding: 10px 30px !important;
}

/* Hero Section */
.hero-section {
    background-image: url(/HeroSectionBackground.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 200px 0;
    margin-bottom: 50px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

    .hero-section h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

/* Button Styles */
.btn {
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {

}

    .btn-primary:hover {
        background: #0e5fd7;
        transform: translateY(-2px);
    }

.btn-outline-primary {
    border: 2px solid #7086a5;
    color: #7086a5;
}

    .btn-outline-primary:hover {
        background: #0e5fd7;
        color: white;
        transform: translateY(-2px);
    }









.p-4 {
    padding: 40px 50px !important;
}
.bg-light {
/*    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);*/
}
.newsCard-body {
    padding: 2.5rem 2.5rem !important;
}
.services-section {
    margin-top: 150px;
    padding: 110px 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 150px;
}
.featured-products {
    margin-bottom: 150px !important;
}
.card img {
    height: auto !important;
}
.product-cardBody {
    padding: 25px 25px !important;
}
.core-services {
    padding: 0px 65px !important;
    margin-bottom: 50px !important;
}
.h-100 {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}
.HowToUse-card:hover {
    box-shadow:none !important;
    transition:none !important;
}
.loging-card {
    margin: 130px 0;
}
.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1.5rem 1rem;
}
.card-header p{
    color: white !important;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 50px;
}

    .footer h5 {
        color: #495057;
        margin-bottom: 20px;
    }

    .footer ul {
        padding-left: 0;
    }

        .footer ul li {
            margin-bottom: 8px;
        }

            .footer ul li a {
                color: #6c757d;
                text-decoration: none;
            }

                .footer ul li a:hover {
                    color: #495057;
                }

/* Dashboard Styles */
.dashboard-card {
    border-radius: 15px;
    overflow: hidden;
}

    .dashboard-card .card-body {
        padding: 30px;
    }

    .dashboard-card h4 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .dashboard-card p {
        margin-bottom: 0;
        opacity: 0.9;
    }

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #cce7ff;
    color: #004085;
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

    .table th {
        background-color: #f8f9fa;
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        color: #495057;
    }

    .table td {
        vertical-align: middle;
        padding: 15px;
    }

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: #005381;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .dashboard-card h4 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Product Features */
.features {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Status Indicators */
.status-active {
    color: #28a745;
}

.status-inactive {
    color: #dc3545;
}

/* Card Image Overlay */
.card-img-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    color: white;
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 20px;
    transition: background-color 0.3s;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #495057;
    }

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(255,255,255,0.95);
        border-radius: 10px;
        padding: 20px;
        margin-top: 10px;
    }

        .navbar-collapse .nav-link {
            color: #495057 !important;
            padding: 10px 0;
        }
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1600px !important;
    }
}

@media (max-width: 575px) {
    .navbar {
        border-bottom: none !important;
        margin-bottom: 0;
    }
    .navbar-toggler i {
        color: black !important;
        font-size: 25px;
    }
    .navbar-toggler {
        padding: 0 !important;
    }
    .navbar-collapse {
        margin-top: 20px !important;
    }
    .navbar-nav {
        flex-direction: column !important;
    }
    .nav-item a[href="/Account/Login"] {
        float: left;
        background: #ffc107;
        padding: 7px 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    .d-flex {
        display: flow !important;
    }
    .me-3 {
        margin-right:0 !important;
        margin-bottom: 20px !important;
    }
    .container-fluid {
        padding: 0px 20px !important;
    }
    .footer-container {
        padding: 20px 35px;
    }
    .section-1 p {
        text-align: justify;
        padding: 0 35px;
        text-align-last: center;
    }
    .productDetails {
        margin-top : 50px;
    }
    .d-flex.flex-wrap .btn-lg {
        padding: 1rem 1rem !important;
    }
}
