
:root {
    --primary-color: #2c3e50; /* رنگ اصلی */
    --secondary-color: #3498db; /* رنگ ثانویه */
    --background-color: #f4f7f6;
    --text-color: #333;
    --light-text-color: #7f8c8d;
    --border-color: #e0e6e8;
}



.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin: 0;
}

.section-header p {
    color: var(--light-text-color);
    margin-top: 10px;
}

/* Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.response-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.5s ease;
}

.response-message.success {
    background-color: #d4edda;
    color: #155724;
}

.response-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Contact Info */
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info .icon {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

.contact-info h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--primary-color);
}

.contact-info p, .contact-info a {
    margin: 0;
    color: var(--light-text-color);
    text-decoration: none;
}

/* About Us */
.about-us h2 {
    font-size: 1.8em;
    color: var(--primary-color);
}

.about-us p {
    line-height: 1.8;
    text-align: justify;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 150px;
}

.stat-item h3 {
    font-size: 2.5em;
    margin: 0 0 5px;
    line-height: 1.2;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Social Media */
.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #f0f2f5;
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 8px;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.stats-section {
    margin-top: 60px;
}