/* Main CSS File for the Website Template */
/* Author: AI Assistant */
/* Date: 2023 */

/* Theme Variables */
:root {
    --primary-color: #ff4d00;
    --secondary-color: #ff7b00;
    --accent-color: #ffa700;
    --hover-color: #ff2d00;
    --header-gradient: linear-gradient(135deg, #ff4d00, #ff7b00);
    --header-hover: rgba(255, 255, 255, 0.15);
    --header-active: rgba(255, 255, 255, 0.25);
    --header-shadow: 0 2px 15px rgba(255, 77, 0, 0.2);
    --btn-shadow: 0 5px 15px rgba(255, 77, 0, 0.3);
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #fff5f2;
    --border-color: #ffe0d5;
    --shadow-color: rgba(255, 87, 34, 0.1);
    --secondary-text: #666666;
    --header-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: rgba(255, 87, 34, 0.05);
    --btn-hover: #fff0eb;
    --section-bg: #fff8f6;
    --nav-text: #333333;
    --tutorial-tab-bg: #ffffff;
    --tutorial-tab-text: #333333;
    --faq-question-bg: #fff5f2;
    --stat-label: #666666;
    --primary-gradient: linear-gradient(135deg, #ff5722, #ff9800);
    --secondary-gradient: linear-gradient(135deg, #ff7043, #ff9800);
    --accent-gradient: linear-gradient(135deg, #ff6e40, #ff9100);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --shadow-color: rgba(255, 87, 34, 0.2);
    --secondary-text: #b0b0b0;
    --header-bg: rgba(26, 26, 26, 0.95);
    --card-shadow: rgba(255, 87, 34, 0.1);
    --btn-hover: #333333;
    --section-bg: #222222;
    --nav-text: #ffffff;
    --tutorial-tab-bg: #2d2d2d;
    --tutorial-tab-text: #ffffff;
    --faq-question-bg: #2d2d2d;
    --stat-label: #b0bec5;
    --header-hover: rgba(255, 77, 0, 0.2);
    --header-active: rgba(255, 77, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

body {
    direction: rtl;
    text-align: right;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color:rgb(255, 255, 255);
    transition: all 0.3s ease;
}

a:hover {
    color:rgb(212, 212, 212);
}

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2rem;
    color: #ff5722;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--secondary-text);
    text-align: center;
    margin-bottom: 30px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
}

.download-btn {
    background: var(--primary-gradient);
    color: white !important;
    border: none;
    margin: 0 5px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    font-size: 1.1rem;
    padding: 12px 30px;
}

.download-btn:hover {
    background: var(--secondary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    color: white !important;
}

.telegram-btn {
    background: #0088cc;
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-btn:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.telegram-btn i {
    font-size: 1.2rem;
}

.tutorial-btn {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.tutorial-btn:hover {
    background: linear-gradient(135deg, #43a047, #7cb342);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: white;
}

.support-btn {
    background: linear-gradient(135deg, #2196f3, #03a9f4);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.support-btn:hover {
    background: linear-gradient(135deg, #1976d2, #039be5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    color: white;
}

/* Updated Header & Navigation Styles */
.main-header {
    background: var(--header-gradient);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--header-shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item {
    text-decoration: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-hover);
    border-radius: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.nav-item:hover::before {
    transform: translateY(0);
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item.active {
    background: var(--header-active);
    font-weight: bold;
}

.nav-item i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.nav-item span {
    position: relative;
    z-index: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--header-hover);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        display: none;
    position: absolute;
        top: 100%;
        right: 0;
    left: 0;
        background: var(--header-gradient);
        padding: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        box-shadow: var(--header-shadow);
        border-radius: 0 0 15px 15px;
        animation: slideDown 0.3s ease;
}

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-item {
        padding: 12px 20px;
        border-radius: 8px;
        justify-content: flex-start;
    }

    .header-container .nav-menu:last-child {
        position: static;
        margin-top: 0;
        flex-direction: row;
        justify-content: flex-end;
        gap: 10px;
        padding: 15px;
        background: var(--header-hover);
        border-radius: 8px;
    }

    .telegram-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

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

    .nav-item {
        font-size: 0.9rem;
        padding: 10px 15px;
}

    .telegram-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
}

/* Hero Section Styles */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-content {
    flex: 0 0 50%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.download-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-buttons .purchase-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-buttons .purchase-btn:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.download-buttons .purchase-btn i {
    font-size: 1.1rem;
}

.hero-image {
    flex: 0 0 45%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

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

/* Apps Section Styles */
.apps-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.app-title {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.app-platform {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.app-name {
    color: var(--text-color);
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff7043, #e64a19);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Theme Toggle Button Styles */
.theme-toggle {
    background: var(--header-hover);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--header-active);
    transform: rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* Tutorial Section Styles */
.tutorial-section {
    padding: 60px 0;
    background-color: var(--section-bg);
}

.tutorial-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background-color: var(--card-bg);
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 5px 10px;
    background-color: var(--tutorial-tab-bg);
    border: 2px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    color: var(--tutorial-tab-text);
}

.tab-btn:hover {
    border-color: #ff9800;
    color: #ff5722;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #ffffff;
    border-color: transparent;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tutorial-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tutorial-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.tutorial-header img {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    border-radius: 10px;
}

.tutorial-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.tutorial-steps {
    padding: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-left: 15px;
    flex-shrink: 0;
}

.step p {
    flex: 1;
}

.tutorial-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* FAQ Section Styles */
.faq-section {
    padding: 60px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--faq-question-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.faq-icon {
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 1000px;
}

/* Support Section Styles */
.support-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ff5722;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.support-card p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

/* Footer Styles */
.main-footer {
    background-color: #263238;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #b0bec5;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #ff5722;
}

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

.footer-links ul li a {
    color: var(--secondary-text);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ff5722;
    padding-right: 5px;
}

.footer-contact p {
    color: #b0bec5;
    margin-bottom: 10px;
}

.footer-contact p i {
    margin-left: 10px;
    color: #ff5722;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0bec5;
    font-size: 0.9rem;
}

/* Animation Styles */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.download-btn:hover {
    animation: pulse 1s infinite;
}

/* Custom Styles for App Categories */
.android-btn {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.android-btn:hover {
    background: linear-gradient(135deg, #43A047, #7CB342);
}

.ios-btn {
    background: linear-gradient(135deg, #2196F3, #03A9F4);
}

.ios-btn:hover {
    background: linear-gradient(135deg, #1976D2, #039BE5);
}

/* Add Font Face for Vazirmatn Font */
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Header buttons container */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Locations Section Styles */
.locations-section {
    padding: 60px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

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

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--card-bg);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
}

.stat-info {
    text-align: right;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.stat-label {
    display: block;
    color: var(--stat-label);
    font-size: 0.9rem;
}

.locations-map {
    position: relative;
    margin-top: 50px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.map-image {
    width: 100%;
    height: auto;
    opacity: 0.6;
}

.server-locations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.location-item {
    position: absolute;
    transform: translate(-50%, -50%);
}

.location-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff5722;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-dot 2s infinite;
}

.location-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 87, 34, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
}

.location-info {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.location-item:hover .location-info {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.location-info img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.location-info span {
    font-size: 0.9rem;
    color: var(--text-color);
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

@keyframes pulse-dot {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive styles for locations section */
@media (max-width: 768px) {
    .stats-container {
        gap: 20px;
    }
    
    .stat-item {
        padding: 10px 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .location-info {
        padding: 5px 10px;
    }
    
    .location-info img {
        width: 16px;
        height: 12px;
    }
    
    .location-info span {
        font-size: 0.8rem;
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

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

.pricing-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.pricing-subtitle {
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 15px;
}

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

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #ff5722;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.1);
}

.pricing-card.featured::before {
    content: 'پیشنهاد ویژه';
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.plan-duration {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.plan-type {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.pricing-card-price {
    margin: 30px 0;
    position: relative;
    display: inline-block;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff5722;
}

.currency {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-right: 5px;
}

.pricing-card-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    color: var(--secondary-text);
}

.feature-value {
    color: var(--text-color);
    font-weight: 500;
}

.feature-flags {
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-flags img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.more-flags {
    background: var(--card-bg);
    color: var(--secondary-text);
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.purchase-btn {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    margin-top: 20px;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    color: white;
}

.purchase-btn i {
    margin-left: 8px;
}

.payment-methods {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.payment-methods h3 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.payment-icons img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-methods p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Responsive styles for pricing section */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card:hover {
        transform: translateY(-5px);
    }
}

/* Payment Section Styles */
.payment-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
}

.payment-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.payment-header p {
    color: var(--secondary-text);
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-details {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--secondary-text);
}

.detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.detail-value.price {
    color: #ff5722;
    font-size: 1.2rem;
    font-weight: bold;
}

.payment-actions {
    display: grid;
    gap: 15px;
}

.payment-btn,
.telegram-payment-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-btn {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    border: none;
    cursor: pointer;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.telegram-payment-btn {
    background: #0088cc;
    color: white;
}

.telegram-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.payment-note {
    margin-top: 30px;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.payment-note i {
    color: #ff5722;
    margin-left: 5px;
}

/* Verification Section Styles */
.verification-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
}

.verification-container {
    max-width: 600px;
    margin: 0 auto;
}

.verification-status {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.verification-status.success .status-icon {
    color: #4caf50;
}

.verification-status.error .status-icon {
    color: #f44336;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.verification-status h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.verification-status p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.transaction-details {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
}

.transaction-details p {
    margin-bottom: 15px;
}

.next-steps {
    text-align: right;
    margin-top: 20px;
}

.next-steps p {
    margin-bottom: 10px;
}

.next-steps i {
    margin-left: 8px;
    color: #ff5722;
}

.verification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.home-btn,
.retry-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.home-btn {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.home-btn:hover {
    background: var(--btn-hover);
}

.retry-btn {
    background: #ff5722;
    color: white;
}

.retry-btn:hover {
    background: #f4511e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

/* Download Apps Section Styles */
.download-apps-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--section-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--secondary-text);
}

.platform-icons,
.messenger-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 120px;
    box-shadow: 0 10px 30px var(--shadow-color);
    max-width: 800px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
}

.icon-box:hover::before {
    opacity: 1;
}

.icon-box img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

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

.icon-box span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Responsive styles for download section */
@media (max-width: 768px) {
    .platform-icons,
    .messenger-icons {
        flex-wrap: wrap;
        gap: 20px;
        padding: 15px;
    }

    .icon-box {
        width: calc(50% - 20px);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .icon-box {
        width: calc(50% - 10px);
        padding: 10px;
    }

    .icon-box img {
        width: 40px;
        height: 40px;
    }

    .icon-box span {
        font-size: 0.8rem;
    }
}

        .platform-icons,
        .messenger-icons {
            display: flex;
            justify-content: center;
            align-items: stretch;
            gap: 25px;
            margin: 40px auto;
            padding: 30px;
            max-width: 1000px;
            position: relative;
            z-index: 2;
        }

        .platform-icons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 40px auto;
            padding: 25px;
            max-width: 1000px;
            background: var(--card-bg);
            border-radius: 25px;
            box-shadow: 0 10px 30px var(--shadow-color);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
        }

        .messenger-icons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 40px auto;
            padding: 25px;
            max-width: 1000px;
            background: var(--card-bg);
            border-radius: 25px;
            box-shadow: 0 10px 30px var(--shadow-color);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
        }

        .icon-box {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 20px;
            border-radius: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            text-decoration: none;
            min-width: 140px;
            background: var(--bg-color);
            border: 1px solid var(--border-color);
        }

        .icon-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 152, 0, 0.1));
            border-radius: 20px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .icon-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .icon-box:hover::before {
            opacity: 1;
        }

        .icon-wrapper {
            position: relative;
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 18px;
            padding: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .icon-box:hover .icon-wrapper {
            transform: scale(1.1);
        }

        .icon-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .platform-badge {
            position: absolute;
            top: -10px;
            right: -10px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: bold;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .platform-name,
        .app-name {
            font-size: 1rem;
            color: var(--text-color);
            font-weight: 500;
            text-align: center;
        }

        .download-label,
        .support-label {
            font-size: 0.8rem;
            color: #4CAF50;
            background: rgba(76, 175, 80, 0.1);
            padding: 4px 12px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .icon-box:hover .download-label,
        .icon-box:hover .support-label {
            background: #4CAF50;
            color: white;
        }

        @media (max-width: 768px) {
            .platform-icons,
            .messenger-icons {
                flex-wrap: wrap;
                gap: 15px;
                padding: 20px;
            }

            .icon-box {
                flex: 1 1 calc(50% - 15px);
                min-width: 120px;
                padding: 15px;
            }

            .icon-wrapper {
                width: 50px;
                height: 50px;
                padding: 8px;
            }

            .platform-name,
            .app-name {
                font-size: 0.9rem;
            }

            .download-label,
            .support-label {
                font-size: 0.75rem;
                padding: 3px 8px;
            }

            .platform-badge {
                font-size: 0.65rem;
                padding: 3px 6px;
            }
        }

/* Download Page Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #ff5722, #ff9800);
    --secondary-gradient: linear-gradient(135deg, #ff7043, #ff9800);
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
}

.download-page {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 70vh;
}

.download-container {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 30px auto;
    max-width: 1000px;
}

.download-header {
    background: var(--primary-gradient);
    color: white;
    padding: 40px;
    text-align: center;
}

.download-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.download-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-header p {
    opacity: 0.9;
    font-size: 1.2rem;
}

.download-content {
    padding: 30px;
    background: var(--card-bg);
}

.app-info {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-details {
    flex: 1;
}

.app-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.app-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: var(--bg-color);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.app-meta-item i {
    color: #ff5722;
}

.download-button {
    text-align: center;
    margin: 30px 0;
}

.download-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.download-note {
    background-color: var(--card-bg);
    border-right: 4px solid #ff5722;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
}

.download-note h3 {
    color: #ff5722;
    margin-bottom: 10px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-note p {
    color: var(--text-color);
}

.installation-steps {
    margin-top: 40px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
}

.installation-steps h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.installation-steps h3 i {
    color: #ff5722;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    margin-bottom: 15px;
    padding-right: 35px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 30px;
    color: var(--text-color);
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.alternative-downloads {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.alternative-downloads h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alternative-downloads h3 i {
    color: #ff5722;
}

.alt-download-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.alt-download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.alt-download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
    border-color: #ff5722;
}

.alt-app-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.alt-app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alt-app-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.alt-app-version {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.alt-download-item i {
    color: #ff5722;
    font-size: 1.2rem;
    margin-right: auto;
}

.no-alternatives {
    text-align: center;
    padding: 20px;
    color: var(--secondary-text);
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .alt-download-list {
        grid-template-columns: 1fr;
    }
    
    .alt-download-item {
        padding: 12px;
    }
    
    .alt-app-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .alt-app-name {
        font-size: 1rem;
    }
    
    .alt-app-version {
        font-size: 0.8rem;
    }
}

/* Tab Styles */
.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
    }
    
.tab-pane.active {
    display: block;
}

.tab-link {
    position: relative;
    color: var(--text-color) !important;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.tab-link:hover::after,
.tab-link.active::after {
    width: 100%;
}

.tab-link.active {
    color: #ff5722 !important;
}

.tutorial-content,
.about-content {
    padding: 30px;
}

.tutorial-content h2,
.about-content h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    }
    
.about-description {
    color: var(--text-color);
    line-height: 1.8;
    text-align: justify;
}

.app-features {
    margin-top: 30px;
    background: var(--card-bg);
        padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    }
    
.app-features h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.app-features ul {
    list-style: none;
    padding: 0;
}

.app-features li {
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
        align-items: center;
    gap: 10px;
}

.app-features li i {
    color: #ff5722;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Page Styles */
.contact-hero {
    background: var(--primary-gradient);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

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

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.contact-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.contact-stats .stat-item i {
    font-size: 2rem;
    color: white;
}

.contact-stats .stat-info {
    text-align: right;
}

.contact-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

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

/* Contact Methods Section */
.contact-methods {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.method-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

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

.method-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.method-card p {
    color: var(--secondary-text);
    margin-bottom: 25px;
}

.method-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff5722;
    font-weight: 500;
    transition: all 0.3s ease;
}

.method-link:hover {
    gap: 15px;
    color: #ff7043;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--secondary-text);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    right: 15px;
    color: var(--secondary-text);
    transition: all 0.3s ease;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group.focused i {
    color: #ff5722;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
    outline: none;
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
        justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    }
    
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

/* Contact FAQ Section */
.contact-faq {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.faq-header h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.faq-header p {
    color: var(--secondary-text);
}

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

.faq-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.faq-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.faq-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.faq-card p {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.map-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-info {
    padding: 30px;
    background: var(--primary-gradient);
    color: white;
}

.map-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.map-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.map-info i {
    font-size: 1.2rem;
}

.map-frame {
    position: relative;
    min-height: 400px;
    background: var(--bg-color);
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--secondary-text);
    font-size: 1.2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: #ff5722;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-stats {
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-frame {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 40px 0;
    }

    .method-card {
        padding: 30px 20px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 15px 0;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.notification .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification.error .container {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.notification.success .container {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.close-notification {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-notification:hover {
    opacity: 1;
}

/* Registration popup styles are in main.js */
