:root {
    --bg: #0F1419;
    --surface: #1a1f2e;
    --surface-2: #202637;
    --text: #f4f7fb;
    --muted: #aeb8c7;
    --primary: #FF6B00;
    --primary-dark: #db5d00;
    --navy: #1A3A52;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255,107,0,0.10), transparent 25%),
        radial-gradient(circle at top right, rgba(26,58,82,0.18), transparent 30%),
        linear-gradient(180deg, #0F1419 0%, #121825 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* NAVBAR */
.nav-glass {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(15, 20, 25, 0.75);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a,
.mobile-menu a {
    color: var(--muted);
    transition: color var(--transition);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--text);
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--primary), var(--navy));
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.btn-glow:hover {
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}

/* HERO */
.hero-premium {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0 60px;
}

.hero-center {
    max-width: 920px;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.glow-text {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.04;
  background: linear-gradient(90deg, #ffffff, #ffd9bf, #9dbed8);

  -webkit-background-clip: text; /* for Chrome, Safari */
  background-clip: text;         /* standard */

  color: transparent;
  margin-bottom: 16px;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: #d9e2ee;
    margin-bottom: 12px;
}

.hero-description {
    max-width: 760px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    font-weight: 600;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.35);
}

/* SECTIONS */
.cards-section {
    padding: 72px 0;
}

.section-dark {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    margin-bottom: 28px;
    max-width: 780px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 8px;
}

/* GRID / CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card,
.glass-panel,
.employee-card,
.timeline-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.glass-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,0.35);
}

.glass-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.glass-card p {
    color: var(--muted);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.glass-panel {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.glass-panel h2 {
    margin-bottom: 12px;
}

.glass-panel p {
    color: var(--muted);
}

.clean-list {
    padding-left: 18px;
    margin: 14px 0 16px;
}

.clean-list li + li {
    margin-top: 10px;
}

.inline-link {
    color: #ffd6be;
    font-weight: 600;
}

/* PAGE HERO */
.page-hero {
    padding: 80px 0 24px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 12px;
    max-width: 960px;
}

.page-subtext {
    max-width: 760px;
    color: var(--muted);
}

/* TIMELINE */
.timeline-list {
    display: grid;
    gap: 20px;
}

.timeline-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--muted);
}

/* EMPLOYEES */
.employee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.employee-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition);
}

.employee-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.employee-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--navy));
}

.employee-role {
    color: #ffd3b8;
    font-weight: 600;
    margin-top: 6px;
}

.employee-dept {
    color: #9ec0db;
    margin-bottom: 10px;
}

.employee-bio {
    color: var(--muted);
}

/* TEAM MINI */
.team-preview-list {
    display: grid;
    gap: 14px;
    margin: 14px 0 16px;
}

.team-mini-card {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.team-mini-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-mini-card p {
    color: var(--muted);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 14px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #e3eaf2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: white;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255,107,0,0.4);
}

.contact-info-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.contact-info-list p {
    color: var(--muted);
}

/* CTA */
.cta-section {
    padding: 24px 0 72px;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,107,0,0.10), rgba(26,58,82,0.20));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin-bottom: 10px;
}

.cta-box p:last-child {
    color: var(--muted);
}

/* TAGS */
.tag-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,107,0,0.12);
    color: #ffd3b8;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* FOOTER */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 14, 19, 0.8);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer p {
    color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid,
    .employee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid,
    .contact-grid,
    .cta-box,
    .timeline-card {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-card {
        display: grid;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-flex {
        flex-direction: column;
        padding: 16px 0;
    }

    .grid,
    .employee-grid,
    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-premium {
        min-height: auto;
        padding: 64px 0 50px;
    }

    .cards-section {
        padding: 56px 0;
    }

    .page-hero {
        padding: 56px 0 16px;
    }

    .timeline-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 20px, var(--container));
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-glow {
        width: 100%;
    }

    .logo img {
        height: 40px;
        max-width: 130px;
    }

    .nav-flex {
        gap: 12px;
    }

    .nav-links {
        gap: 10px;
    }
}


/* FLASH MESSAGES */
.flash-wrap {
    padding-top: 16px;
}

