/* style.css - Institution Axis ERP Global Styles */
:root {
    --primary-dark: #0f172a;
    --primary-blue: #2563eb;
    --primary-orange: #e54027;
    --accent-gold: #f59e0b;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass-white: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* HOME PAGE STYLES */
/* Header */
.main-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: var(--primary-blue);
}

.navbar-brand:hover {
    color: var(--primary-orange);
}

.btn-primary {
    background-color: var(--primary-blue);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
}

.btn-secondary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-outline-light {
    border-radius: 12px;
    padding: 12px 30px;
    border-width: 2px;
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at top right, #1e3a8a, #0f172a);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    filter: blur(150px);
    opacity: 0.2;
}

.hero-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 48px;
}

.hero-img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

h2,
h5 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--primary);
}

/* Cards */
/* 2. Modernized Feature Cards */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.feature-card h5,
.feature-card h6 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}


/* 4. CTA Section - High Contrast */
/* .cta-section {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 30px;
    margin: 80px 20px;
    padding: 80px;
} */

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 20px 0;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: white;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eef2f6;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.2rem;
    border-bottom: 1px solid #eef2f6;
}

.logo-area i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 8px;
    color: #1e293b;
}

.close-sidebar-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
}

.sidebar-nav {
    list-style: none;
    padding: 1rem 0;
    flex: 1;
}

.sidebar-nav .nav-item {
    margin: 0.2rem 0;
}

.sidebar-nav .nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 12px;
    margin: 0 8px;
}

.sidebar-nav .nav-item.active a {
    background: var(--primary-blue);
    color: white;
}

.sidebar-nav .nav-item a i {
    width: 22px;
}

.sidebar-footer {
    padding: 1rem;
    font-size: 0.7rem;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid #eef2f6;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    margin-left: 260px;
    transition: margin-left 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-content {
    flex: 1;
    transition: margin-left 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-navbar {
    background: white;
    padding: 0.8rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 99;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #475569;
}

.breadcrumb-custom {
    font-size: 0.85rem;
    color: #5b6e8c;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.notification-icon {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.badge-notify {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary-orange);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 30px;
}

.avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin-right: 6px;
}

.dashboard-content {
    padding: 1.5rem;
    flex: 1;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    background: rgba(45, 76, 167, 0.1);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.stat-info p {
    margin: 0;
    color: #64748b;
}

.card {
    border-radius: var(--border-radius) !important;
    border: none;
    box-shadow: var(--shadow-sm);
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

.btn-orange {
    background: var(--primary-orange);
    border: none;
    color: white;
    border-radius: 30px;
    padding: 6px 18px;
}

.footer-minimal {
    background: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

/* Pricing */
.pricing-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px 35px;
    background: #fff;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.badge-popular {
    background: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
    top: -15px;
}

.price {
    color: var(--primary);
    font-weight: 700;
    margin: 15px 0;
}

.price span {
    font-size: 14px;
    color: #777;
}

.popular {
    border: 2px solid var(--secondary);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
}

.currency-switch {
    font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -260px;
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar.active {
        margin-left: 0;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }
}