@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap');


:root {

    --primary:#0b2a6f;
    --gold:#d4af37;
    --background:#f5f7f8;
    --white:#ffffff;
    --text:#333;

}



* {

    box-sizing:border-box;

}



body {

    margin:0;
    padding:0;

    font-family:'Vazirmatn',Tahoma,Arial;

    direction:rtl;

    background:var(--background);

    color:var(--text);

}



h1,
h2,
h3 {

    color:var(--primary);

}



p {

    line-height:2;

}






/* =====================
        HEADER
===================== */


header {

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 60px;

    border-bottom:3px solid var(--gold);

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}



.logo {

    display:flex;

    align-items:center;

    gap:15px;

}



.logo img {

    width:85px;

    object-fit:contain;

}



.logo h2 {

    margin:0;

}



.logo p {

    margin:5px 0;

    color:#666;

    font-size:14px;

}



nav {

    display:flex;

    gap:10px;

}



nav a {

    text-decoration:none;

    background:var(--primary);

    color:white;

    padding:10px 18px;

    border-radius:8px;

    transition:.3s;

}



nav a:hover {

    background:var(--gold);

    transform:translateY(-3px);

}






/* =====================
          HERO
===================== */


.hero {

    margin:30px;

}



.hero-image {

    height:420px;

    position:relative;

    overflow:hidden;

    border-radius:20px;

}



.hero-image img {

    width:100%;

    height:100%;

    object-fit:cover;

}



.hero-overlay {

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.4);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}



.hero-overlay h1 {

    color:white;

    font-size:48px;

}



.hero-overlay p {

    color:white;

    font-size:20px;

    max-width:750px;

}



.hero-buttons {

    display:flex;

    gap:25px;

    margin-top:30px;

}



.hero-buttons button {

    min-width:170px;

    padding:14px 35px;

    border:none;

    border-radius:10px;

    background:var(--primary);

    color:white;

    cursor:pointer;

}



.hero-buttons .gold-btn {

    background:var(--gold);

}







/* =====================
   سامانه های الکترونیک
===================== */


.quick-access {

    padding:60px 30px;

    text-align:center;

}



.quick-access h2 {

    font-size:32px;

    margin-bottom:35px;

}



