:root {
    --primary-maroon: #570035;
    --maroon-mid: #7d2454;
    --maroon-light: #a23770;
    --maroon-glow: rgba(87, 0, 53, 0.06);
    
    --accent-gold: #DCA146;
    --gold-dark: #835400;
    --gold-glow: rgba(220, 161, 70, 0.3);
    
    --bg-white: #FFFFFF;
    --bg-light: #faf7f8;
    --border-color: rgba(87, 0, 53, 0.1);
    
    --text-heading: #570035;
    --text-body: #4a2e3a;
    --text-light: #8a6b78;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background-color: var(--primary-maroon);
    background-image: linear-gradient(180deg, var(--primary-maroon) 0%, #3a0023 100%);
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 0;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 4px 0 24px rgba(87, 0, 53, 0.15);
    position: relative;
    z-index: 10;
}

.logo-container {
    padding: 0 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.logo-link {
    display: inline-block;
    transition: transform var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: #fff8fa;
}

.brand-highlight {
    color: var(--accent-gold);
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0px;
    margin-top: 2px;
}

.site-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.25rem;
    flex: 1;
}

.nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all var(--transition);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    outline: none;
}

.nav-link i {
    width: 20px;
    font-size: 1.05rem;
    transition: transform var(--transition);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.nav-link:hover i {
    transform: translateX(3px);
}

.nav-link.active {
    background-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 8px 20px var(--gold-glow);
}

.nav-link.active i {
    color: #ffffff;
}

.sidebar-footer {
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.5rem;
}

.sidebar-footer a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
    font-family: var(--font-heading);
}

.sidebar-footer a:hover {
    color: var(--accent-gold);
}

/* Content Area Styles */
.content-area {
    flex: 1;
    padding: 4rem 5rem;
    background-color: var(--bg-white);
    overflow-y: auto;
    max-height: 100vh;
}

.tab-content {
    display: none;
    max-width: 850px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-maroon), var(--accent-gold));
    border-radius: 99px;
}

.policy-text {
    color: var(--text-body);
    font-size: 1rem;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(87, 0, 53, 0.02);
}

.policy-text p {
    margin-bottom: 1.5rem;
}

.policy-text p.updated-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    background: rgba(220, 161, 70, 0.08);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.policy-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

.policy-text li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-text li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.policy-text h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.contact-list li {
    padding-left: 0 !important;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-list li::before {
    display: none !important;
}

.contact-list li strong {
    color: var(--primary-maroon);
    display: inline-block;
    width: 240px;
}

.policy-text a {
    color: var(--maroon-light);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--maroon-light);
    transition: all var(--transition);
}

.policy-text a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

th,
td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
    border-bottom: none;
}

th {
    background-color: var(--maroon-glow);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-heading);
}

td {
    color: var(--text-body);
}

tr:hover td {
    background-color: rgba(87, 0, 53, 0.01);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: rgba(87, 0, 53, 0.15);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-area {
        padding: 3rem;
    }
}

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

    .sidebar {
        width: 100%;
        padding: 1.5rem;
    }

    .logo-container {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1.25rem;
        padding: 0 0 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 1.25rem;
    }

    .logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        border-radius: 12px;
        padding: 4px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .brand-highlight {
        font-size: 1rem;
        margin-top: 1px;
    }

    .site-description {
        display: none;
    }

    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 0 0.5rem;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide for Firefox */
    }

    .nav-menu::-webkit-scrollbar {
        display: none; /* Hide for Chrome/Safari */
    }

    .nav-link {
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .nav-link i {
        font-size: 0.95rem;
    }

    .sidebar-footer {
        display: none;
    }

    .content-area {
        padding: 2rem 1.5rem;
        max-height: none;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .policy-text {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact-list li {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-list li strong {
        width: auto;
    }
}
