/* Nova-Bootstrap Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --gray-700: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --info-color: #06b6d4;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-family: 'Poppins', sans-serif;}
h2 { font-size: 2rem; font-family: 'Poppins', sans-serif;}
h3 { font-size: 1.5rem; font-family: 'Poppins', sans-serif; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Navigation */
body .navbar {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%) !important;
    /* box-shadow: var(--shadow-lg) !important; */
    padding: 1rem 0 !important;
    border-bottom: 3px solid var(--primary-dark) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000 !important;
    text-decoration: none;
}

body .navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius) !important;
    transition: all 0.3s ease !important;
}

body .navbar .navbar-nav .nav-link:hover,
body .navbar .navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; */
}

/* Hero Section */
.hero-section {
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') bottom center/cover no-repeat;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000000;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #334155;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #f3f3f5;
}

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

.rounded-custom {
    border-radius: var(--border-radius-lg) !important;
}

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

.card-header {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    background: none;
}

.card-body {
    padding: 2rem;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #053575;
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: #053575;
}

.btn-outline-primary {
    color: #053575;
    border: 1px solid #053575;
    background: transparent;
}

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

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--white);
}

.btn-outline-success {
    color: var(--success-color);
    border: 1px solid var(--success-color);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--success-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Forms */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--gray-700);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    outline: none;
}

.form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--gray-700);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* Carousel */
.carousel-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--gray-700);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.accordion-button {
    background: var(--white);
    border: none;
    font-weight: 600;
    color: var(--gray-900);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    /* background: linear-gradient(135deg, var(--gray-700) 0%, #1c2638 100%); */
    color: #040404;
    box-shadow: none;
    background: #f8fafc;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--gray-50);
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

/* Stats Cards */
.stats-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stats-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    /* background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%); */
    /* color: var(--white); */
    /* padding: 3rem 0 1rem; */
    /* margin-top: 3rem; */
    /* position: relative; */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.footer h5, .footer h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a {
    margin-right: 1rem;
}

.footer-links span {
    margin: 0 0.5rem;
    color: var(--gray-400);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
}

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

.rounded-custom {
    border-radius: var(--border-radius-xl);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
        height: 39px;
        border: 1px solid;
    }
}

@media (max-width: 576px) {

  .btn:last-child {
        margin-bottom: 0;
        height: 39px;
        border: 1px solid;
    } 

    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
}

/* Custom Components */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-200);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
}

/* Content Styling */
.content-text {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-warning {
    color: #92400e;
    background-color: #fef3c7;
    border-color: #fbbf24;
}

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

.breadcrumb-item a {
    color: #053575;
    text-decoration: none;
    font-weight: 500;
}

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

/* Sidebar */
.sidebar {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    border: 1px solid #f3f3f5;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.sidebar-menu a:hover::before {
    width: 100%;
}

.sidebar-menu a:hover {
    color: var(--white);
    transform: translateX(8px);
}

/* Footer */
body .footer {
    /* background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%) !important; */
    /* color: var(--white) !important; */
    /* padding: 3rem 0 1rem !important; */
    /* margin-top: 4rem !important; */
    /* position: relative !important; */
    background: #fff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

body .footer h5 {
    color: #2c2c2c !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

body .footer a {
    color: #4b5668 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

body .footer a:hover {
    color: var(--gray-700) !important;
}

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

.footer .btn-outline-primary:hover {

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Hero Section Slider Styling */
.hero-section .carousel {
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.min-vh-100 {
    min-height: 0vh !important;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item > div {
    height: 100%;
    min-height: 400px;
}

/* FORCE OVERRIDE - Bootstrap SCSS Override */
html body .navbar {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--primary-dark) 100%) !important;
    /* box-shadow: var(--shadow-lg) !important; */
    padding: 1rem 0 !important;
    border-bottom: 1px solid #f3f3f5 !important;
    background: #fff!important;
}

html body .footer {
    /* background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%) !important; */
    color: var(--white) !important;
    padding: 3rem 0 1rem !important;
    margin-top: 4rem !important;
    position: relative !important;
    border: none;
    border-top: 1px solid #f3f3f5;
    background: #fff;
}

html body .navbar .navbar-nav .nav-link {
    color: rgb(75 86 104) !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius) !important;
    transition: all 0.3s ease !important;
}

html body .navbar .navbar-nav .nav-link:hover,
html body .navbar .navbar-nav .nav-link.active {
    color: #4b5668 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; */
}
.mb-02 {
    color: #fff !important;
}
.mb-01 {
    color: #fff !important;
    width: 80% !important;
}
.min-vh-100 {
    min-height: 0vh !important;
}
.admin-card-body {
    padding:25px;
}