/* SIGIS Style - Clean Government Portal */

:root {
    --primary-blue: #0051a8;
    --secondary-blue: #003d7a;
    --light-blue: #0066cc;
    --dark-text: #333333;
    --light-gray: #f8f9fa;
    --border-gray: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Top Header */
.top-header {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-logo {
    max-height: 40px;
    height: auto;
}

.header-user {
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.header-user:hover {
    opacity: 0.8;
}

.header-user i.fa-user-circle {
    font-size: 1.5rem;
    vertical-align: middle;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0 2rem 0;
    background-color: #f0f2f5;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.welcome-logo {
    margin-top: 1rem;
    text-align: center;
}

.welcome-logo img {
    max-width: 400px;
    height: auto;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Services Section */
.services-section {
    padding: 2rem 0 4rem 0;
    background-color: #f0f2f5;
}

/* Clean Card Style - Horizontal Layout */
.card-clean-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-clean {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-clean:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-color: var(--primary-blue);
}

.card-clean-icon {
    background: var(--primary-blue);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card-clean:hover .card-clean-icon {
    background: var(--light-blue);
    transform: scale(1.05);
}

.card-clean-icon i {
    font-size: 2rem;
    color: white;
}

.card-clean-content {
    flex: 1;
}

.card-clean-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 0.5rem 0;
}

.card-clean-link-text {
    font-size: 0.95rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 500;
    transition: all 0.3s;
}

.card-clean:hover .card-clean-link-text {
    color: var(--light-blue);
    padding-left: 5px;
}

.card-clean-link-text i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.card-clean:hover .card-clean-link-text i {
    transform: translateX(3px);
}

/* Footer */
.footer-dtpr {
    background-color: #ffffff;
    border-top: 1px solid var(--border-gray);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: left;
}

.footer-link {
    margin-bottom: 1rem;
}

.footer-link a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-link a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-info {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-logo img {
        max-width: 100%;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .welcome-section {
        padding: 2rem 0 1rem 0;
    }
    
    .services-section {
        padding: 1rem 0 2rem 0;
    }
    
    .header-logo {
        max-height: 30px;
    }
    
    .header-user {
        font-size: 0.85rem;
    }
    
    .card-clean {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .card-clean-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-clean-icon i {
        font-size: 1.5rem;
    }
    
    .card-clean-title {
        font-size: 1.1rem;
    }
    
    .card-clean-link-text {
        font-size: 0.9rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-info {
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-clean {
    animation: fadeInUp 0.5s ease-out;
}

/* Animation delays for staggered effect */
.row > div:nth-child(1) .card-clean {
    animation-delay: 0.1s;
}

.row > div:nth-child(2) .card-clean {
    animation-delay: 0.2s;
}

.row > div:nth-child(3) .card-clean {
    animation-delay: 0.3s;
}
