:root {
    --primary-color: #00a59f;
    --secondary-color: #ffffff;
    --accent-color: #e68b00;
    --dark-color: #1f3d3f;
    --darker-teal: #026561;
    --medium-teal: #03847f;
    --light-teal: #b2cccb;
    --light-green: #94baa1;
    --light-gray: #e6e6e6;
    --dark-gray: #888888;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(31, 61, 63, 0.08);
    --box-shadow-hover: 0 6px 25px rgba(31, 61, 63, 0.08);
}

/*
====================================
۲. استایل پایه و دسکتاپ لوکس
====================================
*/
.main-header {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    direction: rtl;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

/* Desktop Header Style - از 1230px به بعد */
@media (min-width: 1231px) {
    .main-header {
        top: 20px;
        max-width: 1600px;
        margin: 0 auto;
        border-radius: var(--border-radius);
        box-shadow:
            0 10px 40px rgba(0, 165, 159, 0.3),
            0 5px 20px rgba(0, 165, 159, 0.2),
            0 2px 8px rgba(0, 165, 159, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        width: 93.7%;
        /* position: relative; */
    }

    .main-header:hover {
        box-shadow:
            0 15px 50px rgba(0, 165, 159, 0.4),
            0 8px 25px rgba(0, 165, 159, 0.25),
            0 3px 10px rgba(0, 165, 159, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset;
        transform: translateY(-2px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}


.main-header:hover::before {
    opacity: 1;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin: 0 auto;
    padding: 0 50px;
    height: var(--header-height);
    max-width: 1600px;
    position: relative;
    gap: 30px;
}

/* Left section - Hidden on desktop */
.header-left-section {
    display: none;
}

/* Center section - Logo and Desktop Menu */
.header-center-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}

/* Right section - Actions and Hamburger */
.header-right-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* لوگو */
.logo-area {
    position: relative;
}

.logo-area .custom-logo-link img,
.logo-area .logo-img {
    height: 70px;
    width: auto;
}

.logo-area a {
    display: flex;
}

/* منوی اصلی دسکتاپ (کنار لوگو) */
.main-navigation.desktop-menu {
    flex-grow: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.menu-list li {
    position: relative;
}

.menu-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.menu-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: -1;
}

.menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 8px;
}

.menu-list li a:hover {
    color: var(--secondary-color);
    font-weight: 700;
    transform: translateY(-2px);
}

.menu-list li a:hover::before {
    opacity: 0.08;
}

.menu-list li a:hover::after {
    width: 80%;
}


/* آیکون و دکمه */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Search Box - Hidden for now */
.search-container {
    display: none;
}

.search-form {
    display: none;
}

.search-input {
    display: none;
}

.search-button {
    display: none;
}

/* Authentication Buttons - Only signup button visible */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.signup-button:hover {
    color: var(--secondary-color);
}

/* دکمه ثبت نام با افکت مدرن */
.signup-button {
    border-radius: var(--border-radius);
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.3);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.signup-button:hover::before {
    left: 100%;
}

.signup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.5);
}

.signup-button:active {
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -o-transform: translateY(-1px);
}

/* دکمه ورود - Hidden for now */
.login-button {
    display: none;
}

/* User Menu for logged in users */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-greeting {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
}

/* Account Dropdown Container */
.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-button {
    border-radius: var(--border-radius);
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    transition: all var(--transition-speed) ease;
}

.account-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform var(--transition-speed) ease;
}

/* Dropdown Menu */
.account-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    border: 1px solid var(--light-gray);
}

.account-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop hover behavior */
@media (min-width: 768px) {
    .account-dropdown:hover .account-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .account-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-right: 25px;
}

.dropdown-item.logout-item:hover {
    background: #dc3545;
    color: var(--secondary-color);
}

.dashboard-button {
    border-radius: var(--border-radius);
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-speed) ease;
}

.dashboard-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.3);
}

.logout-button {
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--medium-gray);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--medium-gray);
}

.logout-button:hover {
    background: #dc3545;
    color: var(--secondary-color);
    border-color: #dc3545;
    transform: translateY(-2px);
}

/* دکمه همبرگر: در دسکتاپ مخفی است */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 24px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    order: 1;
    margin-right: 15px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.menu-toggle .menu-icon {
    width: 24px;
    height: 24px;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    border-radius: 50%;
    z-index: 1;
}

.menu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 165, 159, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.menu-toggle:hover .menu-icon {
    transform: scale(1.1);
}

.menu-toggle:hover::before {
    opacity: 0.1;
}

.menu-toggle:hover::after {
    width: 100%;
    height: 100%;
}



/* انیمیشن همبرگر هنگام باز شدن سایدبار */
.menu-toggle[aria-expanded="true"] .menu-icon {
    transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"]::before {
    opacity: 0.15;
}

/*
====================================
۳. واکنش‌گرایی (Mobile & Tablet)
====================================
*/

/* Tablet & Mobile Header Content Padding */
@media (max-width: 1230px) {
    .header-content {
        padding: 0 50px;
    }
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 40px;
    }

    .header-left-side {
        gap: 30px;
    }

    .menu-list li a {
        padding: 10px 16px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 25px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 20px;
    }
}

/* Mobile */
@media (max-width: 1230px) {

    /* مخفی کردن منوی دسکتاپ و عناصر دسکتاپ */
    .desktop-menu,
    .search-container,
    .auth-buttons,
    .user-menu,
    .signup-button,
    .login-button,
    .account-dropdown,
    .account-button,
    .dashboard-button,
    .logout-button,
    .user-greeting {
        display: none !important;
    }

    /* تغییر چیدمان هدر در موبایل - سه بخش */
    .header-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-top: 5px;
        height: 70px;
        gap: 15px;
    }

    /* بخش سمت چپ - نمایش فقط در موبایل */
    .header-left-section {
        display: flex;
        justify-self: start;
    }

    /* بخش وسط - لوگو */
    .header-center-section {
        justify-self: center;
        gap: 0;
    }

    .logo-area .custom-logo-link img,
    .logo-area .logo-img {
        height: 60px;
    }

    /* بخش سمت راست - منو همبرگر */
    .header-right-section {
        justify-self: end;
        gap: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .service-icon {
        font-size: 20px;
        padding: 10px;
    }
}

/*
====================================
۴. سایدبار منوی موبایل مدرن
====================================
*/

.mobile-sidebar,
.mobile-sidebar-overlay {
    display: none;
}

.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--secondary-color);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
    border-left: 3px solid var(--primary-color);
}

.mobile-sidebar.is-open {
    display: block;
    right: 0;
}

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1500;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.mobile-sidebar.is-open+.mobile-sidebar-overlay {
    display: block;

}

/* هدر سایدبار */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 165, 159, 0.1);
    background: var(--primary-color);
    background-size: 200% 200%;
}


.sidebar-logo-area img {
    height: 50px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close .close-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all var(--transition-speed) ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-close:hover .close-icon {
    transform: rotate(90deg);
    filter: brightness(0) invert(1);
}

.sidebar-close:active .close-icon {
    transform: scale(0.9);
}

.sidebar-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* منوی سایدبار */
.sidebar-navigation {
    padding: 20px 0;
}

.sidebar-navigation .menu-list {
    flex-direction: column;
    gap: 0;
}

.sidebar-navigation .menu-list li {
    margin: 0;
}

.sidebar-navigation .menu-list li a {
    color: var(--dark-color);
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0;
    position: relative;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-navigation .menu-list li a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
    z-index: -1;
}

.sidebar-navigation .menu-list li a:hover {
    color: var(--primary-color);
    padding-right: 30px;
}

.sidebar-navigation .menu-list li a:hover::before {
    width: 4px;
}

/* دکمه ثبت نام در سایدبار */
.sidebar-signup-button {
    margin: 20px;
    padding: 15px 25px;
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    display: block;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.sidebar-signup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-signup-button:hover::before {
    left: 100%;
}

.sidebar-signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.5);
}

/*
====================================
۵. افکت‌های اضافی و بهینه‌سازی
====================================
*/

/* اسکرول بار سفارشی برای سایدبار */
.mobile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.sidebar-navigation .menu-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar-navigation .menu-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-navigation .menu-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.sidebar-navigation .menu-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.sidebar-navigation .menu-list li:nth-child(5) {
    animation-delay: 0.5s;
}


/* افکت موج برای دکمه‌ها */
.signup-button,
.sidebar-signup-button {
    position: relative;
    overflow: hidden;
}

.signup-button::after,
.sidebar-signup-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    -webkit-transition: width 0.6s, height 0.6s;
    -moz-transition: width 0.6s, height 0.6s;
    -ms-transition: width 0.6s, height 0.6s;
    -o-transition: width 0.6s, height 0.6s;
}

.signup-button:active::after,
.sidebar-signup-button:active::after {
    width: 300px;
    height: 300px;
}

/* بهبود عملکرد انیمیشن‌ها */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* کاهش حرکت برای کاربرانی که ترجیح می‌دهند */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/*
====================================
Mobile Bottom Navigation Bar
====================================
*/

/* Mobile Bottom Navigation - Hidden on desktop */
.mobile-bottom-nav {
    display: none;
}

/* Mobile Bottom Navigation Styles */
@media (max-width: 1230px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 15px;
        left: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 6px 0;
        box-shadow: 0 -8px 32px rgba(0, 165, 159, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        z-index: 1000;
        border-radius: 8px;
        margin: 0;
        width: calc(100% - 30px);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--dark-color);
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        min-width: 70px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
        -o-border-radius: 8px;
    }

    .account-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
        height: 100%;
    }

    .nav-icon {
        width: 26px;
        height: 26px;
        margin-bottom: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-label {
        font-size: 11px;
        font-weight: 600;
        text-align: center;
        color: var(--dark-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    /* Mobile dropdown menu */
    .mobile-dropdown-menu {
        position: absolute;
        bottom: 100%;
        right: 50%;
        transform: translateX(50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 8px;
        box-shadow: 0 -12px 40px rgba(0, 165, 159, 0.2);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        border: 2px solid rgba(0, 165, 159, 0.2);
        margin-bottom: 12px;
    }

    .mobile-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
    }

    .mobile-dropdown-menu .dropdown-item {
        display: block;
        padding: 14px 20px;
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(0, 165, 159, 0.1);
        position: relative;
    }

    .mobile-dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
        border-radius: 0 0 8px 8px;
    }

    .mobile-dropdown-menu .dropdown-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .mobile-dropdown-menu .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(0, 165, 159, 0.1), rgba(76, 175, 80, 0.05));
        color: var(--primary-color);
        padding-right: 24px;
        transform: translateX(-2px);
        box-shadow: inset 0 0 0 1px rgba(0, 165, 159, 0.2);
    }

    .mobile-dropdown-menu .dropdown-item.logout-item:hover {
        background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
        color: #dc3545;
        box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.2);
    }

    /* Add bottom padding to body to prevent content from being hidden behind the nav */
    body {
        padding-bottom: 110px;
    }
}

.service-icon {
    color: #e0e0e0;
}

.menu-toggle {
    color: #e0e0e0;
}

/*
====================================
۶. بهبودهای اضافی همبرگر منو
====================================
*/

/* انیمیشن پالس برای همبرگر */


/* بهبود لمس برای موبایل */
@media (max-width: 768px) {
    .menu-toggle {
        min-width: 48px;
        min-height: 48px;
        touch-action: manipulation;
    }

    .menu-toggle:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .menu-toggle .menu-icon {
        width: 26px;
        height: 26px;
    }
}

/* افکت اضافی برای آیکون SVG */
.menu-toggle .menu-icon {
    will-change: transform, filter;
}


/* انیمیشن بارگذاری برای سایدبار */
.mobile-sidebar.is-opening {
    right: 0;
    opacity: 1;
}


/*
====================================
۷. Hero Section
====================================
*/

.hero-section {
    background: transparent;
    padding: 80px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: -14.976px 43.494px 42px 0px rgba(0, 165, 159, 0.4);
}



.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 50px;
    padding-top: 30px;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
    direction: rtl;
}

/* Left side - Sarv SVG */
.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sarv-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Desktop animations - only for screens larger than 1024px */
@media (min-width: 1025px) {
    .sarv-container {
        /* Animation: slide in from left, then float like mobile */
        animation: slideInFromLeft 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, desktopSarvFloat 3s ease-in-out 2.5s infinite;
        opacity: 0;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes desktopSarvFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.01);
    }
}

.sarv-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 165, 159, 0.2));
    transition: transform 0.1s ease-out;
    will-change: transform;
}


/* Right side - Text content */
.hero-right {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}


/* HAM RASTA Text */


