:root {
    --primary-blue: #0a2540;     /* سرمه‌ای تیره نماد اعتماد مهندسی */
    --accent-blue: #144b82;      /* آبی تیره ترنسپرنت لوگو */
    --gold: #d4af37;             /* طلایی متالیک لوگو */
    --gold-hover: #b89524;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --text: #334155;
    --text-muted: #64748b;
}

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

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.brand-names {
    display: flex;
    flex-direction: column;
}

.brand-fa {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

.brand-en {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-menu a:not(.btn-nav) {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover:not(.btn-nav) {
    color: var(--gold);
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary-blue);
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6.5rem 0 5rem;
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    min-height: 580px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 880px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.hero-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary-blue);
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    font-family: 'Plus Jakarta Sans', 'Vazirmatn', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* About Section */
.about {
    padding: 5.5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: #eef2f6;
    color: var(--primary-blue);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-right: 3px solid var(--gold);
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
}

.about-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.hl-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.hl-icon {
    font-size: 1.6rem;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 12px;
}

.hl-item h4 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.hl-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.card-supervisor {
    background: linear-gradient(145deg, var(--primary-blue), #081d33);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
}

.card-supervisor h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.sup-role {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 1.2rem;
}

.sup-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.sup-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.sup-contact a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.sup-contact a:hover {
    color: var(--gold);
}

.verification-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px dashed var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Skills Section */
.skills-section {
    padding: 5.5rem 0;
    background: var(--light-bg);
}

.text-center {
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(10, 37, 64, 0.06);
    border-color: var(--gold);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.skill-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.skill-card ul li::before {
    content: "✓ ";
    color: var(--gold);
    font-weight: bold;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(10, 37, 64, 0.08);
}

.project-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}gin-bottom: 1rem;

.proj-category {
    background: rgba(10, 37, 64, 0.08);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border-right: 3px solid var(--gold);
}

.proj-city {
    background: rgba(10, 37, 64, 0.07);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.proj-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', 'Vazirmatn', sans-serif;
}

.project-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.proj-summary {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.proj-tags span {
    background: var(--light-bg);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.featured-project {
    border-right: 4px solid var(--gold);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--primary-blue);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
}

.dark-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border-right-color: var(--gold);
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.c-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.c-icon {
    font-size: 1.5rem;
}

.c-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
}

.c-item a, .c-item span {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-form {
    background: #081d33;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #051424;
    border: 1px solid #1e3a5a;
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.92rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--primary-blue);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #040e1a;
    color: #94a3b8;
    padding: 2.5rem 0;
    border-top: 1px solid #0f2742;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 44px;
    width: auto;
}

.footer-brand strong {
    color: var(--white);
    display: block;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--gold);
}

.copyright {
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    .hero-title {
        font-size: 2rem;
    }
    .about-grid, 
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}