/* public/css/style.css - ULTRA MODERN TECH THEME */

/* --- Global Variables & Resets --- */
:root {
    --primary-blue: #0A4D8C; /* Deep, professional blue */
    --secondary-blue: #007BFF; /* Brighter accent blue */
    --accent-glow: #00bcd4; /* Cyan/aqua for tech glow */
    --dark-bg: #1A1A1A; /* Dark background for sleek sections */
    --light-bg: #F0F4F8; /* Light blue-gray for contrast */
    --white: #FFFFFF;
    --black: #000000;
    --dark-text: #212529;
    --light-text: #E0E0E0;
    --border-color: #DEE2E6;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.3);
    --transition-speed: 0.3s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern sans-serif */
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.heading-primary {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}
.heading-secondary {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

/* --- Reusable Card Style --- */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 2.5rem;
    transition: transform var(--transition-speed);
}
.card:hover {
    transform: translateY(-5px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}
.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-red {
    background-color: #dc3545;
}
.btn-red:hover {
    background-color: #c82333;
}

#services-section p,
#products-section p,
#why-us-section p {
    color: #000000;
    font-weight: 500;
}
/* --- Navigation Bar --- */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-logo img {
    height: 40px; /* Adjust as needed for your logo */
    vertical-align: middle;
}
.navbar-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-left: 10px;
}
.nav-links {
    display: flex;
    gap: 2.5rem; /* Increased spacing */
}
.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    transition: color var(--transition-speed);
}
.nav-links a::after { /* Underline effect */
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-blue);
    transition: width var(--transition-speed);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--secondary-blue);
}

/* --- Hero Section --- */
.hero-section {
    background-image: linear-gradient(rgba(10, 77, 140, 0.85), rgba(0, 123, 255, 0.75)), url('../images/hero-bg.jpg'); /* Use your background image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 10rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before { /* Subtle background pattern/texture */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--primary-blue) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}
.hero-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.hero-logos img {
    height: 60px; /* Adjust size as needed */
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 188, 212, 0.5)); /* White with cyan glow */
    transition: transform var(--transition-speed);
}
.hero-logos img:hover {
    transform: scale(1.05);
}

/* --- Feature Grid / Services --- */
.features-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-item, .product-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--border-color);
}
.feature-item:hover, .product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}
.feature-item h3, .product-item h3 {
    color: var(--primary-blue);
    margin-top: 1rem;
    font-size: 1.5rem;
}
.feature-item p, .product-item p {
    color: var(--light-text);
    font-size: 0.95rem;
}
.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* --- Booking Section --- */
.booking-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}
.booking-section .card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}
.booking-section h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}
/* Wizard progress (keep similar to previous, but enhance) */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    list-style-type: none;
    padding: 0;
    position: relative;
}
.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--border-color);
    transform: translateY(-50%);
    z-index: 0;
}
.progress-step {
    text-align: center;
    flex-grow: 1;
    color: var(--light-text);
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.progress-step::before {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--border-color);
    margin-bottom: 10px;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--light-text);
}
.progress-step:nth-child(1)::before { content: '1'; }
.progress-step:nth-child(2)::before { content: '2'; }
.progress-step:nth-child(3)::before { content: '3'; }
.progress-step:nth-child(4)::before { content: '4'; }

.progress-step.active {
    color: var(--primary-blue);
    font-weight: 600;
}
.progress-step.active::before {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: var(--white);
}

.wizard-step h3 {
    margin-top: 0;
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 0.8rem;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
.wizard-buttons .btn {
    width: auto;
    min-width: 120px;
}
.wizard-buttons .btn:first-child {
    background-color: var(--light-text);
}
.wizard-buttons .btn:first-child:hover {
    background-color: #5a6268;
}

/* --- Form Elements --- */
input, select, textarea {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}
textarea {
    min-height: 120px;
    resize: vertical;
}

#confirmation-details p {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 5px solid var(--primary-blue);
}
#confirmation-details p strong {
    color: var(--primary-blue);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Make logo white for dark background */
}
.footer-logo span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 10px;
}
.footer-col h4 {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.8rem;
}
.footer-col ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color var(--transition-speed);
}
.footer-col ul li a:hover {
    color: var(--white);
}
.footer-col p {
    margin-bottom: 0.8rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

/* --- Login Page --- */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--light-bg);
}
.login-container {
    max-width: 450px;
    width: 90%;
    padding: 3rem;
}
.login-container h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}
.error-message {
    color: #d9534f;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

/* --- Admin Dashboard --- */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--light-bg);
}
.admin-nav {
    width: 280px;
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent shrinking */
}
.admin-nav h2 {
    text-align: center;
    color: var(--accent-glow);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}
