﻿/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    font-variant-numeric: normal;
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}

/* Persian Numbers Display */
* {
    font-variant-numeric: normal;
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}

/* Force Persian digits for numbers */
input[type="text"],
input[type="number"],
input[type="tel"],
span, p, div, td, th, label, b, strong {
    font-variant-numeric: normal;
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}

/* ==================== Global Anchor Styles ==================== */
a {
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

/* ==================== Loading Animation ==================== */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.book-loader {
    perspective: 1000px;
}

.book {
    position: relative;
    width: 80px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate-book 2s infinite ease-in-out;
}

.page {
    position: absolute;
    width: 40px;
    height: 100px;
    background: linear-gradient(to right, #fff 0%, #f0f0f0 100%);
    border-radius: 0 8px 8px 0;
    transform-origin: left center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.page:nth-child(1) {
    animation: flip-page 2s infinite ease-in-out;
}

.page:nth-child(2) {
    animation: flip-page 2s 0.3s infinite ease-in-out;
}

.page:nth-child(3) {
    animation: flip-page 2s 0.6s infinite ease-in-out;
}

@keyframes rotate-book {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-30deg); }
}

@keyframes flip-page {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-180deg); }
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    margin-top: 30px;
    text-align: center;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==================== Animated Background ==================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    top: 30%;
    left: 50%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 50px) scale(1.05);
    }
}

/* ==================== Navigation ==================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container:hover .logo-icon {
    animation: bounce 0.6s ease;
}

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

.logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #5b4fc7, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate-logo 10s linear infinite;
}

@keyframes rotate-logo {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5b4fc7, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Logo Styles - Different Sizes ==================== */
.logo-img {
    object-fit: contain;
    transition: var(--transition);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.05);
    }
}

/* Small logo for navbar (width: 120-150px) */
.logo-small {
    height: 50px;
    width: auto;
    max-width: 150px;
}

/* Medium logo for headers/footers (width: 200-250px) */
.logo-medium {
    height: 80px;
    width: auto;
    max-width: 250px;
}

/* Large logo for main pages (width: 300-400px) */
.logo-large {
    height: 120px;
    width: auto;
    max-width: 400px;
}

/* Extra large logo for hero sections (width: 500-600px) */
.logo-xl {
    height: 150px;
    width: auto;
    max-width: 600px;
}

.logo-container:hover .logo-img {
    animation: logo-hover-bounce 0.6s ease;
    transform: scale(1.1);
    filter: brightness(1.15);
}