.cards-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.access-box {

    width:250px;

    height:260px;

    background:white;

    border-radius:18px;

    padding:25px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    text-decoration:none;

    color:var(--text);

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.access-box:hover {

    transform:translateY(-8px);

}



.access-box img {

    width:70px;

    height:70px;

    object-fit:contain;

    margin-bottom:20px;

}



.access-box h3 {

    font-size:18px;

}



.access-box p {

    font-size:14px;

    color:#555;

}



.access-box span {

    display:inline-block;

    margin-top:15px;

    background:var(--gold);

    color:white;

    padding:6px 15px;

    border-radius:20px;

    font-size:12px;

}
/* =====================
          آمار
===================== */


.statistics {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

    padding:50px 30px;

}



.statistics div {

    width:220px;

    background:white;

    padding:25px;

    text-align:center;

    border-radius:15px;

    border-bottom:4px solid var(--gold);

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.statistics h2 {

    font-size:35px;

    margin:0;

}







/* =====================
      معرفی خزرشهر
===================== */


.about {

    display:flex;

    align-items:center;

    gap:50px;

    background:white;

    margin:60px 30px;

    padding:50px;

    border-radius:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.about-image {

    width:50%;

}



.about-image img {

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:20px;

}



.about-content {

    width:50%;

}



.about-content h2 {

    font-size:32px;

}



.about-content p {

    color:#555;

    text-align:right;

}



.about-content a {

    display:inline-block;

    margin-top:20px;

    background:var(--primary);

    color:white;

    padding:12px 30px;

    border-radius:8px;

    text-decoration:none;

}



.about-content a:hover {

    background:var(--gold);

}








/* =====================
          اخبار
===================== */


.news {

    padding:70px 30px;

    text-align:center;

}



.news h2 {

    font-size:32px;

}



.news-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:30px;

}



.news-card {

    width:330px;

    height:400px;

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.1);

    transition:.3s;

}



.news-card:hover {

    transform:translateY(-8px);

}



.news-card img {

    width:100%;

    height:170px;

    object-fit:cover;

}



.news-content {

    padding:20px;

    text-align:right;

}



.news-content h3 {

    font-size:18px;

}



.news-content p {

    font-size:14px;

    color:#555;

}



.news-content a {

    display:inline-block;

    margin-top:15px;

    background:var(--primary);

    color:white;

    padding:8px 20px;

    border-radius:8px;

    text-decoration:none;

}







/* =====================
       بخش سازمان
===================== */


.services {

    padding:70px 30px;

    text-align:center;

}



.services h2 {

    font-size:32px;

}



.services-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.service-box {

    width:260px;

    height:240px;

    background:white;

    border-radius:18px;

    padding:30px 20px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.service-box:hover {

    transform:translateY(-10px);

}



.service-box img {

    width:65px;

    height:65px;

    object-fit:contain;

    margin-bottom:15px;

}



.service-box p {

    color:#555;

    font-size:14px;

}







/* =====================
          FOOTER
===================== */


footer {

    background:var(--primary);

    color:white;

    padding:60px 30px;

    margin-top:70px;

    text-align:center;

}



.footer-content {

    max-width:1200px;

    margin:auto;

}



.footer-content img {

    width:90px;

    margin-bottom:20px;

}



.footer-content h3 {

    color:white;

    font-size:26px;

}



.footer-content p {

    color:white;

}



.footer-links {

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin:30px 0;

}



.footer-links a {

    background:var(--gold);

    color:white;

    padding:10px 25px;

    border-radius:8px;

    text-decoration:none;

}



.footer-links a:hover {

    background:white;

    color:var(--primary);

}
/* =====================
          فرم‌ها
===================== */


.plate-form,
.feedback-page,
.owner-login,
.finance-page,
.settings-page {

    width:700px;

    max-width:90%;

    margin:50px auto;

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,.12);

}



label {

    display:block;

    margin-top:15px;

    color:var(--primary);

    font-weight:bold;

}



input,
textarea,
select {

    width:100%;

    padding:12px;

    margin-top:8px;

    border:1px solid #ddd;

    border-radius:8px;

    font-family:inherit;

}



textarea {

    height:120px;

}



button {

    background:var(--primary);

    color:white;

    border:none;

    padding:12px 30px;

    border-radius:8px;

    cursor:pointer;

    font-family:inherit;

}



button:hover {

    background:var(--gold);

}





/* فرم دو ستونه */


.form-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}



.plate-form h2 {

    margin-top:35px;

    border-bottom:2px solid var(--gold);

    padding-bottom:10px;

}







/* پیام موفقیت */


.success-message {

    display:none;

    background:#e7f7e7;

    color:#167016;

    padding:20px;

    margin-top:20px;

    border-radius:10px;

    text-align:center;

}



.back-home {

    display:inline-block;

    margin-top:25px;

    color:var(--primary);

    text-decoration:none;

    font-weight:bold;

}



.back-home:hover {

    color:var(--gold);

}







/* =====================
          جدول‌ها
===================== */


table {

    width:90%;

    margin:40px auto;

    border-collapse:collapse;

    background:white;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

}



table th {

    background:var(--primary);

    color:white;

    padding:15px;

}



table td {

    padding:12px;

    text-align:center;

    border-bottom:1px solid #ddd;

}







/* =====================
        پنل مدیریت
===================== */


.admin-layout {

    display:flex;

    min-height:100vh;

    background:var(--background);

}



.admin-sidebar {

    width:280px;

    background:var(--primary);

    color:white;

    padding:30px 20px;

}



.admin-sidebar img {

    width:90px;

    display:block;

    margin:auto;

}



.admin-sidebar h2 {

    color:white;

    text-align:center;

    font-size:20px;

    margin:20px 0 35px;

}



.admin-sidebar ul {

    list-style:none;

    padding:0;

}



.admin-sidebar li {

    margin-bottom:8px;

}



.admin-sidebar a {

    display:block;

    color:white;

    text-decoration:none;

    padding:14px 18px;

    border-radius:10px;

    transition:.3s;

}



.admin-sidebar a:hover {

    background:var(--gold);

}







.admin-content {

    flex:1;

    padding:40px;

}







/* کارت‌های داشبورد */


.dashboard-cards {

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:40px;

}



