/* ========== BASE & RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
:root {
    --primary: #1a472a;
    --primary-dark: #0f2b1a;
    --secondary: #f8c471;
    --secondary-dark: #e0a800;
    --light-bg: #f8f9fa;
    --gray: #6c757d;
    --dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Segoe UI', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--box-shadow);
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-toggle {
    display: none;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.nav-toggle i {
    font-size: 1.1rem;
}

nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: white;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

nav ul li a i {
    font-size: 0.9rem;
}

.notification-badge {
    display: inline-block;
    margin-left: 5px;
    background: linear-gradient(135deg, var(--danger), #ff6b6b);
    color: white;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    font-size: 0.75rem;
    text-align: center;
    line-height: 20px;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(220,53,69,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ========== MOBILE NAVIGATION ========== */
@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        transition: max-height 0.4s ease;
        background: rgba(255,255,255,0.05);
        border-radius: 12px;
        margin-top: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
    }

    nav ul.open {
        max-height: 600px;
        padding: 15px 0;
    }

    nav ul li {
        width: 100%;
        margin: 2px 10px;
    }

    nav ul li a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 1rem;
    }

    nav ul li a:hover {
        transform: translateX(5px);
    }
}

.nav-toggle i {
    font-size: 20px;
}

nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

.notification-badge {
    display: inline-block;
    margin-left: 5px;
    background: var(--danger);
    color: white;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
    text-align: center;
    line-height: 18px;
    padding: 0 5px;
}

@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }
    nav {
        width: 100%;
    }
    nav ul {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        transition: max-height 0.3s ease;
    }
    nav ul.open {
        max-height: 500px;
    }
    nav ul li a {
        width: 100%;
        justify-content: flex-start;
        padding: 10px;
        border-radius: 12px;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(26,71,42,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,71,42,0.4);
    filter: brightness(1.05);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

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

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* ========== CARDS ========== */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 12px;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(248,196,113,0.2);
}

textarea.form-control {
    resize: vertical;
}

/* ========== TABLES ========== */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--primary);
}

.table tr:hover {
    background: rgba(0,0,0,0.02);
}

/* ========== STATUS BADGES ========== */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved,
.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-rejected,
.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.bg-success { background: var(--success); color: white; }
.bg-danger { background: var(--danger); color: white; }
.bg-warning { background: var(--warning); color: #333; }
.bg-secondary { background: var(--gray); color: white; }

/* ========== ALERTS ========== */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* ========== HERO CAROUSEL (ENHANCED) ========== */
.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 20px;
}

.hero-image {
    height: 80vh;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 10s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: var(--secondary, #f8c471);
    color: #1a472a;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn:hover {
    background: #e0a800;
    color: white;
    transform: translateY(-3px);
}

/* Zoom animation */
@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Carousel indicators */
.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    margin: 0 6px;
}

.carousel-indicators .active {
    background-color: var(--secondary, #f8c471);
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-carousel,
    .hero-image {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel,
    .hero-image {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
        padding: 0 15px;
    }
    .hero-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel,
    .hero-image {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* ========== FEATURED GRID ========== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.featured-card {
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.featured-content {
    padding: 20px;
}

.featured-content h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.featured-price {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ========== FEATURES ========== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.feature i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.feature:hover {
    transform: translateY(-5px);
}

/* ========== PACKAGES & MENU ========== */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* A4 POSTER SIZE (portrait) */
.package-img {
    height: auto;
    background: #e9f7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 210 / 297; /* A4 portrait: width 210, height 297 */
    max-width: 100%;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.package-card:hover .package-img img {
    transform: scale(1.05);
}

/* Also apply to package images in calculator and booking step 3 */
.calculator-main .item-image[data-type="package"],
#cart-section .card .package-img {
    aspect-ratio: 210 / 297;
}

.package-content {
    padding: 20px;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.package-price {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.menu-category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.menu-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid #eee;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.menu-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.menu-item-details {
    flex: 1;
}

.menu-item-details h4 {
    margin: 0 0 5px;
    color: var(--primary);
}

.menu-price {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ========== STEP INDICATOR ========== */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 5px;
}

.step-indicator .step {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 40px;
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
    color: #666;
}

.step-indicator .step.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(26,71,42,0.3);
}

/* ========== ADMIN DASHBOARD (NO INTERNAL SCROLLBARS) ========== */
.dashboard {
    display: flex;
    gap: 30px;
}

.sidebar {
    flex: 0 0 260px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 20px;
}

.dashboard-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 25px;
}

/* Hide any potential scrollbars that might appear */
.dashboard-content::-webkit-scrollbar {
    display: none;
}

/* Responsive: stack on smaller screens */
@media (max-width: 992px) {
    .dashboard {
        flex-direction: column;
    }
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary);
}

/* ========== PROFILE SECTION ========== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: linear-gradient(120deg, rgba(248,196,113,0.12), rgba(26,71,42,0.04));
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(26,71,42,0.1);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    font-size: 2rem;
}

.profile-header h2 {
    margin-bottom: 6px;
}

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-tab {
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f4f6f8;
    color: var(--dark);
    border: 1px solid rgba(97,110,117,0.2);
    font-weight: 600;
}

.profile-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== CHATBOT ========== */
.chatbot-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26,71,42,0.4);
    z-index: 1100;
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.2);
    animation: gentlePulse 3s ease-in-out infinite;
}

.chatbot-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(26,71,42,0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(26,71,42,0.5);
    }
}

.chatbot-icon:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,71,42,0.6), 0 0 20px rgba(248,196,113,0.3);
    border-color: var(--secondary);
}

.chatbot-icon:hover i {
    color: white;
    transform: scale(1.05);
}

/* WIDER CHAT WINDOW */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 420px;
    max-width: 90vw;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 1100;
    display: none;
    overflow: hidden;
    border: 2px solid rgba(26,71,42,0.1);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px 18px 0 0;
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-body {
    height: 320px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafafa;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-message {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 8px rgba(26,71,42,0.3);
}

.chat-input {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,71,42,0.1);
}

.chat-input button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26,71,42,0.4);
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.quick-reply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9f7ef, #f0f9f0);
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(26,71,42,0.1);
    color: var(--primary);
    text-align: center;
}

.quick-reply:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248,196,113,0.3);
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 50px;
}

.chat-input button {
    border-radius: 50px;
    padding: 10px 20px;
}

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
    padding-top: 60px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox-desc {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark), var(--secondary));
    box-shadow: 0 2px 10px rgba(248,196,113,0.3);
}

footer::after {
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
    color: white;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(248,196,113,0.4);
    border-color: var(--secondary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-links a i {
    color: var(--secondary);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(248,196,113,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(248,196,113,0.6);
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.back-to-top i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-1px);
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links a,
    .footer-contact p {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }
    .step-indicator {
        flex-wrap: wrap;
        gap: 5px;
    }
    .step-indicator .step {
        flex: auto;
        min-width: 80px;
        font-size: 0.8rem;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .chatbot-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
        max-height: 60vh;
    }

    .chatbot-icon {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .chat-body {
        height: 250px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

.status-awaiting_approval {
    background: #fff3cd;
    color: #856404;
}