.ham-rasta-text {
    margin-bottom: -10px;
    display: block;
    background-color: transparent;
    font-weight: bold !important;
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    background-image: linear-gradient(180deg, #DDA34561 0%, #ffffff 110%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 !important;
    color: var(--primary-color) !important;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;

}

.hero-sub-title {
    font-size: 3rem;
    color: var(--primary-color) !important;
}

.hero-sub-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 50%;
    margin-top: 5px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 8px;
}

.hero-description {
    font-size: 2rem;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-description-bold {
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-primary-button {
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.3);
    border: none;
    cursor: pointer;
}

.hero-primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-primary-button:hover::before {
    left: 100%;
}

.hero-primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.5);
    color: white;
}

.hero-secondary-button {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
    -webkit-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-secondary-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
}

/*
====================================
۸. Animated Slogan Section
====================================
*/

.animated-slogan-section {
    background: transparent;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 1024px) {
    .animated-slogan-section {
        padding-top: 30px !important;
    }
}

.slogan-container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slogan-track {
    display: flex;
    white-space: nowrap;
}

.slogan-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PelakFA', sans-serif;
    font-size: 2rem;
    color: #00A59F;
    filter: none;
    padding: 0 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.slogan-word {
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

/* Marquee Animation - for all devices including desktop */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Desktop: Use marquee animation like mobile */
@media (min-width: 1025px) {
    .slogan-container {
        padding: 0;
    }

    .slogan-track {
        animation: marqueeScroll 30s linear infinite;
        display: flex;
        width: max-content;
        gap: 0;
    }

    .slogan-text {
        font-size: 2rem;
        padding: 0 40px;
        white-space: nowrap;
        flex-shrink: 0;
        display: flex;
    }
}

/* Responsive: Slogan */
@media (max-width: 1024px) {
    .slogan-container {
        padding: 0;
    }

    .slogan-track {
        animation: marqueeScroll 25s linear infinite;
        display: flex;
        width: max-content;
        gap: 0;
    }

    .slogan-text {
        font-size: 2.2rem;
        padding: 0 40px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .slogan-track {
        animation: marqueeScroll 20s linear infinite;
    }

    .slogan-text {
        font-size: 1.8rem;
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .slogan-track {
        animation: marqueeScroll 18s linear infinite;
    }

    .slogan-text {
        font-size: 1.3rem;
        padding: 0 25px;
    }
}

/*
====================================
۹. Professional Sign-up Invitation Section
====================================
*/

.signup-invitation-section {
    background: transparent;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.signup-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 50px;
    position: relative;
    z-index: 1;
}

/* Animated Background Elements */

/* Title Section - Top Center */
.signup-title-section {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    padding-top: 10px;  
    transform: translateX(500px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -webkit-transform: translateX(500px);
    -moz-transform: translateX(500px);
    -ms-transform: translateX(500px);
    -o-transform: translateX(500px);
    -webkit-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -moz-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -ms-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -o-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.signup-title-section.title-animated {
    opacity: 1;
    animation: signupTitleFloat 3s ease-in-out infinite;
}

@keyframes signupTitleFloat {
    0%, 100% {
        transform: translateX(0) translateY(0px) scale(1);
    }
    50% {
        transform: translateX(0) translateY(-6px) scale(1.01);
    }
}

.signup-main-title {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Content Grid */
.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    direction: rtl;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.signup-content.content-animated {
    opacity: 1;
    transform: translateX(0);
}

/* Right side - Visual Container */
.signup-right-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Left side - Text Content */
.signup-left-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.signup-visual-container {
    position: relative;
    width: 100%;
    max-width: 910px;
    height: 100%;
    min-height: 780px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Enhanced Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.hub-core {
    width: 182px;
    height: 182px;
}

.hub-pulse {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 165, 159, 0.4) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.hub-pulse-2 {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 165, 159, 0.2) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite reverse;
}

.hub-icon {
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hub-sarv-logo {
    width: 182px;
    height: 182px;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(0, 165, 159, 0.6));
}

/* Orbit Rings for Connection */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px dashed rgba(0, 165, 159, 0.3);
    pointer-events: none;
    z-index: 1;
}

.orbit-ring-1 {
    width: 416px;
    height: 416px;
    animation: rotateRing 20s linear infinite;
}

.orbit-ring-2 {
    width: 624px;
    height: 624px;
    animation: rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border: 3px solid rgba(0, 165, 159, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

/* Fixed Position Elements */
.fixed-orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

/* Position items exactly on orbit rings */
.growth-item {
    top: calc(50% - 147px);
    /* 208px * sin(45°) ≈ 147px */
    right: calc(42% - 147px);
}

.heart-item {
    bottom: calc(50% - 147px);
    /* 208px * sin(45°) ≈ 147px */
    left: calc(42% - 147px);
}

.award-item {
    top: calc(50% - 147px);
    left: calc(42% - 147px);
}

.success-item {
    bottom: calc(50% - 147px);
    right: calc(42% - 147px);
}

.innovation-item {
    top: calc(45% - 312px);
    /*Radiusofring-2*/
    right: calc(60% - 147px);
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.orbit-icon {
    width: 39px;
    height: 39px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px;
    box-shadow: 0 1px 3px rgba(31, 61, 63, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.orbit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fixed-orbit-item:hover .orbit-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(31, 61, 63, 0.2);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.orbit-label {
    font-size: 1.17rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.orbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 165, 159, 0.3) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Enhanced Data Flow Animation */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.data-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color);
    animation: dataFlow 3s ease-in-out infinite;
}

.point-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.point-2 {
    top: 35%;
    right: 15%;
    animation-delay: 0.5s;
}

.point-3 {
    bottom: 25%;
    left: 40%;
    animation-delay: 1s;
}

.point-4 {
    top: 60%;
    left: 10%;
    animation-delay: 1.5s;
}

.point-5 {
    bottom: 40%;
    right: 30%;
    animation-delay: 2s;
}

.point-6 {
    top: 80%;
    right: 45%;
    animation-delay: 2.5s;
}

@keyframes dataFlow {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Connection Network */
.connection-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}


/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.particle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 2s;
}

.particle-4 {
    top: 60%;
    right: 40%;
    animation-delay: 3s;
}

.particle-5 {
    bottom: 50%;
    left: 60%;
    animation-delay: 4s;
}

.particle-6 {
    top: 80%;
    right: 60%;
    animation-delay: 5s;
}

.particle-7 {
    top: 10%;
    right: 70%;
    animation-delay: 1.5s;
}

.particle-8 {
    bottom: 20%;
    left: 80%;
    animation-delay: 3.5s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.6;
    }
}

.energy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 165, 159, 0.3);
    animation: energyPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 600px;
    height: 600px;
    animation-delay: 0s;
}

.ring-2 {
    width: 650px;
    height: 650px;
    animation-delay: 1.5s;
}

.ring-3 {
    width: 700px;
    height: 700px;
    animation-delay: 3s;
}

@keyframes energyPulse {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Right side - Enhanced Text content */
.signup-right {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.signup-text-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.signup-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.2), rgba(230, 139, 0, 0.2));
    border: 1px solid rgba(0, 165, 159, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
    font-family: 'PelakFA', sans-serif;
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent-color), #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    font-size: 2.5rem;
    color: var(--primary-color);
}


/* Journey Section */
.signup-journey {
    width: 100%;
    height: 100%;
    min-height: 780px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.title-highlight {
    color: var(--accent-color);
    display: inline-block;
    margin-right: 10px;
}

/* Journey Steps */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 18px 20px;
    background: white;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.1), rgba(230, 139, 0, 0.1));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.step-card:hover {
    transform: translateX(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 165, 159, 0.25);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.3);
    z-index: 1;
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    display: inline-block;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-size: 1.15rem;
    margin-top: 5px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: justify;
    line-height: 1.5;
    margin: 0;
}

.step-connector {
    position: absolute;
    right: 35px;
    bottom: -28px;
    width: 2px;
    height: 28px;
    background: var(--primary-color);
    z-index: -1;
}

.step-card:last-child .step-connector {
    display: none;
}

.journey-cta {
    text-align: center;
}

.journey-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    width: -webkit-fill-available;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(230, 139, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.journey-button:hover .button-glow {
    left: 100%;
}

.journey-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 139, 0, 0.5);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.button-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.journey-button:hover .button-icon {
    transform: translateX(5px);
}

.journey-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.journey-note-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Signup Features */
.signup-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    position: relative;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(0, 165, 159, 0.15);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.2);
    border-color: var(--primary-color);
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'PelakFA', sans-serif;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    margin-top: 0;
}

.feature-text {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Signup CTA */
.signup-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.signup-note {
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: center;
    margin: 0;
}

/* Stats Section */
.signup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 23px;
    position: relative;
}

/* Border حذف شده */
.stat-item::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(230, 139, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 250, 0.9));
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid rgba(0, 165, 159, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 165, 159, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.08);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.2), rgba(76, 175, 80, 0.1));
    border-right-color: var(--accent-color);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #ff9500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.6);
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.benefit-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-text {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 400;
}

/* Enhanced Buttons */
.signup-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.signup-primary-button {
    background: linear-gradient(135deg, var(--accent-color), #ff9500);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'PelakFA', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.4);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -ms-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: -webkit-fill-available;
}

.signup-primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.signup-primary-button:hover::before {
    left: 100%;
}

.signup-primary-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.6);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.signup-primary-button:hover .button-arrow {
    transform: translateX(5px);
}

.signup-primary-button svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.signup-primary-button:hover svg {
    transform: translateX(5px);
}

