@font-face {
    font-family:'Digi-Trafic-Bold' ;
    src: url(../font/Digi\ Trafic\ Bold.otf);
}

@media(max-width:800px){
.layout{
flex-direction:column;
}

aside{
width:100%;
}
}


.pre-footer-advanced {
    position: relative;
    padding: 100px 40px;
    background: url("https://images.unsplash.com/photo-1518770660439-4636190af475") center/cover no-repeat;
    overflow: hidden;
}

.pre-footer-advanced .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.features-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(13, 255, 0, 0.2);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transform: translateY(40px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 0 35px rgba(13, 255, 0, 0.35);
}

.feature-card i {
    font-size: 42px;
    color: #0dff00;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(13, 255, 0, 0.7);
    animation: pulse 2.5s infinite;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #bbbbbb;
    line-height: 1.7;
}

/* Animations */
@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}



@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Digi-Trafic-Bold' ;
}

body {
    background: #0b0b0b;
    color: #eaeaea;
    font-family:'Digi-Trafic-Bold' ;

}

/* Hero */
.about-hero {
    position: relative;
    height: 70vh;
    background: url("../img/about.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    color: #0dff00;
    font-size: 48px;
    text-shadow: 0 0 20px rgba(13,255,0,.6);
}

.hero-content p {
    margin-top: 10px;
    color: #aaa;
}

/* Main About */
.about-main {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: #0dff00;
    margin-bottom: 15px;
}

.about-text p {
    line-height: 1.9;
    color: #ccc;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(13,255,0,.25);

}



/* Values */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 80px 40px;
}

.value-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(13,255,0,.2);
    backdrop-filter: blur(10px);
}

.value-card i {
    font-size: 40px;
    color: #0dff00;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(13,255,0,.6);
}

.value-card h3 {
    margin-bottom: 8px;
}

.value-card p {
    color: #aaa;
    font-size: 14px;
}

/* Scroll Animation */
.scroll-anim {
    opacity: 1;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.scroll-anim.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width: 768px) {
    .about-main {
        grid-template-columns: 1fr;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Digi-Trafic-Bold' ;
}

body {
    background-color: #0f0f0f;
    color: #dddddd;
    line-height: 1.9;
    font-family:'Digi-Trafic-Bold' ;
    text-align: center;

}

.about {
    max-width: 800px;
    margin: 80px auto;
    padding: 30px;
}

.about h1 {
    color: #0dff00;
    margin-bottom: 25px;
    font-size: 36px;
}

.about p {
    margin-bottom: 20px;
    font-size: 17px;
}

.highlight {
    margin-top: 30px;
}

.highlight span {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 14px;
    border: 1px solid #0dff00;
    color: #0dff00;
    border-radius: 20px;
    font-size: 14px;
}

:root {
    /* --- حالت پیش‌فرض (تاریک - Dark Mode) --- */
    --bg-color: #1e1e1e;       /* پس‌زمینه اصلی تیره */
    --text-color: #e0e0e0;     /* متن اصلی روشن */
    --bg-nav: #2d2d2d;         /* پس‌زمینه هدر تیره */
    --border-color: #444444;   /* رنگ خطوط جداکننده */
}

/* بازنویسی متغیرها برای حالت روشن (Light Mode) */
body.light {
    --bg-color: #f0f0f0;       /* پس‌زمینه اصلی روشن */
    --text-color: #333333;     /* متن اصلی تیره */
    --bg-nav: #ffffff;         /* پس‌زمینه هدر روشن */
    --border-color: #cccccc;   /* خطوط جداکننده روشن‌تر */
}

/* اعمال متغیرها به عناصر اصلی */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.5s, color 0.5s; /* برای افکت نرم در تغییر تم */
}

/* اطمینان از تغییر رنگ متن در هدر (اگر قبلاً از متغیر استفاده کرده باشید) */
.topNav {
    background-color: var(--bg-nav);
    color: var(--text-color); /* اطمینان از رنگ متن در هدر */
}

/* اطمینان از تغییر رنگ متن در فوتر */
.mainFooter {
    background-color: var(--bg-nav);
    color: var(--text-color);
}

/* اعمال متغیرها به لینک‌ها و سایر المان‌ها */
.topNav a, .mainFooter a, .topNav span {
    color: var(--text-color);
}
/* اطمینان از رنگ خطوط */
.topNav .navLinks li a {
    border-bottom: 1px solid var(--border-color);
}