.flash-message {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.flash-success {
    background: rgba(40, 167, 69, 0.12);
    color: #c7f2d3;
}

.flash-error {
    background: rgba(220, 53, 69, 0.12);
    color: #ffd1d7;
}

.flash-warning {
    background: rgba(255, 193, 7, 0.12);
    color: #ffe9a8;
}

/* BUTTON OUTLINE */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    color: white;
    font-weight: 600;
    transition: transform var(--transition), border-color var(--transition);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.28);
}

/* ADMIN LOGIN */
.admin-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at top left, rgba(255,107,0,0.10), transparent 25%),
        radial-gradient(circle at top right, rgba(26,58,82,0.18), transparent 30%),
        linear-gradient(180deg, #0F1419 0%, #121825 100%);
}

.admin-auth-card {
    width: 100%;
    max-width: 460px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.admin-auth-brand {
    text-align: center;
    margin-bottom: 24px;
}

.admin-auth-brand img {
    height: 68px;
    width: auto;
    margin: 0 auto 16px;
}

.admin-auth-brand h1 {
    margin-bottom: 8px;
}

.admin-auth-brand p {
    color: var(--muted);
}

.admin-auth-form {
    display: grid;
    gap: 16px;
}

.full-width-btn {
    width: 100%;
}

.admin-demo-note {
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--muted);
}

.admin-demo-note code {
    color: #ffd3b8;
}

/* ADMIN DASHBOARD */
.admin-page {
    padding: 48px 0 72px;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255,107,0,0.08), transparent 22%),
        radial-gradient(circle at top right, rgba(26,58,82,0.16), transparent 25%),
        linear-gradient(180deg, #0F1419 0%, #121825 100%);
}

.admin-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-topbar h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.admin-subtext {
    color: var(--muted);
}

.admin-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.admin-stat-card,
.admin-panel-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.admin-stat-card {
    border-radius: 22px;
    padding: 22px;
}

.admin-stat-label {
    color: var(--muted);
    margin-bottom: 8px;
}

.admin-stat-card h2 {
    font-size: 2rem;
}

.admin-main-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.admin-panel-card {
    border-radius: 24px;
    padding: 24px;
}

.admin-panel-card h2 {
    margin-bottom: 18px;
}

.admin-action-list {
    display: grid;
    gap: 12px;
}

.admin-action-item {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform var(--transition), border-color var(--transition);
}

.admin-action-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255,107,0,0.3);
}

.admin-table-wrap {
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-table th {
    color: #ffd3b8;
    font-weight: 700;
}

.admin-table td {
    color: var(--muted);
}

.admin-empty-text {
    color: var(--muted);
}

.nav-admin-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* RESPONSIVE ADMIN */
@media (max-width: 992px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-topbar {
        flex-direction: column;
    }

    .admin-topbar-actions,
    .nav-admin-actions {
        width: 100%;
    }

    .admin-topbar-actions a,
    .nav-admin-actions a {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-auth-card {
        padding: 24px 18px;
    }
}
/* ADMIN FORM / EMPLOYEE CRUD */
.actions-col {
    white-space: nowrap;
}

.table-action-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), opacity var(--transition);
}

.btn-small:hover {
    transform: translateY(-2px);
}

.btn-edit {
    background: rgba(26, 58, 82, 0.85);
    color: white;
}

.btn-delete {
    background: rgba(220, 53, 69, 0.85);
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-active {
    background: rgba(40, 167, 69, 0.14);
    color: #bdeccc;
}

.status-inactive {
    background: rgba(220, 53, 69, 0.14);
    color: #ffd1d7;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-checkbox-row {
    grid-column: 1 / -1;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .table-action-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .table-action-wrap form,
    .table-action-wrap a,
    .table-action-wrap button {
        width: 100%;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions a,
    .form-actions button {
        width: 100%;
    }
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.achievement-image {
    width: 100%;
    max-width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.table-thumb {
    width: 70px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.timeline-date-text {
    margin-top: 10px;
    color: var(--muted);
}
.employee-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid rgba(255,255,255,0.08);
}
.logo {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo img {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}