.signup-secondary-button {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'PelakFA', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.signup-secondary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.signup-secondary-button:hover::before {
    width: 100%;
}

.signup-secondary-button:hover {
    color: var(--secondary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.4);
    border-color: transparent;
}

.button-text {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
/* Responsive: Signup Section - Tablet */
@media (max-width: 1024px) {
    .signup-invitation-section {
        padding: 80px 0;
    }

    .signup-container {
        padding: 0 40px;
        overflow: hidden;
    }

    .signup-main-title {
        max-width: 420px;
    }

    .signup-title-section {
        margin-bottom: 50px;
    }

    .signup-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0;
    }

    .signup-right-visual {
        height: 420px;
    }

    .signup-visual-container {
        max-width: 450px;
        width: 100%;
        height: 450px;
        margin: 0 auto;
    }

    .hub-core {
        width: 140px;
        height: 140px;
    }

    .hub-sarv-logo {
        width: 100px;
        height: 100px;
    }

    .orbit-ring-1 {
        width: 280px;
        height: 280px;
    }

    .orbit-ring-2 {
        width: 420px;
        height: 420px;
    }

    .orbit-icon {
        width: 28px;
        height: 28px;
        padding: 8px;
        border: 1px solid var(--primary-color);
        box-shadow: 0 1px 3px rgba(31, 61, 63, 0.1);
    }

    .orbit-icon img,
    .orbit-icon svg {
        width: 20px;
        height: 20px;
    }

    .orbit-label {
        font-size: 0.8rem;
    }

    .growth-item {
        top: calc(50% - 99px);
        /* 140px * sin(45°) ≈ 99px for ring-1 @ 280px */
        right: calc(40% - 99px);
    }

    .heart-item {
        bottom: calc(50% - 99px);
        left: calc(40% - 99px);
    }

    .award-item {
        top: calc(50% - 99px);
        left: calc(40% - 99px);
    }

    .success-item {
        bottom: calc(50% - 99px);
        right: calc(40% - 99px);
    }

    .innovation-item {
        top: calc(45% - 210px);
        /* Radius of ring-2 @ 420px */
        left: 50%;
        transform: translateX(-50%);
    }

    .signup-journey {
        min-height: 450px;
    }

    .journey-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .journey-steps {
        gap: 12px;
        margin-bottom: 30px;
    }

    .step-card {
        grid-template-columns: 60px 1fr;
        padding: 15px 18px;
        gap: 15px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .step-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }

    .step-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .step-desc {
        font-size: 0.85rem;
    }

    .step-connector {
        right: 30px;
        bottom: -12px;
        height: 12px;
    }

    .journey-cta {
        margin-top: 25px;
    }

    .journey-button {
        padding: 16px 35px;
        font-size: 1.05rem;
    }

    .button-icon {
        width: 22px;
        height: 22px;
        margin-left: 8px;
    }

    .signup-features {
        gap: 20px;
        margin-bottom: 35px;
    }

    .feature-card {
        padding: 22px;
    }

    .feature-number {
        font-size: 2.2rem;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    .signup-primary-button {
        padding: 16px 32px;
        font-size: 1.05rem;
    }

    .signup-note {
        font-size: 0.9rem;
    }
}

/* Responsive: Signup Section - Mobile */
@media (max-width: 768px) {
    .signup-invitation-section {
        padding: 60px 0;
    }

    .signup-container {
        padding: 0 25px;
    }

    .signup-main-title {
        max-width: 350px;
    }

    .signup-title-section {
        margin-bottom: 40px;
    }

    .signup-content {
        gap: 45px;
    }

    .signup-right-visual {
        height: 330px;
    }

    .signup-visual-container {
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .hub-core {
        width: 100px;
        height: 100px;
    }

    .hub-sarv-logo {
        width: 70px;
        height: 70px;
    }

    .orbit-ring-1 {
        width: 220px;
        height: 220px;
    }

    .orbit-ring-2 {
        width: 330px;
        height: 330px;
    }

    .orbit-icon {
        width: 34px;
        height: 34px;
        padding: 9px;
        border: 1px solid var(--primary-color);
        box-shadow: 0 1px 3px rgba(31, 61, 63, 0.1);
    }

    .orbit-icon img,
    .orbit-icon svg {
        width: 22px;
        height: 22px;
    }

    .orbit-label {
        font-size: 0.7rem;
    }

    .growth-item {
        top: calc(50% - 78px);
        /* 110px * sin(45°) ≈ 78px for ring-1 @ 220px */
        right: calc(18% - 78px);
    }

    .heart-item {
        bottom: calc(39% - 78px);
        left: calc(40% - 78px);
    }

    .award-item {
        top: calc(50% - 78px);
        left: calc(18% - 78px);
    }

    .success-item {
        bottom: calc(39% - 78px);
        right: calc(35% - 78px);
    }

    .innovation-item {
        top: calc(46% - 165px);
        /* Radius of ring-2 @ 330px */
        left: 49%;
        transform: translateX(-50%);
    }

    .data-point {
        width: 6px;
        height: 6px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }

    .signup-journey {
        min-height: 350px;
    }

    .journey-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .journey-steps {
        gap: 10px;
        margin-bottom: 25px;
    }

    .step-card {
        grid-template-columns: 55px 1fr;
        padding: 14px 16px;
        gap: 12px;
    }

    .step-card:hover {
        transform: translateX(-5px);
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .step-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 4px;
    }

    .step-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .step-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .step-connector {
        right: 27px;
        bottom: -10px;
        height: 10px;
    }

    .journey-cta {
        margin-top: 0px !important;
    }

    .journey-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .button-icon {
        width: 20px;
        height: 20px;
        margin-left: 6px;
    }

    .journey-note {
        font-size: 0.8rem;
        margin-top: 12px;
    }

    .journey-note-icon {
        width: 18px;
        height: 18px;
    }

    .signup-features {
        gap: 18px;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-number {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .feature-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .signup-cta {
        gap: 15px;
    }

    .signup-primary-button {
        padding: 15px 28px;
        font-size: 1rem;
    }

    .signup-note {
        font-size: 0.85rem;
    }
}

/* Responsive: Signup Section - Small Mobile */
@media (max-width: 480px) {
    .signup-invitation-section {
        padding: 50px 0;
    }

    .signup-container {
        padding: 0 20px;
    }

    .signup-main-title {
        max-width: 280px;
    }

    .signup-title-section {
        margin-bottom: 35px;
    }

    .signup-content {
        gap: 35px;
    }

    .signup-right-visual {
        height: 270px;
    }

    .signup-visual-container {
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .hub-core {
        width: 80px;
        height: 80px;
    }

    .hub-sarv-logo {
        width: 55px;
        height: 55px;
    }

    .orbit-ring-1 {
        width: 180px;
        height: 180px;
    }

    .orbit-ring-2 {
        width: 260px;
        height: 260px;
    }

    .orbit-icon {
        width: 30px;
        height: 30px;
        padding: 8px;
        border: 1px solid var(--primary-color);
        box-shadow: 0 1px 3px rgba(31, 61, 63, 0.1);
    }

    .orbit-icon img,
    .orbit-icon svg {
        width: 18px;
        height: 18px;
    }

    .orbit-label {
        font-size: 0.65rem;
    }

    .growth-item {
        top: calc(50% - 64px);
        /* 90px * sin(45°) ≈ 64px for ring-1 @ 180px */
        right: calc(18% - 64px);
    }

    .heart-item {
        bottom: calc(39% - 64px);
        left: calc(40% - 64px);
    }

    .award-item {
        top: calc(50% - 64px);
        left: calc(18% - 64px);
    }

    .success-item {
        bottom: calc(39% - 64px);
        right: calc(35% - 64px);
    }

    .innovation-item {
        top: calc(46% - 130px);
        /* Radius of ring-2 @ 260px */
        left: 49%;
        transform: translateX(-50%);
    }

    .data-point {
        width: 5px;
        height: 5px;
    }

    .particle {
        width: 2px;
        height: 2px;
    }

    .signup-journey {
        min-height: 280px;
    }

    .journey-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .title-gradient,
    .title-highlight {
        display: block;
        text-align: center;
    }

    .journey-steps {
        gap: 8px;
        margin-bottom: 20px;
    }

    .step-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 8px;
        text-align: center;
    }

    .step-card:hover {
        transform: translateY(-3px);
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin: 0 auto;
    }

    .step-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
    }

    .step-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .step-desc {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .step-connector {
        display: none;
    }

    .journey-cta {
        margin-top: 0px !important;
    }

    .journey-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .button-icon {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }

    .button-content {
        justify-content: center;
    }

    .journey-note {
        font-size: 0.75rem;
        margin-top: 10px;
    }

    .journey-note-icon {
        width: 16px;
        height: 16px;
    }

    .signup-features {
        gap: 15px;
        margin-bottom: 25px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-number {
        font-size: 1.8rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .signup-cta {
        gap: 12px;
    }

    .signup-primary-button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .signup-note {
        font-size: 0.8rem;
    }
}

/*
====================================
۱۰. Services Section
====================================
*/

.services-section {
    background: transparent;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: visible;
}



.services-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-intro-text {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.services-intro-paragraph {
    font-size: 1.2rem;
    color: var(--dark-color);
    line-height: 1.8;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
    direction: rtl;
}

.services-title-image {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    font-family: 'PelakFA', sans-serif;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(230, 139, 0, 0.5);
}

.services-subtitle {
    font-size: 1.3rem;
    color: var(--dark-color);
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    direction: rtl;
}

.service-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 8px;
    padding: 40px 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    border-color: rgba(0, 165, 159, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 165, 159, 0.3),
        0 0 0 1px rgba(0, 165, 159, 0.2);
}

.service-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.2) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 165, 159, 0.3);
}

.service-icon-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            rgba(0, 165, 159, 0.4) 0%,
            rgba(230, 139, 0, 0.4) 50%,
            rgba(0, 165, 159, 0.4) 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover .service-icon-container::before {
    opacity: 1;
}

.service-item:hover .service-icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.4);
}

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 165, 159, 0.3));
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    filter: drop-shadow(0 8px 25px rgba(0, 165, 159, 0.5));
}

.service-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
    transition: all 0.3s ease;
}

.service-item:hover .service-title {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(230, 139, 0, 0.5);
}

.service-description {
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.service-link:hover::before {
    width: 100%;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.4);
    border-color: transparent;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}

/* Responsive Services Section */
@media (max-width: 1200px) {
    .services-container {
        padding: 60px 40px;
    }

    .services-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 1024px) {
    .services-container {
        padding: 50px 30px;
    }

    .services-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title-image {
        max-width: 350px;
    }

    .services-title {
        font-size: 3rem;
    }

    .services-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-item {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .services-section {
        overflow: visible;
    }

    .services-container {
        padding: 40px 20px;
    }

    .services-flip-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-title-image {
        max-width: 300px;
    }

    .services-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .services-subtitle {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-item {
        padding: 25px 20px;
    }

    .service-icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 30px 15px;
    }

    .services-flip-grid {
        gap: 20px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title-image {
        max-width: 250px;
    }

    .services-title {
        font-size: 2.2rem;
    }

    .services-subtitle {
        font-size: 1rem;
    }
}

/* Flip Cards Styles */
.services-flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    direction: rtl;
    width: 100%;
    margin: 0 auto;
    align-items: start;
    box-sizing: border-box;
    max-width: 1600px;
    /* Updated gap to match episodes section - 30px - Final */
}

.flip-card {
    background: transparent;
    width: 100%;
    height: 280px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.flip-card:nth-child(2) {
    animation-delay: -2s;
}

.flip-card:nth-child(3) {
    animation-delay: -4s;
}


.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.flip-card-front {
    background: var(--secondary-color);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(230, 139, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.flip-card-icon {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.2);
}

.flip-card-icon img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-icon img {
    transform: scale(1.1);
}

.flip-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'PelakFA', sans-serif;
}

.flip-card-back {
    background: var(--secondary-color);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(230, 139, 0, 0.3);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}


.flip-card-back-content {
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.flip-card-description {
    font-size: 0.76rem;
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    padding: 20px;
}

/* Custom Scrollbar for Flip Cards */
.flip-card-back::-webkit-scrollbar {
    width: 6px;
}

.flip-card-back::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.flip-card-back::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.6);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.flip-card-back::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.8);
}

/* Responsive Flip Cards */
@media (max-width: 1200px) {
    .services-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .flip-card {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .services-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .flip-card {
        height: 300px;
    }

    .flip-card-title {
        font-size: 1.1rem;
    }

    .flip-card-description {
        font-size: 0.72rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .services-flip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flip-card {
        height: 220px;
    }

    .flip-card-icon {
        width: 140px;
        height: 140px;
        margin-bottom: 15px;
    }

    .flip-card-icon img {
        width: 125px;
        height: 125px;
    }

    .flip-card-title {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .flip-card-description {
        font-size: 0.68rem;
        line-height: 1.6;
        margin-bottom: 16px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .services-flip-grid {
        gap: 15px;
    }

    .flip-card {
        height: 200px;
    }

    .flip-card-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }

    .flip-card-icon img {
        width: 108px;
        height: 108px;
    }

    .flip-card-title {
        font-size: 0.96rem;
        line-height: 1.3;
    }

    .flip-card-description {
        font-size: 0.64rem;
        line-height: 1.5;
        margin-bottom: 12px;
        padding: 12px;
    }

}

/*
====================================
۱۰. Events Section
====================================
*/

.events-section {
    background: transparent;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.events-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

.events-header {
    margin-bottom: 45px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.events-title-image {
    max-width: 400px;
    height: auto;
}

/* View All Button */
.events-view-all-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 24px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.events-view-all-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

/* Swiper Container */
.events-swiper-container {
    position: relative;
    padding: 0;
    margin-bottom: 50px;
}

.events-swiper {
    padding: 20px 60px 80px;
}

.swiper {
    padding-top: 15px !important;
}

.events-swiper .swiper-slide {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-swiper .swiper-slide:hover {
    z-index: 10;
}

/* Event Card */
.event-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 165, 159, 0.1);
    position: relative;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 30px rgba(0, 165, 159, 0.3);
}

/* Event Image */
.event-image {
    position: relative;
    overflow: hidden;
    padding: 10px;
    height: 250px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.4);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
}

.event-badge.event-past {
    background: linear-gradient(135deg, #555, #888);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Event Content */
.event-content {
    padding: 25px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    position: relative;
}

.event-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-date svg {
    flex-shrink: 0;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-location svg {
    flex-shrink: 0;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
    margin: 0;
    font-family: 'PelakFA', sans-serif;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-card:hover .event-title {
    color: var(--primary-color);
}

.event-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.2);
    position: relative;
    overflow: hidden;
    flex-direction: row-reverse;
}

.event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #FF9500);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-link span {
    position: relative;
    z-index: 1;
}

.event-link-icon {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
}

.event-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 165, 159, 0.35);
}

.event-link:hover::before {
    opacity: 1;
}

.event-link:hover .event-link-icon {
    transform: scale(1.1);
}

.event-link:active {
    transform: translateY(0);
}


/* Swiper Pagination */
.events-pagination {
    bottom: 20px !important;
    position: relative !important;
    margin-top: 30px;
}

.events-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 165, 159, 0.3);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
}

.events-pagination .swiper-pagination-bullet:hover {
    background: rgba(0, 165, 159, 0.6);
    transform: scale(1.2);
}

.events-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    width: 35px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.4);
}

/* Responsive Events Section */
@media (max-width: 1230px) {
    .events-title-image {
        max-width: 350px;
    }

    .events-swiper {
        padding: 20px 50px 70px;
    }

    .events-view-all-btn {
        font-size: 15px;
        padding: 7px 20px;
    }
}