.dashboard-card {

    background:white;

    height:190px;

    border-radius:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.dashboard-card:hover {

    transform:translateY(-10px);

}



.dashboard-card h3 {

    font-size:22px;

}



.dashboard-card p {

    color:#666;

}
/* =====================
      جزئیات مالک و واحد
===================== */


.owner-details-grid {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-top:40px;

}



.details-box {

    width:auto;

    min-height:260px;

    background:white;

    padding:25px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.details-box h2 {

    color:var(--primary);

    font-size:20px;

    margin-bottom:20px;

}



.details-box p {

    color:#555;

    font-size:14px;

}





/* مدارک */

.document-btn {

    display:inline-block;

    background:#f5f7f8;

    color:var(--primary);

    padding:8px 15px;

    border-radius:8px;

    text-decoration:none;

    font-size:13px;

}



.document-btn:hover {

    background:var(--gold);

    color:white;

}





/* =====================
          مالی
===================== */


.finance-summary {

    text-align:center;

}



.finance-number {

    background:#f5f7f8;

    padding:15px;

    margin:12px 0;

    border-radius:12px;

}



.finance-number span {

    display:block;

    color:#555;

    font-size:14px;

}



.finance-number strong {

    display:block;

    color:var(--primary);

    font-size:26px;

    margin:8px 0;

}



.finance-number small {

    color:#777;

}



.status-success {

    background:#dff5df;

    color:#167016;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

}



.status-danger {

    background:#ffe1e1;

    color:#b00000;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

}







/* کارت مالکین */

.owner-dashboard {

    text-align:center;

    padding:50px;

}



.owner-box {

    display:inline-block;

    width:260px;

    min-height:180px;

    background:white;

    margin:15px;

    padding:25px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

    border-top:4px solid var(--gold);

    vertical-align:top;

}



.owner-box h3 {

    color:var(--primary);

}



.owner-box p {

    color:#555;

}



.owner-box span {

    display:inline-block;

    margin-top:15px;

    background:var(--gold);

    color:white;

    padding:6px 15px;

    border-radius:20px;

    font-size:13px;

}







/* پرداخت آنلاین */

.online-payment-box {

    border-top:4px solid var(--gold);

}







/* =====================
          موبایل
===================== */


@media(max-width:900px){


header {

    flex-direction:column;

    gap:20px;

    padding:20px;

}



nav {

    flex-wrap:wrap;

    justify-content:center;

}



.hero-image {

    height:350px;

}



.hero-overlay h1 {

    font-size:30px;

}



.hero-buttons {

    flex-direction:column;

}



.form-grid {

    grid-template-columns:1fr;

}



.about {

    flex-direction:column;

}



.about-image,
.about-content {

    width:100%;

}



.admin-layout {

    flex-direction:column;

}



.admin-sidebar {

    width:100%;

}



.owner-details-grid {

    grid-template-columns:1fr;

}



.access-box,
.service-box,
.dashboard-card,
.owner-box {

    width:90%;

}



table {

    display:block;

    overflow-x:auto;

}


}
.owner-box {

    text-decoration:none;

    color:inherit;

    cursor:pointer;

}


.owner-box:hover {

    transform:translateY(-8px);

}.status-warning {

    background:#fff3cd;

    color:#856404;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

}
/* اصلاح کارت مالی مالک */

.owner-dashboard .owner-box {

    width:380px;

    min-height:260px;

    display:inline-flex;

    flex-direction:column;

    justify-content:center;

    vertical-align:top;

}


.owner-dashboard .owner-box p {

    line-height:2.2;

}


.owner-dashboard {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}


.owner-dashboard h1,
.owner-dashboard > p {

    width:100%;

}



@media(max-width:900px){

.owner-dashboard .owner-box {

    width:90%;

}

}
/* =====================
      صفحه مالی مالک
===================== */


.finance-dashboard {

    text-align:center;

    padding:50px;

}



.finance-dashboard .owner-box {

    width:360px;

    min-height:260px;

    display:inline-flex;

    vertical-align:top;

    flex-direction:column;

    justify-content:center;

    margin:15px;

}



.finance-dashboard table {

    margin-top:40px;

}



.finance-dashboard h2 {

    margin-top:50px;

}



@media(max-width:900px){

.finance-dashboard .owner-box {

    width:90%;

}

}
.finance-dashboard {

    text-align:center;

    padding:50px;

}



.finance-cards {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.finance-card {

    width:360px;

    min-height:260px;

    background:white;

    padding:30px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.finance-item {

    background:#f5f7f8;

    padding:12px;

    margin:12px 0;

    border-radius:10px;

}



.finance-item span {

    display:block;

    color:#555;

}



.finance-item strong {

    display:block;

    color:var(--primary);

    font-size:22px;

    margin-top:5px;

}



.account-status {

    width:360px;

    margin:30px auto;

    background:white;

    padding:20px;

    border-radius:18px;

    border-top:5px solid var(--gold);

}



.status-warning {

    background:#fff3cd;

    color:#856404;

    padding:6px 15px;

    border-radius:20px;

    font-size:13px;

}



.status-danger {

    background:#ffe1e1;

    color:#b00000;

    padding:6px 15px;

    border-radius:20px;

    font-size:13px;

}



@media(max-width:900px){

.finance-card,
.account-status {

    width:90%;

}

}
.dashboard-card strong {

    font-size:35px;

    color:var(--primary);

    margin:10px;

}


.admin-section {

    background:white;

    padding:25px;

    margin-top:35px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}


.admin-section h2 {

    margin-top:0;

}
.owner-summary {

    width:80%;

    max-width:700px;

    background:white;

    margin:30px auto;

    padding:25px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}


.owner-summary h2 {

    margin-top:0;

}
.finance-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.finance-dashboard h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.finance-intro {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}

.finance-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    align-items: stretch;
    margin-bottom: 35px;
}

.finance-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    border-top: 4px solid var(--gold);
    min-height: 260px;
}

.finance-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 22px;
}

.finance-card p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 18px;
}

