nav{
    margin: 0 0 0 21.2rem;
}
nav ul{
    gap: 35px;
}
.projects-intro {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0b2282, #1e3a8a);
    color: white;
    margin-top: 80px;
}

.projects-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.projects-intro p {
    font-size: 1.2rem;
    color: #e0e7ff;
}

.projects-gallery {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    height: 850px;
    margin-bottom: 20px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 34, 130, 0.9), transparent);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: right;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.project-info h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.project-info p {
    font-size: 1.1rem;
    color: #e0e7ff;
    margin: 0;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #1f2937;
    color: #d1d5db;
    margin-top: 80px;
}

.footer-bottom {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .projects-intro {
        padding: 40px 20px;
    }
    .projects-intro h1 {
        font-size: 2rem;
    }
    .project-item {
        height: 350px;
    }
    .project-info h3 {
        font-size: 1.3rem;
    }
    .project-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-item {
        height: 300px;
    }
}
.project-item {
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-item h2 {
    color: #0b2282;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: right;
    border-bottom: 3px solid #e26413;
    padding-bottom: 5px;
}

.project-content {
    overflow-x: auto;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Vazir', sans-serif;
    direction: rtl;
}

.project-table th {
    background-color: #e26413;
    color: white;
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    border: 1px solid #ddd;
}

.project-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: right;
    font-size: 1rem;
}

.project-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.project-table tr:hover {
    background-color: #eef2f7;
}
.project-item:last-child {
    margin-bottom: 0;
}
.projects-gallery {
    margin-bottom: 40px;
}

.project-content {
    overflow-x: auto;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    margin: 0;
    table-layout: auto;
}

.project-table th,
.project-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: right;
    font-size: 0.95rem;
}

.project-table th {
    background-color: #e26413;
    color: white;
    font-weight: 600;
}

.project-table .section-title {
    background-color: #0b2282 !important;
    color: white !important;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    padding: 10px 0;
}

.project-table tr:nth-child(even):not(.section-title) {
    background-color: #f5f5f5;
}
.main-title {
    background-color: #e26413 !important;
    color: white !important;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
}

.main-title th {
    text-align: center;
}

.table-headers {
    background-color: #0b2282 !important;
    color: white !important;
}

.table-headers th {
    text-align: center;
    font-weight: 600;
    padding: 10px 12px;
}
footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9ca3af;
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    margin: 0 135px 15px 0;
    display: flex;
    align-items: center;
    color: #d1d5db;
}

.contact-info-footer i {
    margin-left: 10px;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 15px 135px 0 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #374151;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4b5563;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}