@media (max-width: 1024px) {
    .events-section {
        padding: 80px 0;
    }

    .events-container {
        padding: 0 30px;
        overflow: hidden;
    }

    .events-header {
        margin-bottom: 45px;
        flex-direction: row-reverse;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .events-title-image {
        max-width: 300px;
        flex-shrink: 0;
    }

    .events-view-all-btn {
        position: static;
        transform: none;
        font-size: 14px;
        padding: 6px 18px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .events-swiper {
        padding: 20px 45px 70px;
    }

    .event-image {
        height: 200px;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .event-description {
        font-size: 0.9rem;
    }

    .event-link {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 60px 0;
    }

    .events-container {
        padding: 0 20px;
        overflow: hidden;
    }

    .events-title-image {
        max-width: 280px;
    }

    .events-header {
        margin-bottom: 40px;
        flex-direction: row-reverse;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .events-title-image {
        max-width: 280px;
        flex-shrink: 0;
    }

    .events-view-all-btn {
        position: static;
        transform: none;
        font-size: 14px;
        padding: 6px 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .events-swiper {
        padding: 15px 40px 65px;
    }

    .event-image {
        height: 180px;
    }

    .event-content {
        padding: 20px;
        gap: 12px;
    }

    .event-title {
        font-size: 1.1rem;
    }

    .event-description {
        font-size: 0.85rem;
    }

    .event-link {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .events-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .events-pagination .swiper-pagination-bullet-active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding: 50px 0;
    }

    .events-container {
        padding: 0 15px;
        overflow: hidden;
    }

    .events-title-image {
        max-width: 220px;
    }

    .events-header {
        flex-direction: row-reverse;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .events-view-all-btn {
        position: static;
        transform: none;
        font-size: 13px;
        padding: 5px 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .events-swiper {
        padding: 15px 35px 60px;
    }

    .events-swiper-container {
        margin-bottom: 30px;
    }

    .event-image {
        height: 160px;
    }

    .event-content {
        padding: 18px;
        gap: 10px;
    }

    .event-date {
        font-size: 0.8rem;
    }

    .event-date svg {
        width: 16px;
        height: 16px;
    }

    .event-badge {
        padding: 6px 14px;
        font-size: 0.7rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .event-description {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .event-link {
        padding: 9px 16px;
        font-size: 0.75rem;
        gap: 8px;
    }

    .events-pagination {
        margin-top: 20px;
    }

    .events-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }

    .events-pagination .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/*
====================================
۱۱. Podcast Section
====================================
*/

.podcast-section {
    background: transparent;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}



.podcast-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
}

.podcast-header {
    margin-bottom: 60px;
    padding-top: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(500px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -webkit-transform: translateX(500px);
    -moz-transform: translateX(500px);
    -ms-transform: translateX(500px);
    -o-transform: translateX(500px);
    -webkit-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -moz-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -ms-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    -o-transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.podcast-header.podcast-title-animated {
    padding-top: 6 !important;
    opacity: 1;
    transform: translateX(0);
}

.podcast-title-image {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: podcastTitleFloat 3s ease-in-out infinite;
}

@keyframes podcastTitleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.01);
    }
}

/* Podcast View All Button */
.podcast-view-all-btn {
    margin-top: 30px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 24px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.podcast-view-all-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.podcast-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    direction: ltr;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.podcast-content.podcast-content-animated {
    opacity: 1;
    transform: translateX(0);
}

/* Left side - Videocast Info */
.podcast-left {
    direction: rtl;
    padding-right: 40px;
}

.podcast-image {
    width: 70%;
    height: 70%;
    object-fit: cover;
    transition: all 0.5s ease;
    border-radius: 8px;
}

.podcast-image:hover {
    transform: scale(0.95);
}

.play-button {
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-button svg {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 15px 40px rgba(0, 165, 159, 0.5));
}

.play-button:active svg {
    transform: scale(0.95);
}


/* Right side - Podcast Info */
.podcast-right {
    display: flex;
    justify-content: end;
    align-items: center;
    border: none;
}

.podcast-episode {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.episode-number {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(230, 139, 0, 0.3);
}

.episode-date {
    color: #d0d0d0;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
}

.podcast-episode-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'PelakFA', sans-serif;
}

.podcast-episode-description {
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.podcast-stats {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: rgba(0, 165, 159, 0.05);
    border: 1px solid rgba(0, 165, 159, 0.15);
    border-radius: 8px;
    padding: 20px;
}

.stat-icon {
    width: 16px;
    height: 16px;
}

.stat-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.podcast-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.podcast-play-button {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'PelakFA', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
    border: none;
    cursor: pointer;
    flex-direction: row-reverse;
}

.podcast-play-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.podcast-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 165, 159, 0.4);
}

.podcast-play-button:hover .podcast-play-icon {
    transform: scale(1.1);
}


.podcast-download-button {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'PelakFA', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.podcast-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.podcast-download-button:hover::before {
    width: 100%;
}

.podcast-download-button:hover {
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.4);
    border-color: transparent;
}

.podcast-platforms {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 8px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platforms-title {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.platform-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(0, 165, 159, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 165, 159, 0.1);
}

.platform-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Podcast Episodes List */
.podcast-episodes {
    margin-top: 0;
    padding-top: 80px;
}

.episodes-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'PelakFA', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.episode-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(230, 139, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.episode-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    border-color: rgba(0, 165, 159, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 165, 159, 0.3),
        0 0 0 1px rgba(0, 165, 159, 0.2);
}

.episode-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.episode-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.episode-card:hover .episode-card-image img {
    transform: scale(1.1);
}

.episode-card-content {
    padding: 25px;
    text-align: center;
}

.episode-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'PelakFA', sans-serif;
}

.episode-card-duration {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Podcast View All Button */
.podcast-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 165, 159, 0.2);
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.4);
}

.view-all-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.view-all-button:hover::before {
    left: 100%;
}

.view-all-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(230, 139, 0, 0.6);
}

.view-all-button svg {
    transition: transform 0.3s ease;
}

.view-all-button:hover svg {
    transform: translateX(-5px);
}

/* Responsive Podcast Section */
@media (max-width: 1024px) {
    .podcast-container {
        overflow: hidden;
    }

    .podcast-header {
        margin-bottom: 45px;
        flex-direction: row-reverse;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .podcast-title-image {
        max-width: 300px;
        flex-shrink: 0;
    }

    .podcast-view-all-btn {
        position: static;
        transform: none;
        font-size: 14px;
        padding: 6px 18px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .podcast-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .podcast-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .podcast-left {
        padding-right: 0;
        order: 2;
    }

    .podcast-left .podcast-info {
        display: flex;
        flex-direction: column;
    }

    .podcast-left .podcast-episode {
        order: 1;
        margin-bottom: 15px;
    }

    .podcast-left .podcast-episode-title {
        order: 2;
    }

    .podcast-left .podcast-episode-description {
        order: 3;
    }

    .podcast-left .podcast-stats {
        order: 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 15px;
    }

    .podcast-left .podcast-stats .stat-item {
        padding: 10px 15px;
        border: none;
    }

    .podcast-left .podcast-actions {
        order: 5;
    }

    .podcast-right {
        order: 1;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

}

@media (max-width: 768px) {
    .podcast-section {
        padding: 60px 0;
    }

    .podcast-container {
        padding: 0 20px;
        overflow: hidden;
    }

    .podcast-header {
        margin-bottom: 40px;
        flex-direction: row-reverse;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .podcast-title-image {
        max-width: 280px;
        flex-shrink: 0;
    }

    .podcast-view-all-btn {
        position: static;
        transform: none;
        font-size: 14px;
        padding: 6px 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .podcast-subtitle {
        font-size: 1.1rem;
    }

    .podcast-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .podcast-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .podcast-left {
        order: 2;
    }

    .podcast-left .podcast-episode {
        order: 1;
        margin-bottom: 15px;
    }

    .podcast-left .podcast-episode-title {
        order: 2;
        font-size: 1.8rem;
    }

    .podcast-left .podcast-episode-description {
        order: 3;
    }

    .podcast-left .podcast-stats {
        order: 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 15px;
    }

    .podcast-left .podcast-stats .stat-item {
        padding: 10px 12px;
        border: none;
    }

    .podcast-left .podcast-actions {
        order: 5;
        flex-wrap: wrap;
        gap: 15px;
    }

    .podcast-right {
        order: 1;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .podcast-container {
        padding: 0 15px;
        overflow: hidden;
    }

    .podcast-header {
        margin-bottom: 35px;
        flex-direction: row-reverse;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .podcast-title-image {
        max-width: 220px;
        flex-shrink: 0;
    }

    .podcast-view-all-btn {
        position: static;
        transform: none;
        font-size: 13px;
        padding: 5px 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .podcast-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .podcast-left {
        order: 2;
    }

    .podcast-left .podcast-info {
        display: flex;
        flex-direction: column;
    }

    .podcast-left .podcast-episode {
        order: 1;
        margin-bottom: 12px;
    }

    .podcast-left .podcast-episode-title {
        order: 2;
    }

    .podcast-left .podcast-episode-description {
        order: 3;
    }

    .podcast-left .podcast-stats {
        order: 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 12px;
    }

    .podcast-left .podcast-stats .stat-item {
        padding: 8px 10px;
        border: none;
    }

    .podcast-left .podcast-actions {
        order: 5;
    }

    .podcast-right {
        order: 1;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* ====================================
   Social Responsibility Section
   ==================================== */
.social-responsibility-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafa 0%, #ffffff 50%, #f0f9f7 100%);
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    padding-top: 0 !important;
}

.social-header {
    text-align: center;
    margin-bottom: 60px;
}

.social-title-image {
    max-width: 400px;
    height: auto;
}

/* Content Box */
.social-content-box {
    background: var(--dark-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin-bottom: 0;
}

.social-box-content {
    margin-bottom: 60px;
}

.social-box-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-family: 'PelakFA', sans-serif;
}

.social-box-text {
    text-align: justify;
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-box-text:last-child {
    margin-bottom: 0;
}

/* Icons Section */
.social-box-icons {
    display: flex;
    gap: 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-box-icon-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 25px;
    position: relative;
}

/* خطوط border حذف شده - بدون border */
.social-box-icon-item::after,
.social-box-icon-item::before {
    display: none;
}

.social-box-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
}

.social-box-icon-item:hover .social-box-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 165, 159, 0.3);
}

.social-box-icon-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'PelakFA', sans-serif;
}

.social-box-icon-text {
    font-size: 0.95rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .social-content-box {
        padding: 40px;
    }

    .social-box-title {
        font-size: 1.8rem;
    }

    .social-box-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .social-responsibility-section {
        padding: 60px 0;
    }

    .social-container {
        padding: 0 20px;
    }

    .social-title-image {
        max-width: 300px;
    }

    .social-content-box {
        padding: 30px 25px;
    }

    .social-box-content {
        margin-bottom: 40px;
    }

    .social-box-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .social-box-text {
        font-size: 0.95rem;
    }

    .social-box-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding-top: 30px;
    }

    .social-box-icon-item {
        padding: 20px 15px;
        border: none;
    }

    .social-box-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .social-box-icon-title {
        font-size: 1.1rem;
    }

    .social-box-icon-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .social-content-box {
        padding: 25px 20px;
    }

    .social-box-title {
        font-size: 1.4rem;
    }

    .social-box-text {
        font-size: 0.9rem;
    }

    .social-box-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding-top: 25px;
    }

    .social-box-icon-item {
        padding: 20px 0;
        border: none;
    }

    .social-box-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .social-box-icon-title {
        font-size: 1rem;
    }

    .social-box-icon-text {
        font-size: 0.85rem;
    }
}

/* Page Background */
body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafa 50%, #f0f9f7 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Global Heading Styles - همه تیترها با رنگ dark-color */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

/* استثنا: تیترهای hero section تغییر نمی‌کنند */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content h6,
.hero-right h1,
.hero-right h2,
.hero-right h3,
.hero-right h4,
.hero-right h5,
.hero-right h6 {
    color: inherit;
}

/* Global Section Styles - همه سکشن‌ها با رنگ dark-color */
section {
    color: var(--dark-color);
}

/* استثنا: سکشن hero تغییر نمی‌کند */
.hero-section {
    color: inherit;
}

/* Main Section Wrapper */
.main-sections-wrapper {
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.main-sections-wrapper section {
    margin: 0;
    padding: 0;
}

.main-sections-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 165, 159, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 139, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(148, 186, 161, 0.03) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.main-sections-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg,
            transparent 0%,
            rgba(0, 165, 159, 0.015) 25%,
            transparent 50%,
            rgba(148, 186, 161, 0.015) 75%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}


/* Responsive Hero Section */
/* Responsive: Hero Section - Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 60px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 40px;
        align-items: center;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
        margin-top: 0;
        text-align: right;
    }

    .ham-rasta-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .hero-sub-title {
        font-size: 1.2rem !important;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .hero-buttons {
        gap: 12px;
        justify-content: flex-start;
    }

    .hero-primary-button,
    .hero-secondary-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .sarv-container {
        max-width: 380px;
        height: 380px;
        margin: 0;
    }
}

/* Responsive: Hero Section - Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-content {
        padding: 0 25px;
        gap: 30px;
        direction: rtl;
        display: flex;
        flex-direction: column;
    }

    /* Bring sarv up - show it first on mobile */
    .hero-left {
        order: -1;
        margin-bottom: 0;
    }

    .sarv-container {
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
        animation: mobileSarvFloat 3s ease-in-out infinite;
        opacity: 1;
    }

    @keyframes mobileSarvFloat {

        0%,
        100% {
            transform: translateY(0px) scale(1);
        }

        50% {
            transform: translateY(-6px) scale(1.01);
        }
    }

    .sarv-image {
        filter: drop-shadow(0 8px 20px rgba(0, 165, 159, 0.3));
    }

    .hero-right {
        text-align: center;
        padding: 0;
        margin-top: 0;
    }

    .ham-rasta-animation {
        margin-bottom: -4px;
        text-align: center;
    }

    .ham-rasta-text {
        font-size: 1.15rem !important;
        font-weight: 600;
        letter-spacing: 2px;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-sub-title {
        font-size: 1.3rem !important;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
        align-items: stretch;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-primary-button,
    .hero-secondary-button {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 15px 24px;
        font-size: 0.95rem;
    }
}

/* Responsive: Hero Section - Small Mobile */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0 50px;
    }

    .hero-content {
        padding: 0 20px;
        gap: 25px;
    }

    .hero-left {
        margin-bottom: 0;
    }

    .sarv-container {
        max-width: 250px;
        height: 250px;
    }

    .hero-right {
        padding: 0;
        margin-top: 0;
    }

    .ham-rasta-animation {
        margin-bottom: -4px;
        text-align: center;
    }

    .ham-rasta-text {
        font-size: 1rem !important;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem !important;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .hero-sub-title {
        font-size: 1.3rem !important;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .hero-buttons {
        max-width: 300px;
        gap: 10px;
        flex-direction: row;
    }

    .hero-primary-button,
    .hero-secondary-button {
        padding: 13px 20px;
        font-size: 0.9rem;
    }
}

/*
====================================
Team Section
====================================
*/

.team-section {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.team-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px;
    position: relative;
    z-index: 2;
}

.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #008a85;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    font-family: 'PelakFA', sans-serif;
    text-shadow: none;
}

.team-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(230, 139, 0, 0.5);
}

.team-subtitle {
    font-size: 1.3rem;
    color: #008a85;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: none;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    direction: rtl;
}

/* Desktop: 2 columns for team grid */
@media (min-width: 1025px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Team Member Animation */
@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    opacity: 0;
}

/* انیمیشن فقط وقتی کلاس animate اضافه شد اجرا می‌شود */
.team-member.animate {
    animation: slideUpFromBottom 0.6s ease-out forwards;
}

/* Staggered animation delays for team members */
.team-member.animate:nth-child(1) {
    animation-delay: 0.1s;
}

.team-member.animate:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member.animate:nth-child(3) {
    animation-delay: 0.3s;
}

.team-member.animate:nth-child(4) {
    animation-delay: 0.4s;
}

.team-member.animate:nth-child(5) {
    animation-delay: 0.5s;
}

.team-member.animate:nth-child(6) {
    animation-delay: 0.6s;
}

.team-member.animate:nth-child(7) {
    animation-delay: 0.7s;
}

.team-member.animate:nth-child(8) {
    animation-delay: 0.8s;
}

.team-member.animate:nth-child(9) {
    animation-delay: 0.9s;
}

.team-member.animate:nth-child(10) {
    animation-delay: 1s;
}

.team-member.animate:nth-child(11) {
    animation-delay: 1.1s;
}

.team-member.animate:nth-child(12) {
    animation-delay: 1.2s;
}

.team-member.animate:nth-child(13) {
    animation-delay: 1.3s;
}

.team-member.animate:nth-child(14) {
    animation-delay: 1.4s;
}

.team-member.animate:nth-child(n+15) {
    animation-delay: 1.5s;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.05);
}

.member-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-image {
    width: 100%;
    height: 300px;
    margin: 0 auto 20px;
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.member-info {
    position: relative;
    z-index: 2;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    font-family: 'PelakFA', sans-serif;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.team-member:hover .member-name {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(230, 139, 0, 0.5);
}

.member-role {
    font-size: 0.95rem;
    color: #d0d0d0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


/* ====================================
Footer Section
==================================== */

.footer-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 50%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2300a59f" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23e68b00" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    direction: rtl;
}

.footer-brand {
    opacity: 1;
    transform: translateY(0);
}

.footer-logo {
    margin-bottom: 24px;
    width: 90px;
}

.logo-image {
    height: 60px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.footer-description {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-align: justify;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #d0d0d0;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.footer-links,
.footer-services,
.footer-contact {
    opacity: 1;
    transform: translateY(0);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    font-family: 'PelakFA', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(230, 139, 0, 0.5);
}

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

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

.footer-link {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d0d0d0;
    font-size: 0.95rem;
}

.contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-link {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-developer {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.developer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: var(--accent-color);
}

.developer-link::after {
    content: ' :)';
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.developer-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {

    .hero-sub-title::after {
        display: none;
    }

    .footer-container {
        padding: 0 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
        margin-bottom: 0;
    }

    .footer-social {
        justify-content: center;
    }

    /* حذف ::after از footer-title در responsive */
    .footer-title::after {
        display: none;
    }

    /* Footer Menu - دو ستون در responsive */
    .footer-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        text-align: right;
    }

    .footer-menu li {
        margin-bottom: 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 12px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }

    .main-sections-wrapper section {
        padding-top: 20px;
    }

    .team-title {
        font-size: 3rem;
    }

    .member-image {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }

    .team-container {
        padding: 0 20px;
    }

    .team-header {
        margin-bottom: 40px;
    }

    .team-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .team-subtitle {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 25px;
    }

    .member-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .member-image {
        height: 170px;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-role {
        font-size: 0.85rem;
    }
}

/*
====================================
صفحه درباره ما - About Page
====================================
*/
.about-page {
    background: #ffffff;
    min-height: 100vh;
}

/* About Hero Section */
.about-hero {
    position: relative;
    background: transparent;
    padding: 80px 0;
    overflow: hidden;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 50px;
    padding-top: 30px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    direction: rtl;
}

/* Left side - Sarv SVG */
.about-hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-sarv-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-sarv-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 165, 159, 0.2));
}

/* Right side - Text content */
.about-hero-right {
    display: flex;
    align-items: center;
}

.about-hero-text-content {
    max-width: 600px;
    padding: 20px 0;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: none;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 1;
    color: var(--dark-color);
    line-height: 1.6;
}

.about-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 1;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
}

.about-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation-delay: 4s;
}


/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    margin-top: 80px;
    background: transparent;
}

.mission-vision-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-box,
.vision-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mission-box::before,
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.mission-box:hover::before,
.vision-box:hover::before {
    left: 100%;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px) scale(1.02);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
}

.mission-box .icon-wrapper,
.vision-box .icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.2) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 165, 159, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.mission-box:hover .icon-wrapper,
.vision-box:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.4);
}

.mission-box .icon-wrapper svg,
.vision-box .icon-wrapper svg {
    color: var(--primary-color);
}

.mission-box h2,
.vision-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.mission-box p,
.vision-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
    text-shadow: none;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: transparent;
}

.values-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-shadow: none;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    text-shadow: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(0, 165, 159, 0.3);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.4);
}