.finance-item {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.finance-item span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 6px;
}

.finance-item strong {
    display: block;
    color: var(--primary);
    font-size: 22px;
    font-weight: bold;
}

.online-payment-card {
    text-align: center;
}

.disabled-pay-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #d8d8d8;
    color: #777;
    font-family: inherit;
    cursor: not-allowed;
}

.finance-table-title {
    text-align: center;
    color: var(--primary);
    margin: 10px 0 20px;
}

.table-wrap {
    overflow-x: auto;
}

.account-status {
    margin-top: 0;
}

@media (max-width: 768px) {
    .finance-dashboard {
        padding: 15px;
    }

    .finance-card {
        min-height: auto;
    }

    .finance-item strong {
        font-size: 18px;
    }
}
.finance-top-grid {

    display:grid;

    grid-template-columns:repeat(2, minmax(320px, 420px));

    justify-content:center;

    gap:30px;

}



.finance-card {

    min-height:280px;

}



@media(max-width:900px){

.finance-top-grid {

    grid-template-columns:90%;

}

}
/* اصلاح کارت‌های مالی مالک */
.finance-top-grid {

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:25px;

    justify-content:center;

}



.finance-card {

    width:100%;

    min-height:260px;

    background:white;

    border-radius:18px;

    padding:25px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.finance-card:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}



@media(max-width:1100px){

.finance-top-grid {

    grid-template-columns:repeat(2,1fr);

}

}



@media(max-width:700px){

.finance-top-grid {

    grid-template-columns:1fr;

}

}
/* کارت خودروهای مالک */

.vehicle-card {

    width:300px;

    min-height:280px;

    background:white;

    border-radius:18px;

    padding:25px;

    margin:15px;

    display:inline-block;

    vertical-align:top;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}


.vehicle-card:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}


.vehicle-card h3 {

    margin-top:0;

}



.vehicle-card p {

    margin:8px 0;

    line-height:1.8;

}
.vehicle-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.vehicle-card {

    width:300px;

    min-height:270px;

    background:white;

    border-radius:18px;

    padding:25px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.vehicle-card:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}



.vehicle-card h3 {

    color:var(--primary);

    margin-top:0;

}



.vehicle-card p {

    margin:8px 0;

    line-height:1.8;

}
.request-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.request-card {

    width:300px;

    min-height:250px;

    background:white;

    padding:25px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.request-card:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}



.request-card h3 {

    color:var(--primary);

}



.request-card p {

    line-height:1.8;

}
.news-owner-container {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

}



.news-owner-card {

    width:300px;

    min-height:230px;

    background:white;

    padding:25px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.news-owner-card:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}



.news-owner-card h3 {

    color:var(--primary);

}



.news-owner-card p {

    color:#555;

    line-height:1.8;

}
/* مرتب سازی پنل مالکین */

.owner-dashboard {

    max-width:1200px;

    margin:40px auto;

    text-align:center;

}



