/* ===========================
   Fonts
   =========================== */
   
@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/woff/IRANSansX-Bold.woff') format('woff');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/woff/IRANSansX-Medium.woff') format('woff');	 
}

/* ===========================
   Variables & Base Styles
   =========================== */
:root {
    --primary-color: #19615C;
    --primary-dark: #134a47;
    --primary-light: #2a7871;
    --secondary-color: #ff6b35;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
}

[data-aos] {
    pointer-events: auto;
}

/* جلوگیری از overflow در انیمیشن‌های slide */
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="slide-right"],
[data-aos="slide-left"] {
    transform: translate(0, 0) !important;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

.text-success {
    color: var(--primary-color) !important;
}

/* ===========================
   Top Bar
   =========================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-contact a {
    color: white;
    margin-left: 20px;
    display: inline-block;
}

.top-contact a:hover {
    opacity: 0.8;
}

.top-contact i {
    margin-left: 5px;
}

.top-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-login,
.btn-register {
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-login {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-register {
    background: white;
    color: var(--primary-color);
}

.btn-register:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* ===========================
   Main Navigation
   =========================== */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 45px;
    width: auto;
    display:inline-block;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 18px !important;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white !important;
}

.nav-link i {
    font-size: 14px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 3px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-divider {
    margin: 10px 0;
    opacity: 0.1;
}

/* Mobile menu fix */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 97, 92, 0.25);
}

.navbar-collapse {
    z-index: 999;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 14px;
}

.textmenu{
    font-weight: 600;
    font-size: 20px;
    padding-right: 10px;
}

.btn-service {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition);
}

.btn-service:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(25, 97, 92, 0.3);
    color: white;
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: white;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.9;
    margin: 30px 0px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #1a1a1a;
    color: #b8b8b8;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8b8b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact a {
    color: #b8b8b8;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.trust-badges {
    display: flex;
    gap: 10px;
}

.trust-badge {
    width: 80px;
    height: auto;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 10px;
}

.trust-badge:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.copyright {
    color: #b8b8b8;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #b8b8b8;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-nav {
        margin-top: 20px;
        gap: 5px;
    }
    
    .nav-link {
        padding: 12px 15px !important;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    
    /* Fix mobile menu collapse */
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-section .container .align-items-center{
        flex-direction: column-reverse;
    }
    .hero-content{
        margin-top:20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .top-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .top-bar .col-md-6 {
        text-align: center;
    }
    
    .top-contact {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    /* Responsive tables - make them scrollable */
    .comparison-table-wrapper,
    .pricing-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table,
    .pricing-table {
        min-width: 600px;
    }
    
    /* All images responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-image img,
    .feature-image img,
    .what-is-image img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ===========================
   Utilities
   =========================== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background: var(--primary-color) !important;
}

.gradient-text {
    background:#ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ===========================
   Override Bootstrap Color
   =========================== */
.btn-primary, .btn-outline-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important; 
}

.btn-outline-primary:hover {
    background-color: var(--primary-light) !important; 
    color: white !important; 
    border-color: var(--primary-light) !important; 
}
.nav-link {
    color: var(--primary-color) !important;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-dark) !important;
    color: white !important; 
}

.btn-login:hover, .btn-register:hover {
    background-color: var(--primary-dark) !important;
    color: white !important; 
}

#faqAccordionFinland .accordion-header .fas{
    margin-left:1rem;
    margin-right:0px !important;
}
#faqAccordionFinland .accordion-body{
    padding:20px !important;
}
.accordion-body{
    padding:20px !important;
}