.value-icon svg {
    color: var(--secondary-color);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.value-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: transparent;
}

/* Account Dashboard Section */
.account-dashboard-section {
    padding: 60px 0;
    background: transparent;
}

.account-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

.account-header {
    text-align: center;
    margin-bottom: 50px;
}

.account-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 800;
    font-family: 'PelakFA', sans-serif;
}

.account-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Account Sidebar */
.account-sidebar {
    position: sticky;
    top: 100px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 165, 159, 0.1);
    height: fit-content;
}

.account-menu {
    width: 100%;
}

.account-menu .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.account-menu .menu-item {
    margin: 0;
    border-bottom: 1px solid rgba(0, 165, 159, 0.05);
}

.account-menu .menu-item:last-child {
    border-bottom: none;
}

.account-menu .menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.account-menu .menu-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.account-menu .menu-link:hover {
    background: rgba(0, 165, 159, 0.05);
    color: var(--primary-color);
}

.account-menu .menu-item.active .menu-link {
    background: var(--primary-color);
    color: white;
}

.account-menu .menu-item.active .menu-link svg {
    color: white;
}

.account-menu .menu-item.active .menu-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 0 4px 4px 0;
}

/* Account Content */
.account-content {
    min-height: 600px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-card {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-card:hover {
    box-shadow: 0 8px 25px rgba(0, 165, 159, 0.15);
    border-color: rgba(0, 165, 159, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 165, 159, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.3);
}

.card-header h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin: 0;
    font-weight: 700;
    font-family: 'PelakFA', sans-serif;
}

.card-content {
    color: var(--dark-gray);
}

.card-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
}

.course-stats,
.consultation-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.recent-courses h4,
.recent-messages h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.course-list,
.message-list {
    margin-bottom: 25px;
}

