/* ==========================================
   VIJAY MOI TECH - COMPLETE STYLESHEET
   ========================================== */

/* Root Variables - VEL DIGITAL MOI Logo Based Theme
   (Divine Temple Gold, Royal Shield Navy, Cyber Circuit Cyan & Flame Orange) */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0a192f;
    --text-secondary: #334155;
    --text-muted: #64748b;

    /* Divine Temple Gold (from the Vel spear, temple coins & ornate borders) */
    --gold-primary: #d97706;
    --gold-bright: #fbbf24;
    --gold-light: #fef3c7;
    --gold-dark: #b45309;
    --primary-gold: #d97706;
    --secondary-gold: #f59e0b;
    --text-gold: #b45309;

    /* Royal Shield Navy (from the background shield) */
    --blue-deep: #07152e;
    --blue-primary: #0a224a;
    --primary-maroon: #0a224a;
    --dark-maroon: #07152e;
    --navy-royal: #0f346c;

    /* Cyber Circuit Cyan (from PCB traces & Wifi signals inside shield) */
    --cyan-primary: #00b4d8;
    --cyan-glow: rgba(0, 180, 216, 0.4);
    --accent-blue: #0284c7;
    --accent-purple: #1e3a8a;
    --accent-pink: #f59e0b;
    --accent-green: #16a34a;

    /* Sacred Flame & Auspicious Accents */
    --flame-orange: #ea580c;
    --flame-glow: #f97316;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff, #f8fafc);
    --gradient-blue: linear-gradient(135deg, #07152e 0%, #0a224a 60%, #0284c7 100%);
    --gradient-purple: linear-gradient(135deg, #07152e 0%, #1e3a8a 100%);
    --gradient-cyan: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
    --gradient-brand: linear-gradient(135deg, #07152e 0%, #0a224a 55%, #b45309 100%);
    --gradient-flame: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 34, 74, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 34, 74, 0.1);
    --shadow-lg: 0 16px 40px rgba(10, 34, 74, 0.15);
    --shadow-gold: 0 6px 20px rgba(217, 119, 6, 0.32);
    --shadow-navy: 0 8px 25px rgba(7, 21, 46, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.tamil-font {
    font-family: 'Noto Sans Tamil', sans-serif;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212,175,55,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79,172,254,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(102,126,234,0.05) 0%, transparent 70%);
}

.floating-shapes span {
    position: absolute;
    display: block;
    border-radius: 50%;
    animation: float 25s linear infinite;
    opacity: 0.1;
}

.floating-shapes span:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    background: var(--gold-primary);
    animation-delay: 0s;
}

.floating-shapes span:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 30%;
    background: var(--accent-blue);
    animation-delay: -5s;
}

.floating-shapes span:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 50%;
    background: var(--accent-purple);
    animation-delay: -10s;
}

.floating-shapes span:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 70%;
    background: var(--accent-pink);
    animation-delay: -15s;
}

.floating-shapes span:nth-child(5) {
    width: 140px;
    height: 140px;
    left: 85%;
    background: var(--accent-green);
    animation-delay: -20s;
}

.floating-shapes span:nth-child(6) {
    width: 90px;
    height: 90px;
    left: 5%;
    background: var(--gold-light);
    animation-delay: -12s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
}

.logo-text p {
    font-size: 11px;
    color: var(--gold-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--gold-primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* Language Select */
.lang-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
}

.lang-select option {
    background: var(--bg-tertiary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50px;
    margin-bottom: 20px;
}

.badge-text {
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .tamil-font {
    font-size: 0.6em;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: white;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212,175,55,0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--bg-primary);
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Admin Panel */
.admin-panel {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #07152e;
    border-right: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: 2.5px solid #f59e0b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.sidebar-title h2 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.sidebar-title p {
    font-size: 11.5px;
    color: #fbbf24;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(245, 158, 11, 0.08);
    color: #ffffff;
}

.nav-link.active {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    border-left-color: #f59e0b;
    font-weight: 600;
}
    font-weight: 600;
}

.nav-link i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--bg-primary);
}

.top-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,15,0.8);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