.owner-summary {

    width:100%;

    max-width:700px;

    margin:30px auto;

    background:white;

    padding:25px;

    border-radius:18px;

    border-top:5px solid var(--gold);

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.owner-dashboard {

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:25px;

}



.owner-dashboard h1,
.owner-dashboard > p,
.owner-summary {

    flex-basis:100%;

}



.owner-box {

    width:260px;

    min-height:190px;

    margin:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    transition:.3s;

}



.owner-box:hover {

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}
.register-box {

    margin-top:25px;

    background:#f7f7f7;

    padding:15px;

    border-radius:12px;

}



.register-box a {

    display:inline-block;

    margin-top:10px;

    color:var(--primary);

    font-weight:bold;

    text-decoration:none;

}



.register-box a:hover {

    color:var(--gold);

}
.dashboard-cards a {

    text-decoration:none;

    color:inherit;

}


.dashboard-cards a:hover {

    text-decoration:none;

}
/* =================================
   Modern Service Cards Animation
   Khazarshahr Portal
================================= */


.quick-access{
    position:relative;
    overflow:hidden;
}


/* پس زمینه نرم */
.quick-access::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    background:rgba(212,175,55,.08);

    border-radius:50%;

    top:-250px;
    left:-150px;

    animation:moveCircle 10s infinite alternate;

}



@keyframes moveCircle{

from{
    transform:translate(0,0);
}

to{
    transform:translate(80px,40px);
}

}



/* کارت ها */

.access-box{

    position:relative;

    overflow:hidden;

    cursor:pointer;

    transition:
    transform .4s ease,
    box-shadow .4s ease;

}



/* نور روی کارت */

.access-box::after{

    content:"";

    position:absolute;

    width:80px;

    height:200%;

    background:rgba(255,255,255,.35);

    transform:rotate(35deg);

    top:-100%;

    right:-120px;

    transition:.6s;

}




.access-box:hover::after{

    right:120%;

}




.access-box:hover{

    transform:
    translateY(-15px)
    scale(1.03);


    box-shadow:

    0 20px 40px rgba(11,42,111,.18);

}



/* آیکون ها */

.access-box img{

    animation:
    floatingIcon 3s ease-in-out infinite;

}



@keyframes floatingIcon{


0%{

transform:translateY(0);

}


50%{

transform:translateY(-12px);

}


100%{

transform:translateY(0);

}


}




/* عنوان کارت */

.access-box h3{

    transition:.3s;

}



.access-box:hover h3{

    color:#d4af37;

}




/* دکمه داخل کارت */

.access-box span{

    transition:.3s;

}



.access-box:hover span{

    background:#0b2a6f;

    transform:scale(1.1);

}



/* ورود کارت ها هنگام لود */

.access-box{

    animation:

    cardShow .7s ease both;

}



.access-box:nth-child(1){

animation-delay:.1s;

}


.access-box:nth-child(2){

animation-delay:.2s;

}


.access-box:nth-child(3){

animation-delay:.3s;

}


.access-box:nth-child(4){

animation-delay:.4s;

}


.access-box:nth-child(5){

animation-delay:.5s;

}




@keyframes cardShow{


from{

opacity:0;

transform:translateY(40px);

}


to{

opacity:1;

transform:translateY(0);

}


}
/* =========================
   اصلاح اندازه کارت سامانه ها
========================= */


.cards-container{

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:30px;

    max-width:1200px;

    margin:auto;

}



.access-box{

    width:100%;

    height:280px;

    padding:30px 20px;

    border-radius:22px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

}



.access-box img{

    width:80px;

    height:80px;

    margin-bottom:25px;

}



.access-box h3{

    font-size:20px;

    margin-bottom:10px;

}



.access-box p{

    font-size:14px;

    max-width:220px;

}



.access-box span{

    margin-top:18px;

}



@media(max-width:1100px){

.cards-container{

    grid-template-columns:repeat(2,1fr);

}

}



@media(max-width:600px){

.cards-container{

    grid-template-columns:1fr;

}


.access-box{

    height:250px;

}

}
/* =====================================
   Khazarshahr Modern Portal Design
===================================== */


/* هدر جدید */

.main-header{

    position:sticky;
    top:0;
    z-index:999;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(12px);

}



/* دکمه ورود در منو */

.login-nav{

    background:var(--gold)!important;

    color:white!important;

    padding:12px 25px!important;

}


.login-nav:hover{

    background:var(--primary)!important;

}



/* محتوای هیرو */

.hero-content{

    animation:heroShow 1s ease;

}