.course-item,
.message-item {
    background: rgba(0, 165, 159, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
}

.course-item:hover,
.message-item:hover {
    background: rgba(0, 165, 159, 0.08);
    border-color: rgba(0, 165, 159, 0.2);
}

.course-info h5,
.message-content h5 {
    color: var(--dark-color);
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}

.course-info p,
.message-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 165, 159, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1s ease;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 165, 159, 0.2);
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-time {
    font-size: 0.8rem;
    color: var(--dark-gray);
    display: block;
    margin-top: 5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 165, 159, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(0, 165, 159, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    color: var(--dark-color);
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.user-details p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.account-settings {
    margin-bottom: 25px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 165, 159, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-label {
    color: var(--dark-gray);
    font-size: 1rem;
}

.setting-value {
    color: var(--dark-color);
    font-weight: 600;
}

.setting-value.premium {
    color: var(--accent-color);
    font-weight: 700;
}

.logout-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(0, 165, 159, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.info-icon {
    font-size: 1.2rem;
}

.info-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.logout-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-button,
.logout-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.card-button {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.card-button:hover {
    background: var(--darker-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.4);
}

.logout-button.primary {
    background: #dc3545;
    color: white;
}

.logout-button.primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.logout-button.secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: 2px solid rgba(0, 165, 159, 0.2);
}

.logout-button.secondary:hover {
    background: rgba(0, 165, 159, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Dashboard Welcome Section */
.dashboard-welcome {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 165, 159, 0.1);
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 165, 159, 0.3);
    flex-shrink: 0;
}

.welcome-icon svg {
    width: 48px;
    height: 48px;
}

.welcome-text h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin: 0 0 8px 0;
    font-weight: 800;
    font-family: 'PelakFA', sans-serif;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.welcome-message {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.welcome-message p {
    margin-bottom: 15px;
}

.welcome-message p:last-child {
    margin-bottom: 0;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-stat-card {
    background: rgba(0, 165, 159, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    background: rgba(0, 165, 159, 0.08);
    border-color: rgba(0, 165, 159, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 165, 159, 0.15);
}

.dashboard-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-stat-card .stat-icon.courses {
    background: rgba(0, 165, 159, 0.15);
    color: var(--primary-color);
}

.dashboard-stat-card .stat-icon.progress {
    background: rgba(230, 139, 0, 0.15);
    color: var(--accent-color);
}

.dashboard-stat-card .stat-icon.messages {
    background: rgba(148, 186, 161, 0.15);
    color: var(--light-green);
}

.dashboard-stat-card .stat-icon.achievements {
    background: rgba(0, 165, 159, 0.15);
    color: var(--primary-color);
}

.dashboard-stat-card .stat-icon svg {
    width: 32px;
    height: 32px;
}

.dashboard-stat-card .stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.dashboard-stat-card .stat-title {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Certificates */
.certificates-list {
    margin-top: 20px;
}

.certificate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 165, 159, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    background: rgba(0, 165, 159, 0.08);
    border-color: rgba(0, 165, 159, 0.2);
}

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

.certificate-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.certificate-download {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.certificate-download:hover {
    background: var(--darker-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.3);
}

/* Notifications */
.notifications-list {
    margin-top: 20px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 165, 159, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: rgba(0, 165, 159, 0.08);
    border-color: rgba(0, 165, 159, 0.2);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    color: var(--dark-color);
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}

.notification-content p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.notification-time {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Settings */
.settings-list {
    margin-top: 20px;
}

.setting-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 165, 159, 0.1);
}

.setting-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.setting-group h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.setting-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.setting-link:hover {
    background: rgba(0, 165, 159, 0.05);
    border-color: rgba(0, 165, 159, 0.2);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Responsive Account Dashboard */
@media (max-width: 1024px) {
    .account-layout {
        grid-template-columns: 240px 1fr;
        gap: 25px;
    }

    .account-sidebar {
        top: 80px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .account-dashboard-section {
        padding: 40px 0;
    }

    .account-container {
        padding: 0 20px;
    }

    .account-header h2 {
        font-size: 2rem;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-sidebar {
        position: static;
        order: 2;
    }

    .account-content {
        order: 1;
    }

    .account-menu .menu-link {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .account-card {
        padding: 30px 20px;
    }

    .card-header h3 {
        font-size: 1.5rem;
    }

    .welcome-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .welcome-text h2 {
        font-size: 1.8rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .account-header h2 {
        font-size: 1.8rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .welcome-text h2 {
        font-size: 1.5rem;
    }

    .welcome-icon {
        width: 60px;
        height: 60px;
    }

    .welcome-icon svg {
        width: 36px;
        height: 36px;
    }
}

.stats-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}


.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 165, 159, 0.3);
}


.stat-label {
    font-size: 1.2rem;
    opacity: 1;
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Team Preview Section */
.team-preview-section {
    padding: 80px 20px;
    background: transparent;
}

.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.team-member-card:hover::before {
    left: 100%;
}

.team-member-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    border-color: rgba(0, 165, 159, 0.3);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3), 0 0 0 1px rgba(0, 165, 159, 0.2);
}



.member-image img {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-speed) ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.member-info p {
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 165, 159, 0.5);
}

/* About CTA Section */
.about-cta-section {
    padding: 80px 20px;
    background: transparent;
}

.cta-content {
    background: var(--primary-color);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: var(--secondary-color);
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

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

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

/*
====================================
صفحه تماس با ما - Contact Page
====================================
*/
.contact-page {
    background: #ffffff;
    min-height: 100vh;
}

/* Contact Hero */
.contact-hero {
    background: transparent;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 50px;
    position: relative;
    z-index: 2;
    direction: rtl;
}

/* Left side - Sarv SVG */
.contact-hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-sarv-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-sarv-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 165, 159, 0.2));
}

/* Right side - Text content */
.contact-hero-right {
    display: flex;
    align-items: center;
}

.contact-hero-text-content {
    max-width: 600px;
    padding: 20px 0;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: none;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    opacity: 1;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Contact Content Section */
.contact-content-section {
    padding: 100px 0;
    background: transparent;
}

.contact-content-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    padding: 50px;
    height: fit-content;
    border-radius: 8px;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.05), transparent);
    transition: left 0.8s ease;
    z-index: 0;
    pointer-events: none;
}

.form-header {
    margin-bottom: 40px;
}

.form-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-shadow: none;
}

.form-header p {
    font-size: 1rem;
    color: var(--dark-gray);
    text-shadow: none;
}

.contact-form {
    direction: rtl;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1rem;
    text-shadow: none;
    line-height: 1.4;
}

.form-group label svg {
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(0, 165, 159, 0.5));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    font-family: inherit;
    background: #ffffff;
    color: var(--dark-color);
    backdrop-filter: none;
    box-sizing: border-box;
    height: 56px;
    line-height: 1.4;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--medium-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 165, 159, 0.2);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    padding-bottom: 13px;
}

.form-group select option {
    color: var(--dark-color);
    background-color: #ffffff;
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    height: 120px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card,
.social-media-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-map-wrapper {
    width: 100%;
    max-height: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-info-card h3,
.social-media-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-shadow: none;
}

.contact-intro {
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: none;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 165, 159, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 165, 159, 0.2);
}

.info-icon svg {
    color: var(--primary-color);
    filter: none;
}

.info-content h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    text-shadow: none;
}

.info-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 5px;
    text-shadow: none;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.social-link.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link svg {
    color: var(--secondary-color);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    padding: 60px 20px;
    background: transparent;
}

.map-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.map-placeholder svg {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 165, 159, 0.5));
}

.map-placeholder p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.map-placeholder small {
    color: #e0e0e0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: transparent;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.faq-wrapper {
    width: 100%;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.2);
    border-color: rgba(0, 165, 159, 0.3);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: all var(--transition-speed) ease;
    text-shadow: none;
}

.faq-question:hover {
    color: var(--primary-color);
    text-shadow: none;
}

.faq-question svg {
    transition: transform var(--transition-speed) ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1rem;
    text-shadow: none;
}

/*
====================================
رسپانسیو - موبایل
====================================
*/
@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 2.5rem;
    }

    .mission-vision-container {
        padding: 50px 30px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-container {
        padding: 50px 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        padding: 50px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-container {
        padding: 50px 30px;
    }

    .account-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content-section .container {
        padding: 0 30px;
    }

    .contact-content-section {
        padding: 100px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-info-card {
        padding: 40px 30px;
    }

    .contact-map-wrapper {
        max-height: 300px;
        height: 300px;
    }

    .faq-section .container {
        padding: 0 30px;
    }

    .faq-section {
        padding: 100px 0;
    }

    .courses-list-section .container {
        padding: 0;
    }

    .courses-list-section {
        padding: 100px 0;
    }

    .courses-grid {
        gap: 30px;
        margin: 10px;
    }

    .courses-grid .course-card {
        flex: 0 1 calc(50% - 15px);
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px 60px;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.2rem;
    }

    .mission-box,
    .vision-box {
        padding: 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .team-preview-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-content {
        padding: 30px 20px;
        padding-top: 20px;
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-content-section .container {
        padding: 0 20px;
    }

    .contact-content-section {
        padding: 80px 0;
    }

    .contact-grid {
        gap: 30px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-header {
        margin-bottom: 30px;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 0.95rem;
        height: 52px;
    }

    .form-group textarea {
        height: 120px;
        min-height: 120px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }

    .contact-info-card,
    .social-media-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .contact-info-card h3 {
        font-size: 1.6rem;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .contact-info-items {
        gap: 20px;
    }

    .info-item {
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-content h4 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .contact-map-wrapper {
        max-height: 250px;
        height: 250px;
        margin-bottom: 0;
    }

    .faq-section .container {
        padding: 0 20px;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-item {
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 0px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }

    .courses-list-section .container {
        padding: 0;
    }

    .courses-list-section {
        padding: 80px 0;
    }

    .courses-header {
        margin-bottom: 40px;
    }

    .courses-header h2 {
        font-size: 2rem;
    }

    .courses-header p {
        font-size: 1.1rem;
    }

    .courses-grid {
        gap: 25px;
        flex-direction: column;
        align-items: stretch;
    }

    .course-card {
        border-radius: 10px;
    }

    .course-image {
        height: 200px;
    }

    .course-content {
        padding: 25px 20px;
    }

    .course-title {
        font-size: 1.3rem;
        min-height: auto;
    }

    .course-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .course-meta {
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .course-info {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .course-duration,
    .course-students,
    .course-level {
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .course-students {
        position: relative;
        overflow: hidden;
    }

    .course-students svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        display: inline-block;
    }

    /* Hide "دانشجو" text in mobile - show only number */
    .course-students .students-text {
        display: none;
    }

    .course-students::after {
        content: attr(data-count);
        font-size: 0.8rem;
        margin-right: 3px;
        display: inline-block;
        color: var(--dark-gray);
    }

    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding-top: 15px;
    }

    .course-price {
        justify-content: center;
        width: 100%;
    }

    .price-current {
        font-size: 1.3rem;
    }

    .course-buy-btn {
        width: -webkit-fill-available !important;
        justify-content: center;
        padding: 16px 24px;
    }
}

/*
====================================
صفحه لیست دوره‌ها - Courses List Page
====================================
*/
.courses-list-section {
    padding: 100px 0;
    background: transparent;
}

.courses-list-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-header h2 {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 800;
    font-family: 'PelakFA', sans-serif;
}

.courses-header p {
    font-size: 1.3rem;
    color: var(--primary-color);
    line-height: 1.8;
}

/* New Course List Layout - Image Left, Content Right */
.courses-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.course-list-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 165, 159, 0.1);
    transition: all 0.3s ease;
}

.course-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 165, 159, 0.2);
    border-color: rgba(0, 165, 159, 0.2);
}

.course-list-link {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    text-decoration: none;
    color: inherit;
}

.course-list-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-list-item:hover .course-list-img {
    transform: scale(1.05);
}

.course-list-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-list-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin: 0 0 15px 0;
    font-weight: 700;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.4;
}

.course-list-description {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.course-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.course-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.course-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 165, 159, 0.1);
}

.course-list-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1rem;
    color: var(--dark-gray);
    text-decoration: line-through;
    opacity: 0.6;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1rem;
    color: var(--dark-gray);
}

.price-free {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.course-list-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.course-list-item:hover .course-list-view-btn {
    background: var(--darker-teal);
    transform: translateX(-5px);
}

.no-courses-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/*
====================================
Single Course Page Styles
====================================
*/

.single-course-page {
    padding: 100px 0;
    background: transparent;
}

.single-course-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/*
====================================
Course Hero Section - Modern Design
====================================
*/

.course-hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
}

.course-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    filter: blur(40px);
    transform: scale(1.1);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 165, 159, 0.95) 0%,
        rgba(0, 165, 159, 0.85) 30%,
        rgba(230, 139, 0, 0.9) 70%,
        rgba(230, 139, 0, 0.95) 100%
    );
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 2;
    opacity: 0.6;
}

.course-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px 50px;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 165, 159, 0.5), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 25px;
}

.hero-image-frame:hover .image-glow {
    opacity: 1;
}

.image-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
    z-index: 2;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame:hover .hero-course-image {
    transform: scale(1.1);
}

.hero-content-wrapper {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    width: fit-content;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-badge svg {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-course-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin: 0;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-course-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-meta-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-meta-icon svg {
    width: 22px;
    height: 22px;
}

.hero-meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.2;
}

.hero-meta-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-price-old {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    font-weight: 500;
}

.hero-price-current {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    font-family: 'PelakFA', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hero-cart-form {
    margin: 0;
}

.hero-buy-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'PelakFA', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-buy-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 165, 159, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buy-button:hover::before {
    width: 400px;
    height: 400px;
}

.hero-buy-button:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    color: var(--darker-teal);
}

.hero-buy-button:active {
    transform: translateY(-2px);
}

.hero-buy-button span,
.hero-buy-button svg {
    position: relative;
    z-index: 1;
}

.hero-buy-button svg {
    transition: transform 0.3s ease;
}

.hero-buy-button:hover svg {
    transform: translateX(-5px);
}

/* Responsive Hero Section */
@media (max-width: 1200px) {
    .course-hero-grid {
        grid-template-columns: 400px 1fr;
        gap: 60px;
    }

    .hero-course-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .course-hero-section {
        min-height: 600px;
    }

    .course-hero-grid {
        grid-template-columns: 350px 1fr;
        gap: 50px;
    }

    .hero-image-frame {
        height: 400px;
    }

    .hero-course-title {
        font-size: 3rem;
    }

    .hero-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .course-hero-section {
        min-height: auto;
        border-radius: 20px;
        margin-bottom: 50px;
    }

    .course-hero-content {
        padding: 50px 30px;
    }

    .course-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-image-frame {
        height: 350px;
    }

    .hero-course-title {
        font-size: 2.5rem;
    }

    .hero-course-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-price {
        text-align: center;
    }

    .hero-buy-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .course-hero-content {
        padding: 40px 20px;
    }

    .hero-course-title {
        font-size: 2rem;
    }

    .hero-image-frame {
        height: 280px;
    }

    .hero-meta-item {
        padding: 15px 18px;
    }

    .hero-price-current {
        font-size: 2rem;
    }
}

.single-course-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 165, 159, 0.1);
}

.single-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.course-meta-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.course-main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.course-content-area {
    min-height: 500px;
    background: var(--secondary-color);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.course-description-section,
.course-sections-section {
    margin-bottom: 60px;
}

.course-description-section:last-child,
.course-sections-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-family: 'PelakFA', sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.course-description {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--dark-gray);
    text-align: justify;
    direction: rtl;
}