.header-left h1 {
    font-size: 20px;
    font-weight: 600;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #07152e 0%, #0a224a 50%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}

/* Dashboard Content */
.dashboard-content {
    padding: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.gradient-blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-green {
    background: linear-gradient(135deg, #00d9a5, #00b894);
}

.gradient-gold {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
}

.gradient-purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-card-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.stat-card-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.stat-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: white;
}

/* Quick Actions */
.quick-actions {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.quick-actions .section-title {
    text-align: left;
    font-size: 18px;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-3px);
    background: var(--bg-secondary);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.bg-pink { background: linear-gradient(135deg, #f093fb, #f5576c); }
.bg-blue { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.bg-green { background: linear-gradient(135deg, #00d9a5, #00b894); }
.bg-purple { background: linear-gradient(135deg, #667eea, #764ba2); }

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.chart-card, .recent-card {
    padding: 24px;
    border-radius: var(--radius-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.view-all {
    color: var(--gold-primary);
    font-size: 13px;
    text-decoration: none;
}

.chart-container {
    height: 250px;
}

/* Entries List */
.entries-list {
    max-height: 350px;
    overflow-y: auto;
}

.entry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.entry-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.entry-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--bg-primary);
}

.entry-details h4 {
    font-size: 14px;
    font-weight: 500;
}

.entry-details p {
    font-size: 12px;
    color: var(--text-secondary);
}

.entry-amount {
    text-align: right;
}

.entry-amount .amount {
    font-weight: 600;
    color: var(--gold-primary);
}

.entry-amount .time {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Table Styles */
.table-card {
    padding: 24px;
    border-radius: var(--radius-md);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.table-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 12px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    padding: 10px 16px 10px 36px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    width: 250px;
}

.filter-select {
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 14px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.data-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.event-name strong {
    display: block;
}

.tamil-text {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Noto Sans Tamil', sans-serif;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.badge-type {
    background: rgba(102,126,234,0.2);
    color: #667eea;
}

.badge-count {
    background: rgba(0,217,165,0.2);
    color: #00d9a5;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.status-badge.active {
    background: rgba(0,217,165,0.2);
    color: #00d9a5;
}

.status-badge.completed {
    background: rgba(102,126,234,0.2);
    color: #667eea;
}

.amount-text {
    font-weight: 600;
    color: var(--gold-primary);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

.btn-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    transform: none !important;
}

.btn-icon i {
    pointer-events: none;
    font-size: 14px;
}

.btn-icon:hover {
    color: #fff;
    transform: none !important;
}

.btn-icon.edit:hover { 
    background: rgba(79, 172, 254, 0.2); 
    border-color: #4facfe; 
    color: #4facfe; 
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.25); 
}
.btn-icon.delete:hover { 
    background: rgba(220, 38, 38, 0.2); 
    border-color: #dc2626; 
    color: #dc2626; 
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.25); 
}
.btn-icon.print:hover { 
    background: rgba(0, 217, 165, 0.2); 
    border-color: #00d9a5; 
    color: #00d9a5; 
    box-shadow: 0 0 10px rgba(0, 217, 165, 0.25); 
}
.btn-icon.pdf:hover { 
    background: rgba(245, 87, 108, 0.2); 
    border-color: #f5576c; 
    color: #f5576c; 
    box-shadow: 0 0 10px rgba(245, 87, 108, 0.25); 
}

.tooltip {
    display: none !important;
}

/* Form Card */
.form-card {
    padding: 30px;
    border-radius: var(--radius-md);
    max-width: 900px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form .form-group {
    margin-bottom: 0;
}

.modern-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modern-form label i {
    color: var(--gold-primary);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.tamil-input {
    font-family: 'Noto Sans Tamil', sans-serif;
}

.amount-preview {
    margin: 20px 0;
    padding: 16px;
    border-radius: var(--radius-sm);
}

.preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.preview-value {
    font-weight: 600;
    color: var(--gold-primary);
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(0,217,165,0.1);
    color: #00d9a5;
    border: 1px solid rgba(0,217,165,0.3);
}

.alert-error {
    background: rgba(245,87,108,0.1);
    color: #f5576c;
    border: 1px solid rgba(245,87,108,0.3);
}

/* Receipt Styles */
.receipt-no {
    font-family: monospace;
    background: rgba(212,175,55,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--gold-primary);
}

.guest-info strong {
    display: block;
}

.event-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.event-badge.marriage {
    background: rgba(240,147,251,0.2);
    color: #f093fb;
}

.event-badge.birthday {
    background: rgba(79,172,254,0.2);
    color: #4facfe;
}

.amount-highlight {
    font-weight: 600;
    color: var(--gold-primary);
}

.payment-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.payment-badge.cash {
    background: rgba(0,217,165,0.2);
    color: #00d9a5;
}

.payment-badge.upi {
    background: rgba(102,126,234,0.2);
    color: #667eea;
}

.payment-badge.card {
    background: rgba(245,147,108,0.2);
    color: #f5576c;
}

/* Footer */
.footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .modern-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 3px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .sidebar, .top-header, .action-buttons {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* ==========================================
   VIJAY MOI TECH - COMPLETE TRADITIONAL UI
   ========================================== */

/* --- 1. Variables & Reset --- */
:root {
    --primary-gold: #d97706;
    --secondary-gold: #f59e0b;
    --gold-bright: #fbbf24;
    --primary-maroon: #0a224a;
    --dark-maroon: #07152e;
    --deep-bg: #f8fafc;
    --text-light: #0a192f;
    --text-gold: #b45309;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --cyan-accent: #00b4d8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--deep-bg);
    color: var(--text-light);
    overflow-x: hidden;
}
.tamil-font { font-family: 'Noto Sans Tamil', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 2. Top Accent Line --- */
.traditional-border {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b45309 0%, #f59e0b 25%, #00b4d8 50%, #f59e0b 75%, #b45309 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(217, 119, 6, 0.4);
}
.traditional-border.bottom {
    top: auto;
    bottom: 0;
    position: relative;
}

/* --- 3. Navigation --- */
.main-nav {
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 0;
    position: sticky;
    top: 4px;
    z-index: 998;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(10, 34, 74, 0.05);
    backdrop-filter: blur(16px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-brand-img {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.25);
    overflow: hidden;
}
.nav-brand-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-text .en {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0a192f;
    line-height: 1.1;
}
.brand-text .ta {
    font-size: 12px;
    color: #b45309;
    font-weight: 700;
    font-family: 'Noto Sans Tamil', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}
.nav-links a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.25s ease;
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover {
    color: #b45309;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.25s ease;
    border-radius: 2px;
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn-nav-outline {
    padding: 8px 18px;
    border: 1.5px solid #cbd5e1;
    color: #0a224a;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: 13px;
    background: #f8fafc;
}
.btn-nav-outline:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #b45309;
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.15);
}
.btn-nav-primary {
    padding: 8px 18px;
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.32);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-nav-primary:hover {
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.48);
    transform: translateY(-1px);
    color: #ffffff;
}
/* --- 4. Hero Section --- */
.hero-section {
    padding: 65px 20px 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(rgba(217, 119, 6, 0.08) 1.2px, transparent 1.2px),
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(7, 21, 46, 0.08) 0%, transparent 45%);
    background-size: 24px 24px, 100% 100%, 100% 100%;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}
.hero-badge i {
    color: #f59e0b;
}
.hero-icon {
    width: 96px;
    height: 96px;
    background: #ffffff;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 
        0 0 0 4px rgba(245, 158, 11, 0.22),
        0 10px 25px rgba(10, 34, 74, 0.2);
    padding: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.hero-icon:hover {
    transform: scale(1.05);
}
.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}
.hero-section h1 { 
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #0a192f;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
}
.tagline {
    font-size: 16px;
    color: #b45309;
    margin-bottom: 8px;
    font-family: 'Noto Sans Tamil', sans-serif;
    font-weight: 600;
}
.tagline-sub {
    font-size: 14px;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}
.btn-hero-primary {
    padding: 13px 30px;
    background: linear-gradient(135deg, #07152e 0%, #0a224a 55%, #b45309 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(10, 34, 74, 0.35);
    transition: all 0.3s ease;
}
.btn-hero-primary:hover {
    background: linear-gradient(135deg, #0a224a 0%, #b45309 60%, #f59e0b 100%);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-hero-secondary {
    padding: 13px 30px;
    background: #ffffff;
    color: #0a224a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 12px;
    border: 1.5px solid #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 82, 212, 0.08);
}
.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.hero-stat-pill i {
    color: #f59e0b;
}

/* --- 5. Objectives Section --- */
.section-objectives {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title { 
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0a192f;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0a224a, #f59e0b);
    border-radius: 2px;
}
.section-sub {
    margin-top: 12px;
    color: #64748b;
    max-width: 650px;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.6;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.obj-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 34, 74, 0.05);
}
.obj-card:hover {
    transform: translateY(-6px);
    border-color: #f59e0b;
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15);
}
.obj-card.featured {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}
.obj-img {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.obj-card:hover .obj-img {
    transform: scale(1.1);
    background: #fffbeb;
}
.obj-img i {
    font-size: 32px;
    color: #d97706;
}
.obj-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a192f;
    font-family: 'Noto Sans Tamil', sans-serif;
}
.obj-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.6;
}
.card-link {
    color: #b45309;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.card-link:hover {
    color: #d97706;
    gap: 10px;
}

/* --- 6. Services Section --- */
.section-services {
    padding: 80px 0;
    background: #f8fafc;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.25s ease;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.service-item:hover {
    background: #ffffff;
    transform: translateY(-3px);
    border-color: #f59e0b;
    border-left-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.12);
}
.service-item i {
    font-size: 22px;
    color: #d97706;
    width: 28px;
    text-align: center;
}
.service-item span {
    font-family: 'Noto Sans Tamil', sans-serif;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

/* --- 7. Events Section --- */
.section-events {
    padding: 80px 0;
    background: #ffffff;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.event-card {
    background: #f8fafc;
    padding: 24px 15px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}
.event-card:hover {
    background: #ffffff;
    border-color: #f59e0b;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.15);
    transform: translateY(-4px);
}
.event-icon {
    font-size: 30px;
    color: #d97706;
    margin-bottom: 12px;
}
.event-card h4 {
    font-size: 14px;
    color: #0a192f;
    font-family: 'Noto Sans Tamil', sans-serif;
    font-weight: 600;
}

/* --- 8. Footer (Perfect Logo Brand Color Combination) --- */
.main-footer {
    background: linear-gradient(180deg, #fdfbf7 0%, #fef3c7 100%);
    color: #1e293b;
    padding-top: 55px;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #07152e 0%, #0a224a 25%, #f59e0b 50%, #0a224a 75%, #07152e 100%) 1;
    position: relative;
    box-shadow: 0 -4px 20px rgba(10, 34, 74, 0.04);
    margin-top: auto;
}
.footer-top {
    padding-bottom: 45px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 35px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    text-decoration: none;
}
.footer-brand-img {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    overflow: hidden;
}
.footer-brand-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.footer-brand-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0a192f;
    line-height: 1.1;
    margin: 0;
}
.footer-brand-text p {
    font-size: 13px;
    color: #b45309;
    font-weight: 700;
    font-family: 'Noto Sans Tamil', sans-serif;
    margin: 3px 0 0;
}
.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
}
.footer-trust-badge i {
    color: #f59e0b;
}
.footer-desc {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 0;
}
.footer-col h5 {
    color: #0a192f;
    margin-bottom: 8px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col h5 i {
    color: #f59e0b;
    font-size: 15px;
}
.footer-heading-line {
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #0a224a);
    border-radius: 2px;
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a.footer-link {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col a.footer-link i {
    color: #d97706;
    font-size: 11px;
    transition: transform 0.2s ease;
}
.footer-col a.footer-link:hover {
    color: #b45309;
    transform: translateX(4px);
}
.footer-col a.footer-link:hover i {
    color: #b45309;
}

/* Contact Card Items */
.footer-contact-card {
    background: #ffffff;
    border: 1.5px solid #fde68a;
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.04);
}
.footer-contact-card:hover {
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}
.contact-icon-box {
    width: 34px;
    height: 34px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
    font-size: 14px;
    flex-shrink: 0;
}
.contact-info-text {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}
.contact-info-text a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-info-text a:hover {
    color: #b45309;
}

/* Social & Support */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 18px;
}
.social-btn {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a224a;
    font-size: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}
.social-btn.fb:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}
.social-btn.tw:hover {
    background: #1DA1F2;
    color: #ffffff;
    border-color: #1DA1F2;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
}
.social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #ffffff;
    border-color: #dc2743;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}
.social-btn.wa:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #15803d;
    border: 1.5px solid #86efac;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.1);
}
.footer-wa-btn i {
    color: #22c55e;
    font-size: 16px;
}
.footer-wa-btn:hover {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}
.footer-wa-btn:hover i {
    color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #c8dcf2;
    background: #dbe8f6;
    padding: 18px 0;
    font-size: 13px;
    font-weight: 500;
    color: #1e3a5f;
}
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom strong {
    color: #0a224a;
    font-weight: 700;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-section h1 {
        font-size: 34px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-stats-row {
        flex-direction: column;
        align-items: center;
    }
    .hero-stat-pill {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   AUTOCOMPLETE & AUTOFILL DROPDOWN STYLES
   ========================================== */
.ac-dropdown-menu {
    position: absolute;
    z-index: 99999;
    display: none;
    background: #ffffff;
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    animation: acFadeIn 0.15s ease-out;
}

@keyframes acFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ac-dropdown-item {
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
}

.ac-dropdown-item:last-child {
    border-bottom: none;
}

.ac-dropdown-item:hover,
.ac-dropdown-item.active {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left: 3px solid #f59e0b;
    padding-left: 14px;
}

.ac-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ac-item-name {
    font-weight: 700;
    color: #0a192f;
    font-size: 13.5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.ac-highlight {
    color: #b45309;
    text-decoration: underline;
    font-weight: 800;
    background: rgba(245, 158, 11, 0.18);
    padding: 1px 3px;
    border-radius: 3px;
}

.ac-item-tamil {
    font-size: 13px;
    font-weight: 600;
    color: #d97706;
    font-family: 'Noto Sans Tamil', sans-serif;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 6px;
}

.ac-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.ac-tag {
    font-size: 11px;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ac-tag i {
    font-size: 9.5px;
    color: #d97706;
}

/* Custom scrollbar for autocomplete */
.ac-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.ac-dropdown-menu::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}
.ac-dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.ac-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* ==========================================================================
   Header Profile Dropdown Menu Component
   ========================================================================== */
.profile-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.profile-dropdown-wrapper .admin-info.profile-toggle {
    cursor: pointer !important;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 5px 14px 5px 8px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-dropdown-wrapper .admin-info.profile-toggle:hover,
.profile-dropdown-wrapper.active .admin-info.profile-toggle {
    background: #f8fafc;
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
    transform: translateY(-1px);
}

.profile-dropdown-wrapper .admin-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #07152e 0%, #0a224a 50%, #f59e0b 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28) !important;
    flex-shrink: 0;
}

.profile-dropdown-wrapper .admin-profile-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0a192f;
    letter-spacing: -0.2px;
}

.profile-dropdown-wrapper .profile-arrow-icon {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.profile-dropdown-wrapper.active .profile-arrow-icon {
    transform: rotate(180deg);
    color: #f59e0b;
}

/* Floating Menu Card */
.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 999999;
    pointer-events: none;
}

.profile-dropdown-wrapper.active .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* User Identity Section */
.pdm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 10px;
}

.pdm-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07152e 0%, #0a224a 50%, #f59e0b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.pdm-details {
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

.pdm-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdm-badge-wrapper {
    margin-top: 4px;
}

.pdm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 20px;
    line-height: 1;
}

.pdm-badge-admin {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.pdm-badge-user {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.pdm-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

/* Navigation Links */
.pdm-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdm-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.16s ease;
}

.pdm-link .pdm-icon {
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13.5px;
    transition: color 0.16s ease;
}

.pdm-link:hover {
    background: #fffbeb;
    color: #b45309;
    transform: translateX(3px);
}

.pdm-link:hover .pdm-icon {
    color: #b45309;
}

/* Logout Button */
.pdm-footer {
    padding-top: 4px;
}

.pdm-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    cursor: pointer;
}

.pdm-logout-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
    transform: translateY(-1px);
}