/* AI Service (FA) page-specific styles extracted from ai-service-fa.php */

/* Persian fonts */


/* Global Persian font */

/* GLOBAL STYLES & TYPOGRAPHY */
body {
    margin: 0;
    background-color: #020617;
    color: #ffffff;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}
a { color: #66BB6A; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #81C784; text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; }
h1, h2, h3 { margin-bottom: 1rem; font-weight: 700; letter-spacing: normal; text-align: right; }
h1 { font-size: clamp(3rem, 7vw, 5rem); text-align: center; color: #ffffff; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 3rem; margin-bottom: 2rem; border-right: 4px solid #4CAF50; border-left: none; padding-right: 1rem; padding-left: 0; }
h3 { font-size: 1.75rem; font-weight: 600; color: #4CAF50; }

/* CONSULTATION SECTION */
#consultation { background: var(--dark); position: relative; }
.consultation-container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }
.consultation-card { background: rgba(102, 126, 234, 0.05); border: 1px solid rgba(102, 126, 234, 0.2); border-radius: 30px; padding: 60px; backdrop-filter: blur(20px); position: relative; overflow: hidden; }
.consultation-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 1; }
.consultation-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.consultation-header p { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; position: relative; z-index: 1; }
.form-group { position: relative; }
.form-group input, .form-group textarea { width: 100%; padding: 18px 24px; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(102, 126, 234, 0.2); border-radius: 15px; color: #fff; font-size: 1rem; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #667eea; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); }
.form-group textarea { grid-column: 1 / -1; resize: vertical; min-height: 150px; }
.form-submit { position: relative; z-index: 1; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.85rem 2rem; background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 100%); color: #FFFFFF !important; font-weight: bold; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; text-decoration: none !important; box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); }
.btn:hover { background: linear-gradient(90deg, #66BB6A 0%, #4CAF50 100%); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6); color: #FFFFFF !important; text-decoration: none; }

/* HERO */
.hero { text-align: center; padding: 8rem 2rem 6rem; background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, #020617 100%), radial-gradient(circle at top, #1c2738 0%, #020617 70%); box-shadow: 0 0 50px rgba(76, 175, 80, 0.1) inset; }
.hero .tagline { font-size: 1.2rem; font-weight: 600; color: #4CAF50; margin-bottom: 1rem; letter-spacing: normal; text-transform: none; }
.hero p.subtitle { font-size: 1.5rem; margin-bottom: 3rem; color: #A0AEC0; max-width: 900px; margin-left: auto; margin-right: auto; }

/* CORE EXPERTISE */
.services-grid { padding-top: 2rem; padding-bottom: 4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-item { background-color: #161B22; padding: 2.5rem; border-radius: 12px; text-align: right; box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.1), 0 10px 20px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, background-color 0.3s ease; }
.service-item:hover { transform: translateY(-5px); background-color: #1f2731; }
.service-item h3 { margin-top: 0; text-align: right; }
.service-item p { color: #A0AEC0; }

/* AI SERVICES */
.ai-services-section { padding-top: 2rem; padding-bottom: 5rem; background-color: #020617; }
.ai-service-intro { font-size: 1.25rem; color: #A0AEC0; max-width: 900px; margin: 0 auto 3rem; text-align: center; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background-color: #131720; padding: 1.5rem; border-radius: 10px; border-right: 4px solid #4CAF50; border-left: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: background-color 0.3s; text-align: right; }
.service-card:hover { background-color: #161b27; }
.service-card h4 { margin-top: 0; font-size: 1.25rem; color: #E5E7EB; font-weight: 600; text-align: right; }
.service-card p { font-size: 0.95rem; color: #A0AEC0; }
.ai-usp { margin-top: 3rem; padding-top: 2rem; border-top: 1px dashed #161B22; }
.usp-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; list-style: none; padding: 0; text-align: right; }
.usp-list li { color: #4CAF50; font-weight: 500; font-size: 1.1rem; text-align: right; }
.usp-list span { color: #E5E7EB; margin-right: 0.5rem; margin-left: 0; }
.ai-cta-footer { text-align: center; margin-top: 4rem; }
.ai-cta-footer h3 { text-align: center; }

/* FOUNDER */
.founder-card { display: flex; flex-wrap: wrap; margin-top: 4rem; gap: 3rem; align-items: center; padding: 2rem; background-color: #161B22; border-radius: 15px; border-right: 5px solid #4CAF50; border-left: none; text-align: right; }
.founder-avatar { flex-shrink: 0; margin-left: 0; margin-right: 0; }
.founder-avatar img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 4px solid #4CAF50; box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.1); }
.founder-content { flex-grow: 1; text-align: right; }
.founder-title { color: #A0AEC0; font-style: italic; margin-top: -0.5rem; margin-bottom: 1.5rem; }
.founder-card h2 { border-right: none; padding-right: 0; }
.founder-signature { margin-top: 2rem; font-style: italic; font-weight: 500; color: #A0AEC0; }

/* PHILOSOPHY */
.philosophy-section { margin-top: 5rem; }
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.principle-card { padding: 1.5rem; background-color: #0b0f1a; border-radius: 8px; border: 1px solid #161B22; transition: border-color 0.3s; text-align: right; }
.principle-card:hover { border-color: #4CAF50; }
.principle-header { display: flex; align-items: center; margin-bottom: 0.5rem; flex-direction: row-reverse; justify-content: flex-end; }
.principle-icon { font-size: 1.5rem; font-weight: bold; color: #4CAF50; margin-left: 0.75rem; margin-right: 0; line-height: 1; }
.principle-card h3 { margin: 0; color: #E5E7EB; font-size: 1.3rem; text-align: right; }
.principle-card p { color: #A0AEC0; margin-top: 0.5rem; font-size: 0.95rem; }

/* RESPONSIVENESS */
@media(max-width: 900px) {
    .founder-card { flex-direction: column; text-align: center; }
    .founder-content { text-align: center; }
    .founder-avatar { margin-bottom: 1rem; margin-left: auto; margin-right: auto; }
}
@media(min-width: 901px) {
    .founder-card, .founder-content, .service-item, .principle-card,
    .founder-content p, .founder-content h2 { text-align: right !important; }
    .founder-card { flex-direction: row-reverse; }
}