.course-description p {
    margin-bottom: 25px;
}

.course-description p:last-child {
    margin-bottom: 0;
}

.course-sections-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-section-item {
    background: white;
    border-radius: 18px;
    padding: 28px;
    border: 2px solid rgba(0, 165, 159, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.course-section-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-section-item:hover {
    border-color: rgba(0, 165, 159, 0.3);
    box-shadow: 0 12px 40px rgba(0, 165, 159, 0.15);
    transform: translateX(-5px);
}

.course-section-item:hover::before {
    opacity: 1;
}

.course-section-item.free {
    border-right: 4px solid var(--accent-color);
}

.course-section-item.free::before {
    background: var(--accent-color);
}

.course-section-item.paid {
    border-right: 4px solid var(--primary-color);
}

.course-section-item.paid::before {
    background: var(--primary-color);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.course-section-item:hover .section-icon {
    transform: rotate(5deg) scale(1.1);
}

.course-section-item.free .section-icon {
    background: rgba(230, 139, 0, 0.15);
    color: var(--accent-color);
}

.course-section-item.paid .section-icon {
    background: rgba(0, 165, 159, 0.15);
    color: var(--primary-color);
}

.section-info {
    flex: 1;
}

.section-info .section-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    padding-bottom: 0;
}

.section-info .section-title::after {
    display: none;
}

.section-desc {
    font-size: 1rem;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.7;
}

.section-badge {
    flex-shrink: 0;
}

.badge-free {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(230, 139, 0, 0.15), rgba(230, 139, 0, 0.25));
    color: var(--accent-color);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid rgba(230, 139, 0, 0.3);
}

.badge-paid {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.15), rgba(0, 165, 159, 0.25));
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid rgba(0, 165, 159, 0.3);
}

/* Course Sidebar - Purchase Box */
.course-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.course-purchase-box {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 165, 159, 0.1);
    overflow: hidden;
}

.purchase-box-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--darker-teal));
    text-align: center;
}

.course-price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.price-currency {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.price-old {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
}

.price-free {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.purchase-box-content {
    padding: 25px;
}

.purchase-message {
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 20px;
}

.purchase-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.purchase-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.purchase-message svg {
    margin-bottom: 10px;
}

.purchase-message p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.purchase-message.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.course-buy-btn input[type="number"] {
    display: none;
}

.course-buy-btn form.cart {
    margin: 0;
}

.course-buy-btn form.cart .quantity {
    display: none;
}

.course-buy-btn {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--darker-teal));
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 8px 25px rgba(0, 165, 159, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.course-buy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.course-buy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.course-buy-btn:hover {
    background: linear-gradient(135deg, var(--darker-teal), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 165, 159, 0.5);
    color: white;
}

.course-buy-btn:active {
    transform: translateY(-1px);
}

.course-buy-btn span,
.course-buy-btn svg {
    position: relative;
    z-index: 1;
}

.course-access-btn {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--accent-color), #ff9800);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(230, 139, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.course-access-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.course-access-btn:hover::before {
    width: 300px;
    height: 300px;
}

.course-access-btn:hover {
    background: linear-gradient(135deg, #ff9800, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 139, 0, 0.5);
    color: white;
}

.course-access-btn span,
.course-access-btn svg {
    position: relative;
    z-index: 1;
}

.purchase-box-features {
    padding: 30px;
    border-top: 2px solid rgba(0, 165, 159, 0.1);
    background: linear-gradient(180deg, rgba(0, 165, 159, 0.02), transparent);
}

.purchase-box-features h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: 'PelakFA', sans-serif;
    position: relative;
    padding-bottom: 12px;
}

.purchase-box-features h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--dark-gray);
    padding: 12px;
    background: rgba(0, 165, 159, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: rgba(0, 165, 159, 0.08);
    transform: translateX(-5px);
}

.features-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 165, 159, 0.2));
}

.single-course-footer {
    text-align: center;
    padding-top: 50px;
    margin-top: 80px;
    border-top: 3px solid rgba(0, 165, 159, 0.1);
}

.back-to-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--darker-teal));
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 165, 159, 0.3);
    position: relative;
    overflow: hidden;
}

.back-to-courses-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.back-to-courses-btn:hover::before {
    width: 300px;
    height: 300px;
}

.back-to-courses-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), #ff9800);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 165, 159, 0.4);
    color: white;
}

.back-to-courses-btn svg,
.back-to-courses-btn span {
    position: relative;
    z-index: 1;
}

/* Responsive Course Pages */
@media (max-width: 1024px) {
    .course-list-link {
        grid-template-columns: 300px 1fr;
        gap: 25px;
    }

    .course-main-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .single-course-title {
        font-size: 2.5rem;
    }

    .single-course-header-row {
        gap: 30px;
        padding: 30px;
    }

    .course-header-image-wrapper {
        max-width: 400px;
        height: 350px;
    }

    .single-course-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .courses-list-section {
        padding: 60px 0;
    }

    .courses-list-section .container {
        padding: 0 20px;
    }

    .course-list-link {
        grid-template-columns: 1fr;
    }

    .course-list-image {
        height: 200px;
    }

    .single-course-page {
        padding: 60px 0;
    }

    .single-course-container {
        padding: 0 20px;
    }

    .single-course-header-row {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .course-header-image-col {
        order: -1;
    }

    .course-header-image-wrapper {
        max-width: 100%;
        height: 300px;
    }

    .course-main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-sidebar {
        position: static;
        order: -1;
    }

    .single-course-title {
        font-size: 2rem;
    }

    .single-course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .courses-header h2 {
        font-size: 2.5rem;
    }

    .course-list-content {
        padding: 20px;
    }

    .course-list-title {
        font-size: 1.5rem;
    }

    .course-list-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .course-list-view-btn {
        width: 100%;
        justify-content: center;
    }

    .single-course-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 2rem;
    }

    .course-header-image-wrapper {
        height: 250px;
    }

    .course-meta-card {
        padding: 20px;
    }

    .meta-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .meta-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .meta-value {
        font-size: 1.1rem;
    }
}

.price-currency {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.course-buy-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    width: 40%;
    justify-content: center;
}

.course-buy-btn:hover {
    background: #008a85;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 165, 159, 0.4);
}

.course-buy-btn:active {
    transform: translateY(0);
}

.course-buy-btn .buy-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/*
====================================
صفحه 404 - Error Page
====================================
*/
.error-404-page {
    min-height: calc(100vh - var(--header-height) - 100px);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.error-404-container {
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

/* Background Decorations */
.error-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}



/* Error Content */
.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated 404 Number */
.error-number-wrapper {
    margin-bottom: 40px;
}

.error-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 10rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 165, 159, 0.2);
}


.number-first {
    animation-delay: 0s;
}

.number-last {
    animation-delay: 0.2s;
}

.number-0 {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animated-circle {
    width: 200px;
    height: 200px;
    display: block;
}


/* Error Message */
.error-message {
    margin-bottom: 50px;
}

.error-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: none;
}

.error-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: none;
}

/* Search Box */
.error-search-box {
    max-width: 600px;
    margin: 0 auto 60px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 8px 8px 25px;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
    transform: translateY(-3px);
    border-color: rgba(0, 165, 159, 0.3);
}

.search-icon {
    color: var(--dark-gray);
    flex-shrink: 0;
    filter: none;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 1rem;
    background: transparent;
    color: var(--dark-color);
}

.search-field::placeholder {
    color: var(--medium-gray);
}

.search-submit {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed) ease;
}

.search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
}

/* Quick Links */
.error-quick-links {
    margin-bottom: 60px;
}

.quick-links-title {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: none;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.quick-link {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-color);
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 159, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.3);
    border-color: rgba(0, 165, 159, 0.3);
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
}

.quick-link svg {
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 165, 159, 0.5));
}

.quick-link:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(0, 165, 159, 0.8));
}

.quick-link span {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

/* Fun Element - Robot */
.error-fun-element {
    margin-bottom: 50px;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: none;
    border: 2px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.robot-character {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}


.fun-message {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
    text-shadow: none;
}

/* Action Buttons */
.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.back-button,
.home-button {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: none;
}

.back-button {
    background: #ffffff;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.2);
}

.back-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
    border-color: var(--primary-color);
}

.home-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 165, 159, 0.3);
}

.home-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 165, 159, 0.4);
}

.back-button svg,
.home-button svg {
    transition: transform var(--transition-speed) ease;
}

.back-button:hover svg {
    transform: translateX(-5px);
}

.home-button:hover svg {
    transform: scale(1.2);
}

