:root {
    --primary-color: #000000;
    --secondary-color: #04ecff;
    --accent-color: #ff1cf8;
    --dark-bg: #0a0a0a;
    --hover-gradient: linear-gradient(270deg, #04ecff 0%, #ff1cf8 100%);
    --shadow-color: rgba(97, 196, 255, 0.5);
    --glow-effect: 0 0 20px rgba(97, 196, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazirmatn, Tahoma, sans-serif;
    background: var(--primary-color);
    color: white;
    line-height: 1.8;
    overflow-x: hidden;
}

.hero-section {
    background:
        linear-gradient(135deg,
            rgba(4, 236, 255, 0.1) 0%,
            rgba(255, 28, 248, 0.1) 100%),
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)),
        url('../Images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--hover-gradient);
    opacity: 0.1;
    z-index: 1;
    animation: gradientMove 3s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite alternate;

}

@keyframes glow {
    from {
        text-shadow: 0 0 10px var(--shadow-color);
    }

    to {
        text-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-color);
    }
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
}

.section-title {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    animation: gradientMove 3s ease infinite;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        #04ecff 0%, 
        #ff1cf8 25%, 
        #04ecff 50%, 
        #ff1cf8 75%, 
        #04ecff 100%);
    border-radius: 2px;
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite,
               widthPulse 2s ease-in-out infinite alternate;
}

@keyframes gradientFlow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes widthPulse {
    from {
        width: 80px;
    }
    to {
        width: 120px;
    }
}