.admin-nav ul {
    list-style: none;
    padding: 0;
}
.admin-nav ul li {
    padding: 1.1rem 1.5rem;
    margin-bottom: 0.7rem;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-nav ul li:hover, .admin-nav ul li.active {
    background-color: var(--primary-blue);
    color: var(--white);
}
.admin-nav ul li:last-child {
    margin-top: 3rem;
    background-color: #dc3545; /* Red for logout */
}
.admin-nav ul li:last-child:hover {
    background-color: #c82333;
}
.admin-main {
    flex-grow: 1;
    padding: 3rem;
}
.admin-section {
    display: none;
}
.admin-section.active {
    display: block;
}
.admin-main h1 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}
.admin-main .card {
    margin-bottom: 2rem;
}
.admin-main table {
    width: 100%;
    border-collapse: separate; /* Use separate to allow border-radius */
    border-spacing: 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden; /* Ensures border-radius applies to corners */
    box-shadow: var(--shadow-light);
}
.admin-main th, .admin-main td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
.admin-main th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
}
.admin-main tr:last-child td {
    border-bottom: none;
}
.admin-main tr:hover {
    background-color: #f8f9fa;
}
.status-select {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-size: 0.9rem;
}
.status-select:focus {
    border-color: var(--secondary-blue);
}

/* Form for Admin Sections */
.admin-main form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.admin-main form input {
    flex-grow: 1;
    margin-bottom: 0; /* Override default input margin */
}
.admin-main form .btn {
    flex-shrink: 0;
}
.admin-main hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .hero-logos img {
        height: 50px;
    }
    .features-grid, .product-grid, .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .admin-nav {
        width: 220px;
        padding: 1.5rem 1rem;
    }
    .admin-nav h2 {
        font-size: 1.8rem;
    }
    .admin-nav ul li {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
    .admin-main {
        padding: 2rem;
    }
    .admin-main h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    .heading-primary {
        font-size: 2.5rem;
    }
    .heading-secondary {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 6rem 1rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-logos {
        flex-direction: column;
        align-items: center;
    }
    .hero-logos img {
        height: 40px;
    }
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-nav {
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .admin-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .admin-nav ul li {
        width: auto;
        flex-grow: 1;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        margin: 0.2rem;
    }
    .admin-nav ul li span {
        display: none; /* Hide text on small screens, use icons if desired */
    }
    .admin-main {
        padding: 1.5rem;
    }
    .admin-main h1 {
        font-size: 1.8rem;
    }
    .admin-main form {
        flex-direction: column;
    }
    .admin-main form .btn {
        width: 100%;
    }
    .admin-main table {
        font-size: 0.9rem;
    }
    .admin-main th, .admin-main td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .navbar-logo span {
        font-size: 1.5rem;
    }
    .booking-section .card {
        padding: 1.5rem;
    }
    .wizard-progress {
        flex-wrap: wrap;
    }
    .progress-step {
        flex-basis: 50%;
        margin-bottom: 1rem;
    }
    .progress-step::after {
        content: none; /* Hide lines between steps on small screens */
    }
    .wizard-step h3 {
        font-size: 1.5rem;
    }
    .wizard-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .wizard-buttons .btn {
        width: 100%;
    }
}
/* Premium Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
}

/* Logo Styles */
.navbar-logo {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-image-wrapper:hover .logo-glow {
    opacity: 0.6;
    filter: blur(15px);
}

.logo-image-wrapper:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-main-links {
    display: flex;
    gap: 2rem;
    margin-right: 1rem;
}

.nav-action-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link i {
    font-size: 1rem;
    color: #3498db;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2980b9;
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-1px);
}

.nav-link:hover i {
    color: #2980b9;
}

.link-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover .link-underline {
    width: 80%;
}

/* Admin Portal Link */
.admin-portal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #8e44ad;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: rgba(142, 68, 173, 0.1);
    border: 1px solid rgba(142, 68, 173, 0.2);
    transition: all 0.3s ease;
}

.admin-portal:hover {
    background: rgba(142, 68, 173, 0.15);
    color: #9b59b6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2);
}

/* Primary Button */
.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-icon span {
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-icon span:nth-child(1) {
    width: 20px;
}

.menu-icon span:nth-child(2) {
    width: 24px;
}

.menu-icon span:nth-child(3) {
    width: 16px;
}

.mobile-menu-btn:hover .menu-icon span {
    background: #3498db;
}

.mobile-menu-btn.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 24px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 24px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    color: #3498db;
}

.mobile-nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    transform: translateX(5px);
}

.mobile-nav-link.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    justify-content: center;
    margin-top: 1rem;
}

.mobile-nav-link.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-main-links {
        gap: 1rem;
    }
    
    .nav-action-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar .container {
        padding: 1rem;
    }
    
    .logo-primary {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .logo-image-wrapper {
        width: 45px;
        height: 45px;
    }
}

/* Reset & Base */
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f6f8fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
.main-header {
  background: #1e293b;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header h1 {
  font-size: 1.5rem;
}

.btn-logout {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-logout:hover {
  background: #dc2626;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.dashboard-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

/* Forms */
.form input {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.btn-primary {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #1e40af;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.styled-table thead {
  background: #2563eb;
  color: white;
}

.styled-table th, .styled-table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid #e5e7eb;
}

.styled-table tr:nth-child(even) {
  background: #f9fafb;
}

.styled-table button {
  background: #16a34a;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.styled-table button:hover {
  background: #15803d;
}

.status-select {
  padding: 0.4rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

/* Footer */
.main-footer {
  text-align: center;
  padding: 1rem;
  background: #1e293b;
  color: white;
  margin-top: 2rem;
  font-size: 0.9rem;
}