@keyframes logo-hover-bounce {
    0%, 100% {
        transform: scale(1.1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

/* Logo with text below (for footer) */
.logo-with-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-with-text .logo-img {
    margin-bottom: 10px;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-small {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-medium {
        height: 60px;
        max-width: 200px;
    }
    
    .logo-large {
        height: 90px;
        max-width: 300px;
    }
    
    .logo-xl {
        height: 120px;
        max-width: 450px;
    }
}

/* Logo fallback styling */
.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #20b2aa;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-fallback i {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(91, 79, 199, 0.08), rgba(107, 236, 160, 0.08));
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #5b4fc7, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(91, 79, 199, 0.15), rgba(107, 236, 160, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(91, 79, 199, 0.3);
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link i {
    margin-left: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* رنگ‌بندی منوهای اصلی - بنفش پررنگ */
.nav-item:nth-child(1) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(2) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(3) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(4) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(5) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(6) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(7) .nav-link {
    color: #5b4fc7 !important;
}

.nav-item:nth-child(8) .nav-link {
    color: #5b4fc7 !important;
}

/* ==================== Grade Title Banner ==================== */
.grade-title-banner {
    background: linear-gradient(135deg, #5b4fc7 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 10px;
    animation: slideDown 0.5s ease-out;
}

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

.grade-title-banner h4 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.grade-title-banner i {
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* رنگ‌بندی آیکون‌های منو - ملایم */
.nav-link:nth-child(1) i,
.nav-item:nth-child(1) .nav-link i {
    background: linear-gradient(135deg, #8b93db, #a18fc7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(2) i,
.nav-item:nth-child(2) .nav-link i {
    background: linear-gradient(135deg, #ffabc2, #ff7b8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(3) i,
.nav-item:nth-child(3) .nav-link i {
    background: linear-gradient(135deg, #7dc8e7, #5eb8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(4) i,
.nav-item:nth-child(4) .nav-link i {
    background: linear-gradient(135deg, #6beca0, #7efdb6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(5) i,
.nav-item:nth-child(5) .nav-link i {
    background: linear-gradient(135deg, #ff91b5, #ffc4d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(6) i,
.nav-item:nth-child(6) .nav-link i {
    background: linear-gradient(135deg, #ffb347, #ffd68f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(7) i,
.nav-item:nth-child(7) .nav-link i {
    background: linear-gradient(135deg, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:nth-child(8) i,
.nav-item:nth-child(8) .nav-link i {
    background: linear-gradient(135deg, #5b4fc7, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
}

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

.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    color: #5b4fc7;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(91, 79, 199, 0.1);
    color: #5b4fc7 !important;
    transform: translateX(-5px);
}

.dropdown-item i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

/* رنگ‌بندی آیکون‌های dropdown */
.dropdown-menu li:nth-child(1) .dropdown-item i {
    color: #667eea;
}

.dropdown-menu li:nth-child(2) .dropdown-item i {
    color: #10b981;
}

.dropdown-menu li:nth-child(3) .dropdown-item i {
    color: #f59e0b;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.btn-login {
    background: linear-gradient(135deg, #8b93db, #6beca0);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 147, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 147, 219, 0.4);
    color: white;
}

.btn-login i {
    margin-left: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login:hover i {
    transform: translateX(-3px);
    animation: pulse-icon 0.6s ease infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: translateX(-3px) scale(1); }
    50% { transform: translateX(-3px) scale(1.2); }
}

/* Navbar Toggle (Mobile Menu) */
.navbar-toggler {
    border: 2px solid #5b4fc7;
    border-radius: 8px;
    padding: 0.5rem;
    transition: var(--transition);
}

.navbar-toggler:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(91, 79, 199, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235b4fc7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Toggle */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-right: 8px;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ==================== Main Content ==================== */
.main-content {
    min-height: calc(100vh - 400px);
    position: relative;
    z-index: 1;
}

/* ==================== Hero Section ==================== */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white !important;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    text-align:center;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-login-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: .9rem 1.9rem;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary-custom {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

/* ==================== Hero Animation ==================== */
.hero-animation {
    position: relative;
    animation: fadeInUp 1s ease 0.8s both;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 500px;
}

.floating-element {
    position: absolute;
    animation: float-element 6s ease-in-out infinite;
}

.element-book {
    top: 10%;
    right: 10%;
    font-size: 4rem;
    color: var(--primary-color);
    animation-delay: 0s;
}

.element-pencil {
    top: 50%;
    right: 30%;
    font-size: 3.5rem;
    color: var(--accent-color);
    animation-delay: 1s;
}

.element-star {
    top: 70%;
    right: 15%;
    font-size: 3rem;
    color: var(--secondary-color);
    animation-delay: 2s;
}

.element-trophy {
    top: 30%;
    right: 60%;
    font-size: 4rem;
    color: var(--accent-color);
    animation-delay: 1.5s;
}

@keyframes float-element {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* ==================== Cards ==================== */
.card-custom {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
/*    height: 100%;*/
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-custom:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    transition: var(--transition);
}

.card-custom:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.card-icon-secondary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.card-icon-accent {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.card-icon-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

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

.card-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 60px 0;
    border-radius: var(--border-radius);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(6deg, #ffffff, var(--secondary-color));
    /*    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

/* ==================== Footer ==================== */
.footer-custom {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-section {
    margin-bottom: 30px;
}

    .footer-section h5 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b93db, #6beca0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 147, 219, 0.3);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* رنگ‌های خاص برای هر شبکه اجتماعی */
.social-links a:nth-child(1):hover {
    background: linear-gradient(135deg, #E1306C, #C13584);
}

.social-links a:nth-child(2):hover {
    background: linear-gradient(135deg, #0088cc, #0066aa);
}

.social-links a:nth-child(3):hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

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

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

    .contact-info li {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

.contact-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==================== Scroll to Top Button ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b93db, #6beca0);
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(139, 147, 219, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce-in 0.5s ease;
}

@keyframes bounce-in {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(139, 147, 219, 0.4);
    animation: pulse-btn 1s ease infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(139, 147, 219, 0.4);
    }
    50% {
        box-shadow: 0 15px 50px rgba(139, 147, 219, 0.5);
    }
}

.scroll-to-top i {
    animation: arrow-bounce 1.5s ease infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .floating-elements {
        height: 300px;
    }

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

/* ==================== Utility Classes ==================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.text-white {
    background: none;
    color: white !important;
    -webkit-text-fill-color: white;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Inline Styles Converted to CSS Classes ==================== */

/* Text Alignment */
.text-center {
    text-align: center;
}

/* Display */
.display-block {
    display: block;
}

.display-none {
    display: none;
}

/* Logo Container */
.logo-container-center {
    text-align: center;
}

/* Hero Title Sizes */
.hero-title-large {
    font-size: 3rem;
}

.hero-description-medium {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 2rem auto;
}

/* Card Title Sizes */
.card-title-large {
    font-size: 2rem;
}

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

/* Card Text Styles */
.card-text-justify {
    line-height: 2;
    text-align: justify;
}

.card-text-small {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Gradient Cards */
.card-gradient-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.card-gradient-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-gradient-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
}

.card-gradient-info {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    padding: 3rem;
    text-align: center;
}

/* Card Headers */
.card-header-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-header-subtitle {
    text-align: center;
    opacity: 0.95;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card-header-large {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.card-header-medium {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-header-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Logo Filter */
.logo-filter-invert {
    filter: brightness(0) invert(1);
}

/* Buttons */
.btn-logout {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-cta-light {
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    border-width: 2px;
}

.btn-submit-large {
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-guidelines {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Grade Cards */
.grade-card-center {
    text-align: center;
    cursor: pointer;
}

.card-icon-center {
    margin: 0 auto;
}

.card-title-spacing {
    margin-top: 1.5rem;
}

/* Badges */
.badge-gradient-primary {
    background: linear-gradient(135deg, #2563eb, #10b981);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

.badge-gradient-secondary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

.badge-gradient-accent {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

.badge-small {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.badge-medium {
    font-size: 0.9rem;
}

/* Step Cards */
.step-card-current {
    border: 3px solid #f59e0b;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.step-card-completed {
    border: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.3);
/*    background: rgba(16, 185, 129, 0.05);*/
}

.step-card-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-number {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Timeline */
.timeline-item-hidden {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

/* Timeline Background Gradients - از روشن به تیره */
.timeline-bg-1 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
}

.timeline-bg-2 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
}

.timeline-bg-3 {
    background: linear-gradient(135deg, #ffffff 0%, #acb1b5 100%);
    border: 2px solid #868e96;
}

.timeline-bg-4 {
    background: linear-gradient(135deg, #ced4da 0%, #adb5bd 100%);
    border: 2px solid #868e96;
}

.timeline-bg-5 {
    background: linear-gradient(135deg, #ced4da 0%, #a0a8b0 100%);
    border: 2px solid #868e96;
}

.timeline-bg-1 .timeline-title,
.timeline-bg-1 .timeline-text {
    color: #212529;
}

.timeline-bg-2 .timeline-title,
.timeline-bg-2 .timeline-text {
    color: #343a40;
}

.timeline-bg-3 .timeline-title,
.timeline-bg-3 .timeline-text {
    color: #495057;
}

.timeline-bg-4 .timeline-title,
.timeline-bg-4 .timeline-text {
    color: #495057;
}

.timeline-bg-5 .timeline-title,
.timeline-bg-5 .timeline-text {
    color: #212529;
}

.timeline-number {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-number-1 {
    background: linear-gradient(135deg, #2563eb, #10b981);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.timeline-number-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.3);
}

.timeline-number-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.3);
}

.timeline-number-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 5px 20px rgba(67, 233, 123, 0.3);
}

.timeline-number-5 {
    background: linear-gradient(135deg, rgb(199 179 220), rgb(118, 75, 162));
    box-shadow: 0 5px 20px rgba(67, 233, 123, 0.3);
}

.timeline-title {
    margin-right: 60px;
    color: #1e293b;
    font-weight: 700;
}

.timeline-text {
    margin-right: 60px;
    color: #64748b;
    margin-top: 1rem;
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 60px 0;
    border-radius: 24px;
}

/* Info Section */
.info-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2;
}

.info-item {
    text-align: center;
    padding: 2rem;
}

.info-item-bordered {
    text-align: center;
    padding: 2rem;
    border-right: 2px solid rgba(255,255,255,0.2);
    border-left: 2px solid rgba(255,255,255,0.2);
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-text {
    opacity: 0.9;
}

.info-list-item {
    line-height: 2;
    color: #64748b;
}

/* Form Styles */
.form-label-bold {
    font-weight: 600;
    color: #1e293b;
}

.form-input-custom {
    padding: 0.75rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: left;
    direction: ltr;
}

.form-input-password {
    padding: 0.75rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding-left: 45px;
    text-align: left;
    direction: ltr;
}

.form-checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.form-check-label-custom {
    margin-right: 10px;
    color: #64748b;
}

.form-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.form-text-muted {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Password Toggle */
.password-toggle-btn {
    position: absolute;
    left: 10px;
    top: 70%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
}

/* Select Widths */
.select-width-30 {
    width: 30%;
}

.select-width-35 {
    width: 35%;
}

/* Separator */
.separator-thick {
    border: 2px solid #e2e8f0;
    opacity: 0.3;
}

.separator-light {
    margin: 2rem 0;
    border-color: #e2e8f0;
}

/* Min Height */
.min-height-60vh {
    min-height: 60vh;
}

/* Position Relative */
.position-relative {
    position: relative;
}

/* Text Decoration */
.text-decoration-none {
    text-decoration: none;
}

.text-inherit {
    color: inherit;
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.values-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
}

/* ==================== Form Styles (from View style tags) ==================== */
.form-label {
    font-weight: normal;
    color: #333;
    float: right;
}

.form-control, .form-select {
    border-color: #ffc107 !important; /* Bootstrap warning color matches the image */
    border-radius: 8px;
    text-align: center;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.required-star {
    color: red;
    margin-right: 3px;
}

.section-header {
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* ==================== Registration Steps Cards Modern Styles ==================== */
.registration-step-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.registration-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.registration-step-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.registration-step-card:hover::before {
    transform: scaleX(1);
}

.registration-step-card.current-step {
    animation: pulse-border 2s infinite;
}

.registration-step-card.completed-step .card-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.registration-step-card.disabled-step {
    pointer-events: none;
}

.registration-step-card.disabled-step .card-icon {
    background: linear-gradient(135deg, #94a3b8, #64748b) !important;
}

.registration-step-card.disabled-step:hover {
    transform: none !important;
    cursor: not-allowed !important;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(245, 158, 11, 0.6);
    }
}

@media (max-width: 768px) {
    .registration-step-card {
        margin-bottom: 1rem;
    }
}

/* Link styles for clickable step cards */
a.registration-step-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.registration-step-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Top Registration Steps Tabs Spacing */
/* Spacing from grade title banner (base box) */
.grade-title-banner + .main-content .container:has(.registration-step-card),
.grade-title-banner + .main-content .container.mt-4:has(.registration-step-card),
.grade-title-banner + .main-content .container.mb-5:has(.registration-step-card) {
    padding-top: 0 !important;
    margin-top: 10px !important;
}

/* Spacing between tabs container and form */
.container > div.mb-5:has(.registration-step-card),
.container.mt-4 > div.mb-5:has(.registration-step-card),
.container.mb-5 > div.mb-5:has(.registration-step-card) {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Bottom Navigation Tabs Spacing */
.btn-group[role="group"].shadow-sm {
    margin-top: 5px;
    margin-bottom: 5px;
}

.btn-group[role="group"].shadow-sm > .btn,
.btn-group[role="group"].shadow-sm > a.btn {
    padding-top: calc(0.375rem + 5px);
    padding-bottom: calc(0.375rem + 5px);
}

/* ==================== FAQ Styles ==================== */
.faq-main-container {
    padding: 2.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .faq-main-container {
        padding: 1.5rem;
    }
}

.faq-search-container {
    position: relative;
    margin-bottom: 2.5rem;
}

.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.faq-search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.faq-search-clear {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: color 0.3s ease;
}

.faq-search-clear:hover {
    color: #ef4444;
}

.faq-search-clear.show {
    display: block;
}

.faq-item {
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    border-right: 4px solid transparent;
}

.faq-question:hover {
    transform: translateX(-5px);
    border-right-color: currentColor;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question.active {
    border-right-color: currentColor;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0;
}

.faq-answer.open {
    opacity: 1;
    padding-top: 0.5rem;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-no-results {
    text-align: center;
    padding: 3rem 2rem;
    display: none;
}

.faq-no-results.show {
    display: block;
}

.faq-count {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.faq-answer-content {
    animation: fadeInUp 0.3s ease;
}

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

@media (max-width: 768px) {
    .faq-search-input {
        padding: 1rem 3rem 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem !important;
    }
}

/* ==================== Activity Cards (Additional Info Page) ==================== */
.activity-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.activity-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 140px;
}

.activity-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.activity-icon i {
    font-size: 1.75rem;
    color: white;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    line-height: 1.4;
}

.activity-check {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.25rem;
    color: #10b981;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.activity-card:hover .activity-label {
    border-color: #cbd5e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

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

.activity-card-checked .activity-label {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.activity-card-checked .activity-check {
    opacity: 1;
    transform: scale(1);
}

.activity-card-checked .activity-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.activity-card-none.activity-card-checked .activity-label {
    border-color: #6b7280;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.05), rgba(107, 114, 128, 0.1));
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.3);
}

.activity-card-none.activity-card-checked .activity-check {
    color: #6b7280;
}

@media (max-width: 768px) {
    .activity-label {
        padding: 1rem 0.75rem;
        min-height: 120px;
    }

    .activity-icon {
        width: 50px;
        height: 50px;
    }

    .activity-icon i {
        font-size: 1.5rem;
    }

    .activity-title {
        font-size: 0.85rem;
    }
}

/* ==================== Skill Level Badges (Additional Info Page) ==================== */
.skill-item {
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #f0f4f8 !important;
}

.skill-item-enhanced {
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-item-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: block;
}

.skill-item-icon {
    color: #667eea;
}

.skill-level-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.skill-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.skill-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.skill-level-badge:hover {
    border-color: #cbd5e0;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.skill-level-badge i {
    font-size: 0.85rem;
}

/* None Level */
.skill-level-none {
    border-color: #e2e8f0;
    color: #94a3b8;
}

.skill-radio:checked + .skill-level-none {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-color: #94a3b8;
    color: #64748b;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.3);
}

/* Beginner Level */
.skill-level-beginner {
    border-color: #fef3c7;
    color: #d97706;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.skill-radio:checked + .skill-level-beginner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
    color: #b45309;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Intermediate Level */
.skill-level-intermediate {
    border-color: #dbeafe;
    color: #1e40af;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.skill-radio:checked + .skill-level-intermediate {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
    color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Advanced Level */
.skill-level-advanced {
    border-color: #e0e7ff;
    color: #4338ca;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.skill-radio:checked + .skill-level-advanced {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-color: #6366f1;
    color: #312e81;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Expert Level */
.skill-level-expert {
    border-color: #fce7f3;
    color: #9f1239;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.skill-radio:checked + .skill-level-expert {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    border-color: #ec4899;
    color: #831843;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

@media (max-width: 768px) {
    .skill-level-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .skill-level-group {
        gap: 0.5rem;
    }
}

/* ==================== Additional Info Page Styles ==================== */
.additional-info-header {
    text-align: center;
    margin-bottom: 2rem;
}

.additional-info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.additional-info-intro {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.additional-info-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.additional-info-notice {
    text-align: right;
    line-height: 1.8;
}

.additional-info-notice i {
    color: #667eea;
}

.section-container {
    margin-bottom: 2.5rem;
}

.section-title {
    color: #5b4fc7;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.section-info-icon {
    color: #6beca0;
}

/* Activity Icon Gradients */
.activity-icon-literary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-icon-artistic {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-icon-religious {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-icon-music {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.activity-icon-sports {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.activity-icon-social {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.activity-icon-scientific {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.activity-icon-none {
    background: linear-gradient(135deg, #868f96 0%, #596164 100%);
}

/* Participation Activity Icons */
.activity-icon-participation-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-icon-participation-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-icon-participation-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-icon-participation-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.activity-icon-participation-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.activity-icon-participation-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.activity-icon-participation-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.activity-icon-participation-8 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.activity-icon-participation-9 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.activity-icon-participation-10 {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
}

/* Role Activity Icons */
.activity-icon-role-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-icon-role-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-icon-role-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-icon-role-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.activity-icon-role-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Yes/No Radio Buttons */
.yes-no-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.yes-no-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yes-no-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.yes-no-badge:hover {
    border-color: #cbd5e0;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.yes-no-no {
    border-color: #fecaca;
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.yes-no-radio:checked + .yes-no-no {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: #ef4444;
    color: #991b1b;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.yes-no-yes {
    border-color: #bbf7d0;
    color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.yes-no-radio:checked + .yes-no-yes {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-color: #22c55e;
    color: #15803d;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Submit Button Enhanced */
.submit-btn-enhanced {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn-enhanced:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Section Divider */
.section-container + hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2.5rem 0;
}

/* Form Control Enhanced */
.form-control {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
    }
}

/* ==================== Inquiry Checkbox Cards Styles (ParentsInfo Page) ==================== */
.inquiry-checkbox-card {
    margin-bottom: 1rem;
}

.inquiry-checkbox-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.inquiry-checkbox {
    display: none;
}

.inquiry-checkbox-content {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-height: 140px;
}

.inquiry-checkbox-content:hover {
    border-color: #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

.inquiry-checkbox:checked + .inquiry-checkbox-content {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}

.inquiry-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    transition: all 0.3s ease;
}

.educational-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cultural-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.extracurricular-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.other-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.inquiry-checkbox:checked + .inquiry-checkbox-content .inquiry-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.inquiry-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s ease;
}

.inquiry-checkbox:checked + .inquiry-checkbox-content .inquiry-text {
    color: #ffc107;
}

#OtherDescriptionContainer {
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

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

@media (max-width: 768px) {
    .inquiry-checkbox-content {
        min-height: 120px;
        padding: 1rem 0.75rem;
    }

    .inquiry-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .inquiry-text {
        font-size: 0.85rem;
    }
}
