/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Google Colors */
    --google-blue: #4285f4;
    --google-red: #ea4335;
    --google-yellow: #fbbc04;
    --google-green: #34a853;
    
    /* Additional Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e8eaed;
    --dark-gray: #5f6368;
    --text-dark: #202124;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    
    /* Layout */
    --navbar-height: 64px;
    --sidebar-width: 280px;
    --right-sidebar-width: 320px;
}

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* Google Color Classes */
.google-blue { color: var(--google-blue); }
.google-red { color: var(--google-red); }
.google-yellow { color: var(--google-yellow); }
.google-green { color: var(--google-green); }

.google-blue-bg { background-color: var(--google-blue); }
.google-red-bg { background-color: var(--google-red); }
.google-yellow-bg { background-color: var(--google-yellow); }
.google-green-bg { background-color: var(--google-green); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 100%;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--google-blue);
}

.nav-logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--google-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--google-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: var(--navbar-height);
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: 500px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    background: var(--google-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #3367d6;
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.hero-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.illustration-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.illustration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.illustration-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--google-blue);
}

.illustration-card:nth-child(2) i { color: var(--google-red); }
.illustration-card:nth-child(3) i { color: var(--google-yellow); }
.illustration-card:nth-child(4) i { color: var(--google-green); }

.illustration-card span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr var(--right-sidebar-width);
    gap: 0;
    max-width: 100%;
}

/* Left Sidebar */
.sidebar {
    position: sticky;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    background: var(--light-gray);
    border-right: 1px solid var(--medium-gray);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.sidebar-nav h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: var(--white);
    color: var(--google-blue);
    box-shadow: var(--shadow);
}

.sidebar-nav a.active {
    background: var(--google-blue);
    color: white;
}

.sidebar-nav i {
    width: 16px;
    text-align: center;
}

/* Main Content */
.content {
    padding: 2rem;
    max-width: 100%;
    background: var(--white);
}

.section {
    margin-bottom: 4rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--medium-gray);
}

.section-icon {
    font-size: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Cards and Grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--google-green);
    font-weight: bold;
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

.professional-table thead {
    background: var(--google-blue);
    color: white;
}

.professional-table th,
.professional-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.professional-table th {
    font-weight: 600;
}

.professional-table tbody tr:hover {
    background: var(--light-gray);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--medium-gray);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.allowed-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--google-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.process-step {
    text-align: center;
    max-width: 120px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.process-arrow {
    color: var(--google-blue);
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* Responsibilities Grid */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.responsibility-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    box-shadow: var(--shadow-hover);
}

.responsibility-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.document-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

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

.document-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.document-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.download-btn {
    background: var(--google-green);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: #137333;
    transform: translateY(-1px);
}

/* Evaluation System */
.evaluation-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.grading-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
}

.grading-info h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grade-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grade-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
}

.grade {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--google-blue);
    min-width: 40px;
}

.range {
    font-weight: 500;
    color: var(--dark-gray);
    min-width: 60px;
}

.desc {
    color: var(--text-dark);
}

/* Conduct Grid */
.conduct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.conduct-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.conduct-card:hover {
    box-shadow: var(--shadow-hover);
}

.conduct-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Right Sidebar */
.right-sidebar {
    position: sticky;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    background: var(--light-gray);
    border-left: 1px solid var(--medium-gray);
    overflow-y: auto;
}

.sidebar-content {
    padding: 2rem 1.5rem;
}

.sidebar-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-container {
    display: flex;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--google-blue);
}

.search-btn {
    background: var(--google-blue);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #3367d6;
}

.resource-section {
    margin-bottom: 2.5rem;
}

.resource-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.video-item:hover {
    background: var(--medium-gray);
    transform: translateY(-1px);
}

.video-item i {
    color: var(--google-red);
    font-size: 1.25rem;
}

.video-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.resource-btn:hover {
    background: var(--google-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.resource-link:hover {
    background: var(--google-blue);
    color: white;
    transform: translateY(-1px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--google-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.scroll-to-top:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--google-blue);
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--google-blue);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    width: 16px;
    color: var(--google-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
    color: #ccc;
}

.footer-bottom i {
    color: var(--google-red);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--dark-gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--google-red);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: var(--sidebar-width) 1fr;
    }
    
    .right-sidebar {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .evaluation-container {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .conduct-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .illustration-card {
        padding: 1.5rem;
    }
    
    .illustration-card i {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .document-item {
        padding: 1.5rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }