:root {
    --primary-color: #0066cc; /* Modern Blue */
    --secondary-color: #f5f5f5; /* Clean Gray */
    --accent-color: #004494; /* Darker Blue */
    
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #80868b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-hover: #f8f9fa;
    
    --border-color: #dadce0;
    --border-hover: #bdc1c6;
    
    --shadow-light: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-medium: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    --shadow-hover: 0 2px 6px 2px rgba(60, 64, 67, 0.15), 0 8px 24px 4px rgba(60, 64, 67, 0.15);
    
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 12px;
}

[data-theme="dark"] {
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-tertiary: #80868b;
    
    --bg-primary: #202124;
    --bg-secondary: #171717;
    --bg-hover: #2d2e30;
    
    --border-color: #3c4043;
    --border-hover: #5f6368;
    
    --shadow-light: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 8px 24px 4px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-size: 14px;
    letter-spacing: 0.25px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 16px 24px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo{
    width: 36px;
    height: 36px;
}

.sidebar-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.theme-toggle {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: var(--shadow-light);
    height: 40px;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-medium);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-primary);
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    border-right: 1px solid var(--border-color);
    top: 57px; /* Account for header height */
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1000;
    transform: translateX(0); /* Default visible state */
}

.sidebar.collapsed {
    transform: translateX(-100%);
}



.nav-menu {
    list-style: none;
    padding: 0 12px;
}

.nav-item {
    margin-bottom: 2px;

}

.nav-item > a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    outline: none;
    border-radius: var(--radius-medium);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-item > a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active > a {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.nav-item.active > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

/* Collapse arrow */
.nav-item > a .collapse-arrow {
    font-size: 12px;
    transition: transform 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    color: var(--text-tertiary);
}

.nav-item.expanded > a .collapse-arrow {
    transform: rotate(90deg);
}

.sub-nav {
    list-style: none;
    margin: 4px 0 8px 0;
    padding-left: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    max-height: 0;
}

.nav-item.expanded .sub-nav {
    max-height: 500px;
}

.sub-nav .nav-item {
    margin-bottom: 1px;
}

.sub-nav .nav-item a {
    font-size: 13px;
    padding: 6px 12px;
    color: var(--text-tertiary);
    border-radius: var(--radius-small);
    text-decoration: none;
    display: block;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-weight: 400;
}

.sub-nav .nav-item a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.sub-nav .nav-item.active a {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 24px 40px 40px 40px;
    padding-top: 81px; /* Account for header height */
    width: calc(100% - 280px);
    min-height: calc(100vh - 57px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.main-content.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
}

.content-cards {
    max-width: none;
    width: 100%;
}

.main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.content-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    scroll-margin-top: 100px; /* Account for fixed header */
}

.content-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--border-hover);
}

.content-card h2 {
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.content-section {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    max-width: 800px;
}

.content-section:hover {
    box-shadow: var(--shadow-medium);
}

h1 {
    color: var(--text-primary);
    font-size: 32px;
    text-align: left;
    font-weight: bold;
    margin-bottom: -10px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

h2 {
    color: var(--text-primary);
    font-size: 24px;
    margin: 32px 0 16px 0;
    font-weight: 400;
    letter-spacing: -0.25px;
    line-height: 1.33;
}

h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin: 24px 0 12px 0;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 20px 0 8px 0;
    font-weight: 600;
    letter-spacing: 0.15px;
    line-height: 1.5;
}

p {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.25px;
}

ol, ul {
    margin: 16px 0;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.25px;
}

/* Simplified Cards */
.info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 20px;
    margin: 16px 0;
    box-shadow: var(--shadow-light);
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Certificate Card */
.certificate-card {
    background: var(--bg-primary);
    border: 1px solid #e8f5e8;
    border-top: 4px solid #4caf50;
    border-radius: var(--radius-large);
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}

.certificate-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: #c8e6c9;
    transform: translateY(-2px);
}

.certificate-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.certificate-icon {
    width: 48px;
    height: 48px;
    background: #4caf50;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.certificate-content {
    flex: 1;
}

.certificate-label {
    font-size: 12px;
    font-weight: 600;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.certificate-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.certificate-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.certificate-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .certificate-card {
    border-color: #2e5238;
    background: var(--bg-primary);
}

[data-theme="dark"] .certificate-card:hover {
    border-color: #4caf50;
}

.info-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--border-hover);
}

.info-card h4 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15px;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 24px;
    border-radius: var(--radius-large);
    margin: 24px 0;
    box-shadow: var(--shadow-medium);
}

.highlight-section h3 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 500;
}

.highlight-section p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.policy-section {
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    background: var(--bg-hover);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.policy-title {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.15px;
}

.warning-box {
    background: #fef7cd;
    border: 1px solid #f4d03f;
    border-left: 4px solid #f39c12;
    color: #8b4513;
    padding: 20px;
    border-radius: var(--radius-medium);
    margin: 20px 0;
    box-shadow: var(--shadow-light);
}

[data-theme="dark"] .warning-box {
    background: #3e2723;
    border-color: #8d6e63;
    border-left-color: #ff9800;
    color: #ffcc02;
}

.info-box {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-left: 4px solid var(--primary-color);
    color: #1565c0;
    padding: 20px;
    border-radius: var(--radius-medium);
    margin: 20px 0;
    box-shadow: var(--shadow-light);
}

[data-theme="dark"] .info-box {
    background: #1a237e;
    border-color: #3f51b5;
    color: #90caf9;
}

.partner_title>p{
    margin-top: -15px;
    
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        width: 250px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar.collapsed {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 15px;
        padding-top: 60px;
    }
    
    .main-content.sidebar-collapsed {
        margin-left: 0;
        width: 100%;
    }

    .header {
        left: 0;
        right: 0;
        padding: 15px 20px;
        width: 100%;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .sidebar-toggle {
        display: flex;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Focus States */
.nav-item a:focus,
.theme-toggle:focus,
.sidebar-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 1000;
        top: 0;
        height: 100vh;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 16px;
        padding-top: 73px;
    }

    .header {
        left: 0;
        right: 0;
        padding: 16px;
        width: 100%;
    }

    .content-section {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .content-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px;
        margin: 24px 0 12px 0;
    }

    h3 {
        font-size: 18px;
        margin: 20px 0 10px 0;
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Focus States */
.nav-item a:focus,
.theme-toggle:focus,
.sidebar-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading and Animation States */
.content-section {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* All sections should be visible by default */
section {
    display: block;
}

/* Add scroll margin to all elements that can be targeted by anchors */
[id] {
    scroll-margin-top: 100px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 32px 40px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-secondary);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.footer-description {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
}

.footer-copyright strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 16px;
    }
    
    .footer-logo {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .header,
    .sidebar-toggle,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 20px;
    }
}
