/* Landing Page Styles - دانشگاهیان ISIC */

/* Variables */
:root {
    --primary-color: #0A58A6;
    --accent-color: #FFB400;
    --neutral-bg: #FAFBFD;
    --text-color: #0F1724;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
body {
    font-family: 'IRANSans', 'Vazirmatn', 'iransans', 'Tahoma', sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6b 30%, #2d5f4f 70%, #1e5f3a 100%);
    background-attachment: fixed;
    direction: rtl;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Floating Registration Button - Mobile Only */
.floating-register-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'IRANSans', 'Vazirmatn', 'iransans', 'Tahoma', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(10, 88, 166, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
    animation: pulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-register-btn.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-register-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(10, 88, 166, 0.5);
    background: linear-gradient(135deg, #084a8a 0%, var(--primary-color) 100%);
}

.floating-register-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.floating-register-btn i {
    font-size: 20px;
}

.floating-register-btn .btn-text {
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(10, 88, 166, 0.4);
    }

    50% {
        box-shadow: 0 8px 24px rgba(10, 88, 166, 0.6), 0 0 0 8px rgba(10, 88, 166, 0.1);
    }
}

/* Responsive Floating Button - Mobile */
@media (max-width: 768px) {
    .floating-register-btn {
        display: flex !important;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        min-width: auto;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 50px;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .floating-register-btn.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .floating-register-btn .btn-text {
        display: inline;
    }
}

@media (max-width: 480px) {
    .floating-register-btn {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 14px 20px;
        font-size: 14px;
    }

    .floating-register-btn i {
        font-size: 18px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 10px 0;
    background-image: url('https://isic.ir/wp-content/uploads/2025/06/isic-iran.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 88, 166, 0.85) 0%, rgba(8, 74, 138, 0.9) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Registration Form - Glassmorphism */
.hero-form-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    width: 500px;
    max-width: calc(100vw - 40px);
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hero-form-container.show-form {
    z-index: 1000;
}

.hero-form-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
}

/* Form actions container */
.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Close button for form - next to submit button */
.close-form-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #F3F4F6;
    border: 2px solid #E5E7EB;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-form-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: var(--white);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.close-form-btn:active {
    transform: rotate(90deg) scale(0.95);
}

/* Hide form when scrolling to white sections on mobile */
@media (max-width: 768px) {
    .hero-form-container {
        z-index: 10000;
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
        width: 100vw;
        max-width: 100vw;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    .hero-form-container.show-form {
        z-index: 10000;
        display: block !important;
    }

    .hero-form-container.desktop-only-form {
        display: none !important;
    }

    .hero-form-container.desktop-only-form.show-form {
        display: block !important;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .hero-form-container.hidden {
        display: none !important;
    }

    /* Adjust glass-form-card for full width */
    .hero-form-container .glass-form-card {
        border-radius: 24px 24px 0 0;
        margin: 0;
        padding: 1.5rem;
    }
}


.glass-form-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(10, 88, 166, 0.15);
    width: 100%;
    max-height: none;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.form-title {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.glass-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'IRANSans', 'Vazirmatn', 'iransans', sans-serif;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 88, 166, 0.1);
    color: var(--text-color);
}

.form-group input.error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.error-message {
    display: block;
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    min-height: 1rem;
    font-weight: 500;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--white);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-label a:hover {
    color: var(--accent-color);
}

.glass-btn {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'IRANSans', 'Vazirmatn', 'iransans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 88, 166, 0.2);
}

.glass-btn:hover:not(:disabled) {
    background: #084a8a;
    border-color: #084a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 88, 166, 0.4);
}

.glass-btn:active:not(:disabled) {
    transform: translateY(0);
}

.glass-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* OTP Verification */
.otp-verification {
    margin-top: 0.75rem;
}

.otp-verification .form-title {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.otp-message {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.otp-inputs {
    display: flex;
    direction: ltr;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--white);
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.otp-input::placeholder {
    color: var(--text-light);
}

.otp-input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 88, 166, 0.1);
    color: var(--text-color);
}

/* OTP Actions Container */
.otp-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.resend-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resend-timer {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.glass-resend {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.glass-resend:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(10, 88, 166, 0.2);
}

/* Benefits Section */
.benefits-section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Benefits Grid Responsive */
@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-section {
        min-height: 85vh;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Card Images Section */
.card_images_section {
    background: linear-gradient(135deg, rgba(10, 88, 166, 0.1) 0%, rgba(10, 88, 166, 0.05) 100%);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.card-info-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.card-info-content {
    width: 100%;
}

.card-info-icon {
    font-size: 4rem;
    /* margin-bottom: 1.5rem; */
    position: absolute;
    left: 48%;
    top: 57%;
}

.card-info-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-info-description {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.card-info-value {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
}

.card-info-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.card-info-images img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .card-info-box {
        padding: 2rem 1.5rem;
    }

    .card-info-title {
        font-size: 1.5rem;
    }

    .card-info-description {
        font-size: 1rem;
    }

    .card-info-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Discounts Section */
.discounts-section {
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.discounts-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

.discounts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.discounts-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.discounts-table th {
    padding: 0.875rem 1.05rem;
    text-align: right;
    font-weight: 700;
    font-size: 0.88rem;
}

.discounts-table tbody tr {
    border-bottom: 1px solid #E5E7EB;
    transition: background 0.3s ease;
}

.discounts-table tbody tr:hover {
    background: rgba(10, 88, 166, 0.05);
}

.discounts-table tbody tr:last-child {
    border-bottom: none;
}

.discounts-table td {
    padding: 0.875rem 1.05rem;
    color: var(--text-color);
    vertical-align: middle;
}

.discounts-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 35%;
}

.category-icon {
    margin-left: 0.5rem;
    font-size: 0.96rem;
}

.download-pdf {
    text-align: center;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    background: #084a8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Courses Section */
.courses-section {
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.courses-info {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.course-stat {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Trust Section */
.trust-section {
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.25) 0%, rgb(255, 179, 0) 100%);
    /* background: linear-gradient(135deg, rgba(100, 150, 255, 0.25) 0%, rgba(255, 165, 100, 0.2) 100%); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: right;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    gap: 1rem;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 180, 255, 0.15) 0%, rgba(255, 180, 120, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.stat-card>* {
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(120, 170, 255, 0.3) 0%, rgba(255, 175, 120, 0.25) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-icon {
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0.1) 100%);
    box-shadow:
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-icon i {
    display: inline-block;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.4),
        1px 1px 0 rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow:
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.stat-card:hover .stat-icon i {
    text-shadow:
        -2px -2px 0 rgba(255, 255, 255, 0.5),
        2px 2px 0 rgba(0, 0, 0, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.stat-card .stat-content {

    flex: 1;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.testimonials {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.testimonials h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials-simple {
    position: relative;
    min-height: 400px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(10, 88, 166, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 0.88rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: justify;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
}



/* Motivational CTA Section */
.motivational-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6b 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.motivational-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.motivational-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.motivational-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: blink-attention 2s ease-in-out infinite;
    position: relative;
}

@keyframes blink-attention {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
    }

    25% {
        opacity: 0.7;
        transform: scale(1.02);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.7);
    }

    75% {
        opacity: 0.8;
        transform: scale(1.01);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 255, 255, 0.4);
    }
}

.motivational-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.motivational-btn {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'IRANSans', 'Vazirmatn', 'iransans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 180, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.motivational-btn:hover {
    background: #e6a200;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 180, 0, 0.5);
}

.motivational-btn:active {
    transform: translateY(-1px);
}

.motivational-btn i {
    font-size: 1.3rem;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Modal Form Styles */
.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content .form-group label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.modal-content .form-group input[type="text"],
.modal-content .form-group input[type="tel"] {
    background: var(--neutral-bg);
    border: 2px solid #E5E7EB;
    color: var(--text-color);
    padding: 0.875rem;
    border-radius: 10px;
}

.modal-content .form-group input:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(10, 88, 166, 0.1);
}

.modal-content .submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 1rem;
}

.modal-content .submit-btn:hover:not(:disabled) {
    background: #084a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 88, 166, 0.3);
}

/* Alert */
#alert-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    max-width: 500px;
    width: 90%;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #10B981;
    color: var(--white);
}

.alert-danger {
    background: #EF4444;
    color: var(--white);
}

/* Responsive */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    /* Hide form on mobile - only show floating button */
    .desktop-only-form {
        display: none !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .discounts-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider-container {
        padding: 0;
    }

    .testimonial-item {
        flex: 0 0 100%;
    }

    .slider-navigation {
        margin-top: 2rem;
    }

    .motivational-title {
        font-size: 2rem;
    }

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

    .motivational-box {
        padding: 3.5rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .testimonial-item {
        padding: 1.5rem;
    }

    .discounts-table-wrapper {
        padding: 1rem;
    }

    .discounts-table {
        font-size: 0.85rem;
    }

    .discounts-table th,
    .discounts-table td {
        padding: 0.75rem;
    }

    .discounts-table td:first-child {
        width: 45%;
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
        margin: 1rem;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .motivational-title {
        font-size: 1.8rem;
    }

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

    .motivational-box {
        padding: 3rem 2rem;
    }

    .motivational-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}