@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700&family=Noto+Sans+Bengali:wght@400;700&display=swap');

:root {
    --primary: #064e3b;
    --primary-light: #065f46;
    --secondary: #d97706;
    --accent: #fbbf24;
    --surface: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    background-color: var(--surface);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Navbar */
.navbar-custom {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .project-title-display {
    font-weight: 700;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary);
    color: var(--white) !important;
}

/* Premium Buttons */
.btn-premium {
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-premium:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-premium {
    background-color: var(--secondary);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary-premium:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

/* Cards */
.card-premium {
    background: var(--white);
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header-premium {
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem;
    border: none;
    text-align: center;
}

/* Form Styling */
.form-control-premium {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
}

.form-control-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

/* Footer */
.footer-premium {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #065f46 100%);
    color: var(--white);
    padding: 6rem 3rem;
    text-align: center;
    border-radius: 0 0 4rem 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

/* Countdown Timer */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.timer-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 90px;
    transition: transform 0.3s ease;
}

.timer-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.timer-box .val {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.timer-box .lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Info Table */
.table-premium {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-sm);
}

.table-premium thead th {
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: none;
}

.table-premium tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
    color: var(--text-main);
}

.table-premium tbody tr:hover {
    background-color: #f8fafc;
}

/* Status Badges */
.badge-premium {
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-approved {
    background: #d1fae5;
    color: #065f46;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Filter Bar */
.filter-bar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

/* Utils */
.text-gold {
    color: var(--secondary);
}

.bg-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.rounded-xl {
    border-radius: 1rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.min-vh-400 {
    min-height: 400px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
        border-radius: 0 0 2rem 2rem;
    }

    .countdown-wrapper {
        gap: 0.75rem;
    }

    .timer-box {
        min-width: 70px;
        padding: 0.75rem;
    }

    .timer-box .val {
        font-size: 1.75rem;
    }
}