/* Gov Style Color Palette & Globals */
:root {
    --color-primary: #004b82;
    --color-primary-light: #006bb3;
    --color-secondary: #008744;
    --color-accent: #f9a826;
    --color-background-light: #e3eef8;
    --color-text-dark: #0f172a;
    --color-text-muted: #475569;
    --font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 25px 50px -12px rgba(0, 75, 130, 0.15);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Gov Top Bar */
.gov-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary) 33%, var(--color-accent) 33%, var(--color-accent) 66%, var(--color-primary) 66%, var(--color-primary) 100%);
}

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-area img {
    width: 62px;
    height: auto;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.header-contact {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.header-contact a {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact a:hover,
.header-contact i {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, rgba(0, 135, 68, 0.03), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 75, 130, 0.03), transparent 40%),
        linear-gradient(to bottom, #ffffff, var(--color-background-light));
    padding: 40px 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.hero h2 {
    font-size: 4rem;
    font-weight: 850;
    background: linear-gradient(135deg, var(--color-primary) 0%, #002d4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -2.5px;
    line-height: 1.05;
    animation: slideUp 0.8s ease-out;
}

.hero p {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideUp 1s ease-out;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
    gap: 12px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 75, 130, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 75, 130, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background-color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Services info section */
.info-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: rgba(0, 75, 130, 0.2);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--color-primary);
    color: #fff;
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f9ff;
    color: var(--color-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 32px;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.card p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.link-arrow {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

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

.link-arrow i {
    transition: transform 0.2s;
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* Tutorial Section */
.tutorial-section {
    background-color: var(--color-background-light);
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.tutorial-header {
    text-align: center;
    margin-bottom: 30px;
}

.tutorial-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.tutorial-header p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.tutorial-steps {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

.step-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    flex-shrink: 0;
    background: #ebfbf2;
    padding: 15px;
    border-radius: 12px;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.step-content strong {
    color: var(--color-text-dark);
}

.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 15px;
    border: 1px solid #f1f5f9;
}

.img-border {
    border: 2px solid #e74c3c;
    padding: 4px;
}

.mt-3 {
    margin-top: 20px;
}

.mt-4 {
    margin-top: 30px;
}

.highlight-step {
    background-color: #f8fff9;
    border-color: #bbf7d0;
    box-shadow: 0 10px 30px -5px rgba(0, 135, 68, 0.1);
}

.alert-text {
    color: #e74c3c !important;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

/* Keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animations Trigger */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .step-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-area {
        flex-direction: column;
        gap: 16px;
    }

    .header-contact {
        flex-direction: column;
        gap: 12px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    footer {
        padding: 50px 0 30px;
    }

    .footer-contact a {
        display: block;
        margin: 15px 0;
    }
}