/*
====================================
رسپانسیو صفحه 404 - موبایل
====================================
*/
@media (max-width: 1024px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
        direction: rtl;
    }

    .about-hero-title {
        font-size: 3rem;
    }

    .about-sarv-container {
        max-width: 500px;
        height: 500px;
    }

    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
        direction: rtl;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-sarv-container {
        max-width: 500px;
        height: 500px;
    }

    .error-number {
        font-size: 8rem;
        gap: 15px;
    }

    .animated-circle {
        width: 160px;
        height: 160px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px 60px;
    }

    .about-hero-content {
        padding: 0 20px;
        gap: 30px;
        direction: rtl;
    }

    .about-hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .about-hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .about-sarv-container {
        max-width: 400px;
        height: 400px;
    }

    .contact-hero {
        padding: 80px 20px 40px;
    }

    .contact-hero-content {
        padding: 0 20px;
        gap: 30px;
        direction: rtl;
    }

    .contact-hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .contact-hero-subtitle {
        text-align: center;
    }

    .contact-sarv-container {
        max-width: 400px;
        height: 400px;
    }

    .error-404-container {
        padding: 40px 15px;
    }

    .error-number {
        font-size: 6rem;
        gap: 10px;
    }

    .animated-circle {
        width: 120px;
        height: 120px;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .search-input-wrapper {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
        gap: 15px;
    }

    .search-field {
        width: 100%;
        padding: 10px;
    }

    .search-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 25px;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-link {
        flex-direction: row;
        justify-content: center;
        padding: 20px;
    }

    .robot-character {
        width: 150px;
        height: 150px;
    }

    .error-fun-element {
        padding: 30px 20px;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .back-button,
    .home-button {
        width: 100%;
        justify-content: center;
    }

}
.mission-vision-container,.contact-content-section .container {
    padding: 60px 40px !important;
}
/* Responsive Design for About Page */
@media (max-width: 1200px) {

    .values-container {
        padding: 60px 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stats-container {
        padding: 60px 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .account-container {
        padding: 60px 40px;
    }

    .account-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-hero-content {
        padding: 30px 20px;
    }

    .about-hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .mission-vision-container {
        padding: 0 20px;
    }

    .mission-box,
    .vision-box {
        padding: 30px 20px;
    }

    .mission-box h2,
    .vision-box h2 {
        font-size: 1.8rem;
    }

    .values-container {
        padding: 0 20px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .stats-container {
        padding: 0 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .contact-content-section {
        padding: 40px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .faq-section {
        padding: 40px 20px;
    }

    .faq-item {
        padding: 20px;
    }

    .account-container {
        padding: 0 20px;
    }

    .account-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-card {
        padding: 30px 20px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .course-stats,
    .consultation-stats {
        flex-direction: column;
        gap: 15px;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logout-options {
        gap: 8px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 4.5rem;
    }

    .animated-circle {
        width: 90px;
        height: 90px;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-description {
        font-size: 0.95rem;
    }
}

/* ===================================
   Social Responsibility Section
   =================================== */

.social-responsibility-section {
    background: transparent;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.social-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px;
    position: relative;
    z-index: 1;
}

.social-header {
    text-align: center;
    margin-bottom: 80px;
}

.social-title-image {
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.social-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Main Card */
.social-main-card {
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.05), rgba(255, 255, 255, 0.8));
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 165, 159, 0.1);
    border: 2px solid rgba(0, 165, 159, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.social-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 165, 159, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.social-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 165, 159, 0.3);
    position: relative;
    z-index: 1;
}

.social-main-icon {
    color: white;
}

.social-main-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--dark-color);
    text-align: center;
    font-family: 'PelakFA', sans-serif;
    position: relative;
    z-index: 1;
}

/* Cards Grid */
.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.social-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 165, 159, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #00D4CC);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 165, 159, 0.15);
    border-color: rgba(0, 165, 159, 0.3);
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 165, 159, 0.1), rgba(0, 212, 204, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.social-card:hover .social-card-icon {
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    transform: scale(1.1) rotate(5deg);
}

.social-card-icon svg {
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.social-card:hover .social-card-icon svg {
    color: white;
}

.social-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
}

.social-card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* Commitment Card */
.social-commitment-card {
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
    border-radius: 20px;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
}

.social-commitment-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.social-commitment-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.commitment-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.commitment-badge svg {
    color: white;
}

.commitment-badge span {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    font-family: 'PelakFA', sans-serif;
}

.commitment-text {
    font-size: 1.2rem;
    line-height: 2;
    color: white;
    text-align: justify;
    font-family: 'PelakFA', sans-serif;
    position: relative;
    z-index: 1;
}

/* Responsive Social Responsibility Section */
@media (max-width: 1024px) {
    .social-container {
        padding: 60px 40px;
    }

    .social-title-image {
        max-width: 400px;
    }

    .social-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .social-main-card {
        padding: 40px;
    }

    .social-commitment-card {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .social-responsibility-section {
        padding: 60px 0;
    }

    .social-container {
        padding: 40px 20px;
    }

    .social-header {
        margin-bottom: 50px;
    }

    .social-title-image {
        max-width: 350px;
    }

    .social-content {
        gap: 40px;
    }

    .social-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-main-card {
        padding: 30px;
        border-radius: 16px;
    }

    .social-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .social-main-icon {
        width: 50px;
        height: 50px;
    }

    .social-main-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .social-card {
        padding: 30px 25px;
    }

    .social-card-icon {
        width: 70px;
        height: 70px;
    }

    .social-card-icon svg {
        width: 35px;
        height: 35px;
    }

    .social-card-title {
        font-size: 1.2rem;
    }

    .social-card-description {
        font-size: 0.95rem;
    }

    .social-commitment-card {
        padding: 35px 30px;
        border-radius: 16px;
    }

    .commitment-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .social-responsibility-section {
        padding: 50px 0;
    }

    .social-container {
        padding: 30px 15px;
    }

    .social-header {
        margin-bottom: 40px;
    }

    .social-title-image {
        max-width: 280px;
    }

    .social-content {
        gap: 30px;
    }

    .social-main-card {
        padding: 25px 20px;
    }

    .social-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .social-main-icon {
        width: 40px;
        height: 40px;
    }

    .social-main-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .social-card {
        padding: 25px 20px;
    }

    .social-card-icon {
        width: 60px;
        height: 60px;
    }

    .social-card-icon svg {
        width: 30px;
        height: 30px;
    }

    .social-card-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .social-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .social-commitment-card {
        padding: 25px 20px;
    }

    .commitment-badge {
        padding: 10px 20px;
    }

    .commitment-badge svg {
        width: 24px;
        height: 24px;
    }

    .commitment-badge span {
        font-size: 1rem;
    }

    .commitment-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* ===================================
   Partners Section
   =================================== */

.partners-section {
    padding: 100px 0;
    margin: 80px 0 0 0 !important;
    position: relative;
    overflow: visible;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.partners-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.partners-wrapper {
    margin: 0 auto;
    padding: 0 !important;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.partners-header {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

.partners-title-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.partners-container {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00D4CC);
}

.partners-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    margin-top: 0;
    font-family: 'PelakFA', sans-serif;
    text-shadow: none;
}

.partners-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'PelakFA', sans-serif;
}

.partners-slider-wrapper {
    position: relative;
    padding: 20px 0;
    padding-top: 0;
}

.partners-swiper {
    overflow: visible;
}

.partners-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.partners-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    transition: none;
    box-shadow: none;
    border: none;
}

.partner-card:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: none;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    transform: none;
}

/* Responsive Partners Section */
@media (max-width: 1024px) {
    .partners-section {
        padding: 80px 0;
        margin-bottom: 70px;
    }

    .partners-wrapper {
        gap: 50px;
    }

    .partners-title-image {
        max-width: 400px;
    }

    .partners-title {
        font-size: 2.5rem;
    }

    .partners-subtitle {
        font-size: 1.1rem;
    }

    .partner-card {
        width: 180px;
        height: 110px;
    }

    .partner-logo {
        max-height: 100%;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .partners-wrapper {
        gap: 40px;
    }

    .partners-title-image {
        max-width: 300px;
    }

    .partners-title {
        font-size: 2rem;
    }

    .partners-subtitle {
        font-size: 1rem;
    }

    .partner-card {
        width: 160px;
        height: 100px;
    }

    .partner-logo {
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 50px 0;
        margin-bottom: 50px;
    }

    .partners-wrapper {
        gap: 30px;
    }

    .partners-title-image {
        max-width: 250px;
    }

    .partners-title {
        font-size: 1.8rem;
    }

    .partners-subtitle {
        font-size: 0.95rem;
    }

    .partner-card {
        width: 140px;
        height: 90px;
    }

    .partner-logo {
        max-height: 100%;
    }
}

/*
====================================
Single Event Page Styles
====================================
*/

.single-event-page {
    padding: 100px 0;
    background: transparent;
}

.single-event-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

.single-event-header {
    margin-bottom: 50px;
    position: relative;
}

.single-event-header-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.single-event-title-section {
    flex: 1;
    min-width: 0;
}

.single-event-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
    font-family: 'PelakFA', sans-serif;
    text-align: right;
}

.single-event-side-section {
    flex-shrink: 0;
    border: 2px solid rgba(0, 165, 159, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.single-event-status-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-status-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.event-status-badge.event-past {
    background: #6c757d;
}

.single-event-date-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-event-location-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-event-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.single-event-date svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.single-event-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.single-event-location svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.single-event-featured-image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.single-event-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.single-event-body {
    margin-bottom: 60px;
}

.single-event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: justify;
}

.single-event-description p {
    margin-bottom: 20px;
}

.single-event-gallery {
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-family: 'PelakFA', sans-serif;
    text-align: center;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 165, 159, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.single-event-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 165, 159, 0.1);
}

.back-to-events-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-events-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 165, 159, 0.3);
}

/*
====================================
Events Archive Page Styles
====================================
*/

.events-archive-page {
    background: transparent;
}

.events-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.events-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.archive-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: 'PelakFA', sans-serif;
}

.archive-description {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.events-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.archive-event-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.archive-event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 165, 159, 0.3);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.archive-event-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.archive-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-event-card:hover .archive-event-image img {
    transform: scale(1.1);
}

.archive-event-content {
    padding: 25px;
}

.archive-event-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
}

.archive-event-title-section {
    flex: 1;
    min-width: 0;
}

.archive-event-share-section {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.share-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    font-family: 'PelakFA', sans-serif;
    flex-shrink: 0;
}

.share-section-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.archive-event-share-section .share-section-meta,
.archive-event-share-section .share-buttons {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}

.archive-event-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.archive-event-views svg {
    flex-shrink: 0;
}

.archive-event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.archive-event-date svg {
    flex-shrink: 0;
}

.archive-event-share-section .share-buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
}

.archive-event-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.archive-event-location svg {
    flex-shrink: 0;
}

.archive-event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-event-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-events-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Responsive Single Event & Archive */
@media (max-width: 1024px) {
    .single-event-container,
    .events-archive-container {
        padding: 0 40px;
    }

    .single-event-header-wrapper {
        gap: 30px;
    }

    .single-event-title {
        font-size: 2.5rem;
    }

    .single-event-side-section {
        padding: 18px;
        gap: 18px;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .events-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .single-event-page,
    .events-archive-page {
        padding: 60px 0;
    }

    .single-event-container,
    .events-archive-container {
        padding: 0 20px;
    }

    .single-event-header-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .single-event-title-section {
        width: 100%;
    }

    .single-event-title {
        font-size: 2rem;
        text-align: right;
    }

    .single-event-side-section {
        width: 100%;
        padding: 15px;
        gap: 15px;
    }

    .single-event-date,
    .single-event-location {
        font-size: 1rem;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 200px;
    }

    .events-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-title {
        font-size: 2.5rem;
    }
}

/*
====================================
News Archive Page Styles
====================================
*/

.news-archive-page {
    background: transparent;
}

.news-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.news-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.archive-news-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.archive-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 165, 159, 0.3);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.archive-news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.archive-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-news-card:hover .archive-news-image img {
    transform: scale(1.1);
}

.archive-news-content {
    padding: 25px;
}

.archive-news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.archive-news-date svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.archive-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.4;
}

.archive-news-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-news-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Responsive News Archive */
@media (max-width: 1024px) {
    .news-archive-container {
        padding: 0 40px;
    }

    .news-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-archive-page {
        padding: 60px 0;
    }

    .news-archive-container {
        padding: 0 20px;
    }

    .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-title {
        font-size: 2.5rem;
    }
}

/*
====================================
News List Page Styles
====================================
*/

.news-list-section {
    padding: 100px 0;
    background: transparent;
}

.news-list-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: 'PelakFA', sans-serif;
}

.news-header p {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 165, 159, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 165, 159, 0.3);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: 'PelakFA', sans-serif;
    line-height: 1.4;
}

.news-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    margin-top: auto;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.news-date svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.no-news-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.news-pagination {
    text-align: center;
    margin-top: 40px;
}

.news-pagination .page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    padding: 10px 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 165, 159, 0.2);
    transition: all 0.3s ease;
}

.news-pagination .page-numbers a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.news-pagination .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/*
====================================
Single News Page Styles
====================================
*/

.single-news-page {
    padding: 50px 0;
    background: transparent;
}

.single-news-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

.single-news-header {
    margin-bottom: 50px;
    position: relative;
}

.single-news-header-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.single-news-title-section {
    flex: 1;
    min-width: 0;
}

.single-news-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0 0 20px 0;
    font-family: 'PelakFA', sans-serif;
    text-align: right;
}

.single-news-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin: 0;
    text-align: right;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-news-side-section {
    flex-shrink: 0;
    border: 2px solid rgba(0, 165, 159, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.single-news-date-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-news-share-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-news-side-section .share-buttons {
    justify-content: center;
    width: 100%;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'PelakFA', sans-serif;
    white-space: nowrap;
    width: 44px;
    height: 44px;
}

.share-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 165, 159, 0.3);
}

.share-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.share-btn span {
    display: none;
}

.share-copy {
    background: #6c757d;
}

.share-copy:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.share-telegram {
    background: #0088cc;
}

.share-telegram:hover {
    background: #006ba3;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.share-whatsapp {
    background: #25d366;
}

.share-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0126a 100%);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
}

/* Copy success message */
.share-copy.copied {
    background: #28a745;
}

.share-copy.copied::after {
    content: '';
}

.single-news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.single-news-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.single-news-date svg {
    width: 24px;
    height: 24px;
}

.single-news-featured-image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.single-news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.single-news-body {
    margin-bottom: 60px;
}

.single-news-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: justify;
    direction: rtl;
}

.single-news-description p {
    margin-bottom: 20px;
}

.single-news-gallery {
    margin-bottom: 60px;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.single-news-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.single-news-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 165, 159, 0.3);
}

.single-news-gallery .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.single-news-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.single-news-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 165, 159, 0.1);
}

.back-to-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-news-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 165, 159, 0.3);
}

/* Responsive News Pages */
@media (max-width: 1024px) {
    .news-list-section .container {
        padding: 0 40px;
    }

    .single-news-container {
        padding: 0 40px;
    }

    .single-news-title {
        font-size: 2.5rem;
    }

    .news-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .single-news-page,
    .news-list-section {
        padding: 60px 0;
    }

    .single-news-container,
    .news-list-section .container {
        padding: 0 20px;
    }

    .single-news-header-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .single-news-title-section {
        width: 100%;
    }

    .single-news-title {
        font-size: 2rem;
        text-align: right;
        margin-bottom: 15px;
    }

    .single-news-excerpt {
        font-size: 1rem;
        line-height: 1.7;
    }

    .single-news-side-section {
        width: 100%;
    }

    .share-buttons {
        width: 100%;
        justify-content: center;
    }

    .share-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
    }

    .news-header h2 {
        font-size: 2.5rem;
    }

    .news-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .single-news-gallery .gallery-item img {
        height: 200px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .news-header h2 {
        font-size: 2rem;
    }

    .single-news-title {
        font-size: 1.8rem;
        text-align: right;
        margin-bottom: 12px;
    }

    .single-news-excerpt {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .single-news-side-section {
        padding: 15px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        padding: 10px;
        width: 38px;
        height: 38px;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }

    .news-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Archive Event */
@media (max-width: 768px) {
    .archive-event-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .archive-event-title-section {
        width: 100%;
    }

    .archive-event-share-section {
        width: 100%;
    }

    .share-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .share-section-meta {
        width: 100%;
        justify-content: flex-start;
    }

    .archive-event-share-section .share-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .archive-event-header-wrapper {
        gap: 15px;
    }

    .archive-event-share-section {
        width: 100%;
    }

    .share-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .share-section-meta {
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }
}