﻿ /* Reset Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Iran', Tahoma, sans-serif;
        }

        /* Main Structure */
        body {
            background: #f8f9fa;
            color: #333;
            line-height: 1.8;
        }

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

        /* Header Styles */
        .gov-header {
            background: #004d8c;
            padding: 1rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

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

        .org-brand {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .org-logo {
            width: 80px;
            height: auto;
        }

        .org-title {
            color: white;
            font-size: 1.4rem;
            line-height: 1.4;
        }

        /* Login Section */
        .login-wrapper {
            margin: 3rem 0;
        }

        .login-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            padding: 2.5rem;
            max-width: 500px;
            margin: 0 auto;
        }

        .form-title {
            color: #004d8c;
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.6rem;
        }

        .form-control {
            width: 100%;
            padding: 0.9rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }

        .btn-primary {
            background: #004d8c;
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            font-size: 1.1rem;
            transition: opacity 0.3s;
        }

        .btn-primary:hover {
            opacity: 0.9;
        }

        /* Secondary Menu */
        .secondary-nav {
            text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
        }

        .nav-link {
            display: inline-block;
            color: #004d8c;
            text-decoration: none;
            margin: 0 1rem;
            padding: 0.5rem 1rem;
            border-bottom: 2px solid transparent;
            transition: all 0.3s;
        }

        .nav-link:hover {
            border-color: #004d8c;
        }

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

        .service-card {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-title {
            color: #004d8c;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        /* Footer */
        .gov-footer {
            background: #004d8c;
            color: white;
            padding: 2rem 0;
            margin-top: 4rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-link {
            color: white;
            text-decoration: none;
            opacity: 0.9;
        }

        .footer-link:hover {
            opacity: 1;
        }

.service-link {
    text-decoration: none;
    display: block;
    color: inherit;
    transition: all 0.3s ease;
}

.service-link:hover .service-title {
    color: #0066cc; /* تغییر رنگ در حالت hover */
    transform: translateX(5px); /* افکت حرکت کوچک */
}

.service-link:visited {
    color: inherit; /* حفظ رنگ پس از بازدید */
}

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

            .org-brand {
                flex-direction: column;
            }

            .login-card {
                padding: 1.5rem;
            }

            .nav-link {
                display: block;
                margin: 0.5rem 0;
            }
        }


@font-face
{
    font-family: 'Iran';
    src: url('../css/font1/iran.eot?#') , url('../css/font1/iran.woff') , url('../css/font1/iran.ttf');
}