.coach-card {
    background: linear-gradient(135deg, rgba(4, 236, 255, 0.05), rgba(255, 28, 248, 0.05));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(4, 236, 255, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.coach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.coach-card:hover::before {
    opacity: 0.1;
}

.coach-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.05) 0%,
            rgba(255, 28, 248, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(4, 236, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card {
    min-height: 180px;
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.schedule-table {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.05) 0%,
            rgba(255, 28, 248, 0.05) 100%);
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(4, 236, 255, 0.2);
}

.schedule-table th {
    background: var(--hover-gradient);
    color: white;
    white-space: nowrap;
    font-weight: bold;
    border: none;
}

.schedule-table td,
.schedule-table th {
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(4, 236, 255, 0.1);
}

.schedule-table tr:nth-child(even) {
    background: rgba(4, 236, 255, 0.02);
}

.schedule-table tr:hover {
    background: rgba(255, 28, 248, 0.05);
}

.branch-card {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.05) 0%,
            rgba(255, 28, 248, 0.05) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(4, 236, 255, 0.2);
    margin-bottom: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.branch-card:hover {
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.branch-icon {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-left: 10px;
}

.cta-button {
    background: linear-gradient(90deg, #04ecff 0%, #ff1cf8 100%) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    box-shadow: none !important;
}

.cta-button:hover {
    background-position: 100% 0% !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(97, 196, 255, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

/* حذف استایل‌های پیش‌فرض Bootstrap */
.btn.cta-button {
    background: linear-gradient(90deg, #04ecff 0%, #ff1cf8 100%) !important;
    border: none !important;
    box-shadow: none !important;
}

.btn.cta-button:focus,
.btn.cta-button:active {
    box-shadow: 0 0 0 0.2rem rgba(4, 236, 255, 0.25) !important;
    background: linear-gradient(90deg, #04ecff 0%, #ff1cf8 100%) !important;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-effect);
}

.cta-button:hover::before {
    opacity: 1;
}

.social-icon {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
    display: inline-block;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--shadow-color));
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(4, 236, 255, 0.3);
    margin-top: 20px;
    box-shadow: var(--glow-effect);
}

.navbar-brand h2 {
    font-size: 1.5rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-card {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.05) 0%,
            rgba(255, 28, 248, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(4, 236, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.video-caption {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
}

.video-caption h4 {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #e0e0e0;
}

/* استایل‌های جدید برای جدول زمانی */
.schedule-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.day-section {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.05) 0%,
            rgba(255, 28, 248, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(4, 236, 255, 0.3);
    position: relative;
}

.day-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-section:hover::before {
    opacity: 0.05;
}

.day-header {
    padding: 25px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.day-header.even-day {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.8) 0%,
            rgba(255, 28, 248, 0.6) 100%);
}

.day-header.odd-day {
    background: linear-gradient(135deg,
            rgba(255, 28, 248, 0.8) 0%,
            rgba(4, 236, 255, 0.6) 100%);
}

.day-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.day-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 25px;
    position: relative;
    z-index: 2;
}

.class-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(4, 236, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.class-card:hover::before {
    opacity: 0.1;
}

.class-card.even {
    border-right: 4px solid var(--secondary-color);
}

.class-card.odd {
    border-right: 4px solid var(--accent-color);
}

.class-time {
    min-width: 100px;
    position: relative;
    z-index: 2;
}

.time-badge {
    background: linear-gradient(90deg, #04ecff 0%, #ff1cf8 100%) !important;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
    display: inline-block;
    font-family: Vazirmatn, Tahoma;
    /* border: 1px solid rgba(4, 236, 255, 0.3); */
}

.class-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.class-info h4 {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.class-gender {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gender-icon {
    font-size: 0.8rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.class-coach {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0;
}

.class-icon {
    font-size: 2rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.class-card:hover .class-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* استایل‌های رسپانسیو */
@media (max-width: 992px) {
    .hero-section {
        height: 60vh;
    }

    .coach-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .navbar-brand h2 {
        font-size: 1.3rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .schedule-table td,
    .schedule-table th {
        padding: 8px;
        font-size: 0.9rem;
    }

    .classes-grid {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }

    .class-card {
        padding: 15px;
    }

    .day-header {
        padding: 20px;
    }

    .day-header h3 {
        font-size: 1.3rem;
    }

    .class-icon {
        font-size: 1.5rem;
    }

    .time-badge {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .coach-img {
        height: 200px;
    }

    .schedule-table {
        display: block;
        overflow-x: auto;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .schedule-cards {
        gap: 20px;
    }

    .class-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .class-time {
        min-width: auto;
    }

    .class-info h4 {
        font-size: 1rem;
    }

    .class-gender {
        justify-content: center;
    }
}

/* استایل‌های بخش ورزش‌ها */
#sports .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

#sports .feature-card {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

#sports .feature-icon i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

#sports .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 576px) {
    #sports .feature-card {
        padding: 0.5rem;
    }

    #sports .feature-icon i {
        font-size: 1.5rem;
    }

    #sports .feature-card h3 {
        font-size: 0.9rem;
    }
}

/* استایل‌های کمکی */
.secCol {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.posRel {
    position: relative;
    overflow: hidden;
}

.flag {
    transform: rotate(320deg);
    display: block;
    margin-left: auto;
    position: absolute;
    top: 10px;
    right: -15px;
    width: 20vw;
    max-width: 300px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 0 10px var(--shadow-color));
}

.colInh {
    color: inherit;
    text-decoration: none;
}

.gradient {
    background: linear-gradient(135deg,
            rgba(4, 236, 255, 0.1) 0%,
            rgba(255, 28, 248, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(4, 236, 255, 0.3);
    box-shadow: var(--glow-effect);
}

.spName {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.h_iframe-aparat_embed_frame {
    position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.disBlo {
    display: block;
    padding-top: 57%;
}

.gra {
    color: var(--hover-gradient);
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease infinite;
    background-size: 200% 100%;
    /* display: inline-block; */
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* 🔥 استایل‌های نوبار - نسخه نهایی اصلاح شده */
body {
    padding-top: 70px; /* فضا برای نوبار فیکس شده */
}

.navbar {
    background: rgba(0, 0, 0, 0.97) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    height: 70px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-right: 45px;
    margin: 0;
    transition: all 0.3s ease;
}

.navbar-brand h2 i {
    font-size: 1.7rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: dumbbellPulse 2s infinite ease-in-out;
}

/* ✅ افکت پالس دمبل */
@keyframes dumbbellPulse {
    0%, 100% { 
        transform: translateY(-50%) scale(1);
        filter: drop-shadow(0 0 5px var(--secondary-color));
    }
    50% { 
        transform: translateY(-50%) scale(1.1);
        filter: drop-shadow(0 0 15px var(--secondary-color));
    }
}

.navbar-brand:hover h2 i {
    animation: dumbbellSpin 0.6s ease;
}

@keyframes dumbbellSpin {
    0% { transform: translateY(-50%) rotate(0); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* استایل اصلی نوبار لینک‌ها */
.navbar-nav {
    gap: 3px;
}

.nav-link {
    color: #ddd !important;
    font-weight: 500;
    padding: 10px 5px !important;
    margin: 0 3px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

/* ✅ صفحه اصلی در ابتدا بولد نباشد */
.nav-link[href="#home"] {
    font-weight: 500; /* نه بولد */
}

/* هاور با گرادیان ملایم */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--hover-gradient);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    right: 0;
    opacity: 0.15;
}

/* لینک فعال */
.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 40%;
    height: 2px;
    background: var(--hover-gradient);
    border-radius: 2px;
    animation: lineWidth 2s ease-in-out infinite alternate;
}

@keyframes lineWidth {
    from { width: 40%; }
    to { width: 60%; }
}

/* 🔥 دکمه همبرگری جدید و زیبا */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 8px 12px !important;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(4, 236, 255, 0.5) !important;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}

/* آیکون همبرگری متحرک */
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    right: 0;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-icon::before {
    top: 0;
    transform-origin: right center;
}

.navbar-toggler-icon span {
    top: 9px;
    opacity: 1;
}

.navbar-toggler-icon::after {
    bottom: 0;
    transform-origin: right center;
}

/* انیمیشن تبدیل به X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(-45deg) translateY(0px) translateX(-1px);
    width: 100%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
    transform: translateX(10px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(45deg) translateY(0px) translateX(-1px);
    width: 100%;
}

/* استایل‌های موبایل */
@media (max-width: 992px) {
    body {
        padding-top: 65px;
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        border-radius: 20px;
        padding: 20px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        transform-origin: top;
        animation: collapseSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes collapseSlideDown {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    /* انیمیشن بسته شدن */
    .navbar-collapse.collapsing {
        animation: collapseSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes collapseSlideUp {
        from {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        to {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
    }
    
    .navbar-nav {
        gap: 8px;
        text-align: center;
    }
    
    .nav-link {
        padding: 14px 20px !important;
        margin: 4px 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, 
            rgba(255, 28, 248, 0.15) 0%, 
            rgba(4, 236, 255, 0.15) 100%);
        transform: translateY(-2px);
    }
    
    .navbar {
        height: 65px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        padding: 0.7rem 0;
        height: 60px;
    }
    
    .navbar-brand h2 {
        font-size: 1.3rem;
        padding-right: 35px;
    }
    
    .navbar-brand h2 i {
        font-size: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 12px 16px !important;
    }
    
    .navbar-toggler {
        padding: 7px 10px !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-brand h2 {
        font-size: 1.2rem;
        padding-right: 30px;
    }
    
    .navbar-brand h2 i {
        font-size: 1.3rem;
    }
    
    .navbar-toggler {
        padding: 6px 8px !important;
    }
    
    .navbar-collapse {
        padding: 15px;
        margin-top: 10px;
    }
}

/* انیمیشن ورود نوبار */
@keyframes navbarEntrance {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: navbarEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* دکمه CTA بدون تغییر */
.navbar .cta-button {
    margin-right: 10px;
}

/* اصلاح padding برای بخش‌ها */
section {
    scroll-margin-top: 80px;
}