/* Custom Fonts */
@font-face {
    font-family: 'MyCustomFont';
    src: url('../fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('../fonts/IRANSansWeb(FaNum).woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Core CSS */
* {
    font-family: 'MyCustomFont', sans-serif;
}

body {
    background: linear-gradient(135deg, #74a0c8 0%, #89608f 100%);
    min-height: 100vh;
    direction: rtl;
}

/*
====================================
  Navbar Styles (Updated)
====================================
*/
.navbar-custom {
    /* **** تغییر: پس‌زمینه مانند فوتر شد **** */
    background: rgba(0, 0, 0, 0.7);
    /* **** تغییر: سایه برای پس‌زمینه تیره بهینه‌تر شد **** */
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-section {
    padding: 30px 0;
    color: white;
    text-align: center;
}

/* Translucent Hero Card */
.hero-card {
    background: rgba(255, 255, 255, 0.70);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #555;
}

/* Button styles */
.btn-custom {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 10px;
    border: none;
}

.btn-primary-custom {
    background: #3182CE;
    color: white;
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
    animation: pulse 2s infinite;
}

.btn-primary-custom:hover {
    background: #2b6cb0;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.6);
}

.btn-secondary-custom {
    background: #ED8936;
    color: white;
    box-shadow: 0 5px 15px rgba(237, 137, 54, 0.3);
}

.btn-secondary-custom:hover {
    background: #DD6B20;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(237, 137, 54, 0.6);
}

.btn-light-custom {
    background: #f8f9fa;
    color: #495057;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light-custom:hover {
    background: #e2e6ea;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(49, 130, 206, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(49, 130, 206, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(49, 130, 206, 0);
    }
}

/* پیدا کنید و جایگزین کنید */
.features-section {
    /* **** تغییر: padding عمودی کاهش یافت **** */
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Translucent Feature Cards */
/* پیدا کنید و جایگزین کنید */
.feature-card {
    background: rgba(255, 255, 255, 0.70);
    border-radius: 15px;
    /* **** تغییر: padding داخلی کارت کاهش یافت **** */
    padding: 20px;
    /* **** تغییر: margin عمودی کارت کاهش یافت **** */
    margin: 5px 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3182CE;
}

/* Translucent App Download Card */
/* پیدا کنید و جایگزین کنید */
.app-download {
    background: rgba(255, 255, 255, 0.70);
    border-radius: 15px;
    /* **** تغییر: padding داخلی کارت کاهش یافت **** */
    padding: 25px;
    text-align: center;
    /* **** تغییر: margin عمودی این بخش کاهش یافت **** */
    margin: 15px 0;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.app-download:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.app-download h2, .app-download p {
    color: #333 !important;
}

.app-download .btn-custom {
    background: #3182CE;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
}

.app-download .btn-custom:hover {
    background: #2b6cb0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.6);
}

/*
====================================
  Footer Styles (Updated)
====================================
*/
.footer {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    /* **** تغییر: padding عمودی به حداقل رسید **** */
    padding: 15px 0;
    /* **** تغییر: فاصله بالای فوتر کاهش یافت **** */
    margin-top: 20px;
}

.footer h5 {
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 5px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-social-link i {
    font-size: 1.2rem;
    margin-left: 10px;
    color: white;
}

.footer-social-link:hover {
    color: #ED8936;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 30px 0; /* در حالت موبایل کمی بیشتر باشد */
    }

    .footer .col-md-4 {
        /* **** تغییر: فاصله بین ستون‌های فوتر در حالت موبایل کاهش یافت **** */
        margin-bottom: 20px;
    }
}

/*
====================================
  Styles for Content Cards (About/Contact pages)
====================================
*/
.content-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    color: #333;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.content-card h2 {
    font-weight: 700;
    color: #3182CE; /* استفاده از رنگ اصلی قالب برای یکپارچگی */
}

.content-card .list-group-item {
    background-color: transparent;
    border-color: rgba(0,0,0,0.1);
    padding: 1rem 0.5rem; /* کمی فاصله برای خوانایی بهتر */
}