/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
    margin-bottom: 16px;
    color: #64748b;
}

/* Government Header */
.government-header {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.official-seal {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, #1d4ed8 0%, #3b82f6 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.logo-text p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.desktop-nav {
    display: flex;
    gap: 24px;
}

.desktop-nav button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1rem;
}

.desktop-nav button:hover {
    color: #bfdbfe;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: color 0.2s;
}

.mobile-nav button:hover {
    color: #bfdbfe;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    padding: 64px 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #0f172a;
    margin-bottom: 24px;
}

.hero-content > p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.official-notice {
    background-color: #fefce8;
    border-left: 4px solid #facc15;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 12px;
}

.notice-icon {
    color: #facc15;
    margin-top: 4px;
    flex-shrink: 0;
}

.notice-content h4 {
    font-weight: 600;
    color: #a16207;
    margin-bottom: 8px;
}

.notice-content p {
    color: #a16207;
    font-size: 0.875rem;
    margin: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
    min-height: 44px;
}

.btn-primary {
    background-color: #1d4ed8;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #1d4ed8;
    border: 1px solid #1d4ed8;
}

.btn-outline:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Stats Section */
.stats-section {
    background-color: white;
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-weight: 700;
    font-size: 2.5rem;
    color: #1d4ed8;
    margin-bottom: 8px;
}

.stat-item p {
    color: #64748b;
    margin: 0;
}

/* Services Section */
.services-section {
    background-color: #f1f5f9;
    padding: 64px 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header h3 {
    color: #0f172a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: #1d4ed8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

.service-card h4 {
    color: #0f172a;
    margin-bottom: 12px;
}

.service-card > p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-card li {
    margin-bottom: 4px;
}

/* Process Section */
.process-section {
    background-color: white;
    padding: 64px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

.step-1 {
    background-color: #1d4ed8;
    color: white;
}

.step-2 {
    background-color: #f1f5f9;
    color: #475569;
}

.step-3 {
    background-color: #e2e8f0;
    color: #0f172a;
}

.step-4 {
    background-color: #f1f5f9;
    color: #64748b;
}

.step-item h4 {
    color: #0f172a;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* About Section */
.about-section {
    background-color: #f1f5f9;
    padding: 64px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content h3 {
    color: #0f172a;
    margin-bottom: 24px;
}

.about-content p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
}

.credentials {
    margin: 32px 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.credential-item svg {
    color: #1d4ed8;
    flex-shrink: 0;
}

.credential-item span {
    color: #0f172a;
}

.documents-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.documents-card h4 {
    color: #0f172a;
    margin-bottom: 24px;
}

.documents-list {
    margin-bottom: 24px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.document-item:hover {
    background-color: #e2e8f0;
}

.document-item svg {
    color: #dc2626;
    flex-shrink: 0;
}

.doc-name {
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 4px;
}

.doc-size {
    font-size: 0.875rem;
    color: #64748b;
}

.info-notice {
    background-color: #dbeafe;
    padding: 16px;
    border-radius: 6px;
    display: flex;
    gap: 12px;
}

.info-icon {
    color: #1d4ed8;
    margin-top: 4px;
    flex-shrink: 0;
}

.info-notice h5 {
    color: #1d4ed8;
    margin-bottom: 4px;
    font-weight: 500;
}

.info-notice p {
    color: #1e40af;
    font-size: 0.875rem;
    margin: 0;
}

/* External Links Section */
.external-links-section {
    background-color: white;
    padding: 64px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.link-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    border-color: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.link-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.link-header svg {
    color: #1d4ed8;
    flex-shrink: 0;
}

.link-header h4 {
    color: #0f172a;
    margin: 0;
    transition: color 0.2s;
}

.link-card:hover .link-header h4 {
    color: #1d4ed8;
}

.link-card p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: #f1f5f9;
    padding: 64px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form-card h4 {
    color: #0f172a;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-group textarea {
    min-height: 96px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.link {
    color: #1d4ed8;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-card h4 {
    color: #0f172a;
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item svg {
    color: #1d4ed8;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item span {
    color: #0f172a;
}

.contact-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-desc {
    font-size: 0.875rem;
    color: #64748b;
}

.security-notice {
    background-color: #fefce8;
    border: 1px solid #fde047;
    padding: 24px;
    border-radius: 6px;
    display: flex;
    gap: 12px;
}

.security-icon {
    color: #ca8a04;
    margin-top: 4px;
    flex-shrink: 0;
}

.security-notice h5 {
    color: #a16207;
    margin-bottom: 8px;
    font-weight: 600;
}

.security-notice p {
    color: #a16207;
    font-size: 0.875rem;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-seal {
    width: 40px;
    height: 40px;
    background-color: #1d4ed8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-name {
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-subtitle {
    font-size: 0.875rem;
    opacity: 0.75;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #93c5fd;
}

.footer-contacts {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contacts > div {
    margin-bottom: 4px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background-color: #1d4ed8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.social-links a:hover {
    background-color: #1e40af;
}

.footer-divider {
    border: none;
    border-top: 1px solid #374151;
    margin: 32px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #93c5fd;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.show {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}