.hero-badge{

    display:inline-block;

    background:rgba(212,175,55,.9);

    color:white;

    padding:8px 25px;

    border-radius:30px;

    margin-bottom:20px;

    font-size:15px;

}



.hero-content h1{

    color:white;

    font-size:52px;

    line-height:1.5;

    margin:15px 0;

}



.hero-content p{

    color:white;

    font-size:20px;

    max-width:700px;

}



@keyframes heroShow{


from{

opacity:0;

transform:translateY(40px);

}


to{

opacity:1;

transform:translateY(0);

}


}



/* حرکت آرام تصویر هیرو */

.hero-image img{

    animation:zoomHero 15s infinite alternate;

}



@keyframes zoomHero{


from{

transform:scale(1);

}


to{

transform:scale(1.08);

}


}




/* توضیح زیر عنوان ها */

.section-desc{

    color:#666;

    margin-top:-20px;

    margin-bottom:40px;

}



/* کارت سامانه ها */

.access-box{


    min-height:300px!important;

    border-radius:24px!important;


}



.access-box img{


    animation:floating 3s infinite;


}



@keyframes floating{


0%,100%{

transform:translateY(0);

}


50%{

transform:translateY(-12px);

}


}




/* بخش هوشمند */


.smart-section{

    padding:70px 30px;

    text-align:center;

}



.smart-container{


    max-width:1200px;

    margin:auto;


    display:grid;


    grid-template-columns:repeat(4,1fr);


    gap:25px;


}



.smart-card{


    background:white;

    padding:35px 25px;


    border-radius:22px;


    border-top:5px solid var(--gold);


    box-shadow:0 10px 30px rgba(0,0,0,.08);


    transition:.4s;


}



.smart-card:hover{


    transform:translateY(-12px);


    box-shadow:0 20px 40px rgba(0,0,0,.15);


}



.smart-card img{


    width:70px;

    height:70px;

    margin-bottom:20px;


}



.smart-card h3{


    color:var(--primary);

}



/* بخش خدمات */

.service-box{


    transition:.4s;


}



.service-box:hover{


    transform:translateY(-12px);


    box-shadow:0 20px 40px rgba(0,0,0,.15);


}




/* اخبار */

.news-card{


    transition:.4s;


}


.news-card:hover{


    transform:translateY(-12px);


}





/* فوتر */

footer{


    background:

    linear-gradient(

    135deg,

    #0b2a6f,

    #071b48

    );


}



/* موبایل */

@media(max-width:1000px){


.smart-container{


grid-template-columns:repeat(2,1fr);


}



.hero-content h1{

font-size:35px;

}


}



@media(max-width:600px){


.smart-container{


grid-template-columns:1fr;


}



.hero-content h1{

font-size:28px;

}


}
/* ===================================
   Final Visual Upgrade
   Khazarshahr Portal
=================================== */


/* فاصله بخش ها */

section{
    scroll-margin-top:100px;
}



/* اصلاح Hero */

.hero-image{

    height:480px;

}



.hero-overlay{

    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
    );

}



.hero-content h1{

    font-size:58px;

    font-weight:700;

}



.hero-content p{

    font-size:22px;

}



/* کارت سامانه ها */

.cards-container{

    max-width:1250px;

    margin:auto;

}



.access-box{


    min-height:320px!important;

    border-radius:25px!important;

    position:relative;

}



.access-box img{

    width:85px!important;

    height:85px!important;

    margin-bottom:25px;

}



.access-box:hover{

    transform:
    translateY(-15px)
    scale(1.04)!important;

}



/* آمار */

.statistics{

    max-width:1200px;

    margin:40px auto;

}



.statistics div{

    transition:.3s;

}



.statistics div:hover{

    transform:translateY(-10px);

}



/* بخش هوشمند */

.smart-section{

    background:#fff;

    margin-top:50px;

    border-radius:30px;

}



.smart-card{

    min-height:280px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}



/* اخبار */

.news{

    padding-top:90px;

}



.news-card{

    border-radius:25px;

}



/* خدمات */

.service-box{

    min-height:260px;

}



/* فوتر حرفه ای */

footer{

    margin-top:100px;

}



.footer-links a{

    transition:.3s;

}



.footer-links a:hover{

    transform:translateY(-5px);

}





/* موبایل */

@media(max-width:900px){


.hero-image{

height:400px;

}



.hero-content h1{

font-size:35px;

}


}

