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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background-color: #34495e;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background-color: #2c3e50;
    border-bottom-color: #3498db;
}

/* Main Content */
.main {
    padding: 2rem;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.section h3 {
    color: #34495e;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
}

.section h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.section ul {
    margin: 1rem 0 1rem 2rem;
}

.section li {
    margin-bottom: 0.5rem;
}

/* Notice Box */
.notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

/* Highlight Box */
.highlight {
    background-color: #e8f4fd;
    border: 1px solid #bee5eb;
    border-left: 4px solid #3498db;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

/* Security List */
.security-list {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.security-list h4 {
    margin-top: 0;
    color: #2c3e50;
}

.security-list ul {
    margin-left: 1.5rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.info-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-item h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin: 2rem 0;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border: 2px solid #3498db;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    background-color: #3498db;
    color: white;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #2c3e50;
        border-right: none;
    }
    
    .nav-link.active {
        border-bottom-color: #3498db;
    }
    
    .main {
        padding: 1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .nav-link {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .section h2 {
        font-size: 1.3rem;
    }
    
    .info-item {
        padding: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.scroll-top:focus,
.contact-info a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .nav,
    .scroll-top,
    .footer {
        display: none;
    }
    
    .container {
        box-shadow: none;
    }
    
    .header {
        background-color: transparent;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}