/* تنظیمات عمومی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B5CF6;
    --primary-dark: #6D28D9;
    --secondary: #EC4899;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    background: var(--light);
    color: var(--dark);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.info-item i {
    font-size: 18px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: white;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: white;
    box-shadow: var(--shadow);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 80%;
}

.nav-menu li a:hover {
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✦';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -50px;
    right: -50px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 36px;
    font-weight: 900;
    display: block;
}

.stat span:last-child {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title i {
    color: var(--primary);
    margin-left: 10px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 60px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    padding: 10px 15px;
    border-radius: var(--radius);
}

.feature i {
    color: var(--primary);
    font-size: 20px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 60px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: var(--transition);
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   ARTICLES SECTION
   ============================================ */
.articles {
    padding: 60px 0;
    background: white;
}

/* گرید ۴ مقاله */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* کارت مقاله - اندازه ثابت */
.article-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card .article-image {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EDE9FE;
    position: relative;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-card .article-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
    color: #8B5CF6;
    font-size: 48px;
}

.article-card .article-content {
    padding: 15px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .article-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.article-card .article-content p {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.article-card .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray);
    border-top: 1px solid #E5E7EB;
    padding-top: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 5px;
}

.article-card .article-meta i {
    margin-left: 4px;
}

.article-card .read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.article-card .read-more:hover {
    color: var(--primary-dark);
}

.article-card .read-more i {
    font-size: 11px;
    transition: var(--transition);
}

.article-card .read-more:hover i {
    transform: translateX(-5px);
}

/* ===== اسلایدر ===== */
.articles-slider-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #F1F5F9;
}

.slider-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 20px;
}

.slider-title i {
    color: var(--primary);
    margin: 0 8px;
}

.articles-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.articles-slider-wrapper {
    overflow: hidden;
    border-radius: var(--radius);
}

.articles-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.slider-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

.slider-item .article-card {
    min-height: 300px;
}

.slider-item .article-card .article-image {
    height: 160px;
}

.slider-item .article-card .article-content h3 {
    font-size: 14px;
    height: 40px;
}

.slider-item .article-card .article-content p {
    font-size: 12px;
    height: 36px;
}

/* دکمه‌های اسلایدر */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background: white;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-prev {
    right: -5px;
}

.slider-next {
    left: -5px;
}

/* دکمه‌های ناوبری (نقاط) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.slider-dots .dot:hover {
    background: var(--primary);
    opacity: 0.7;
}

/* لینک مشاهده همه */
.view-all-articles {
    text-align: center;
    margin-top: 30px;
}

.view-all-articles .btn {
    padding: 12px 35px;
    font-size: 15px;
}

/* حالت بدون مقاله */
.no-articles {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}

.no-articles i {
    font-size: 48px;
    color: #E5E7EB;
    display: block;
    margin-bottom: 15px;
}

.no-articles p {
    font-size: 16px;
}

/* ============================================
   ENROLLMENT SECTION - زیبا و مدرن
   ============================================ */
.enrollment {
    padding: 60px 0;
    background: linear-gradient(135deg, #F8FAFC, #EDE9FE);
}

.enrollment-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.enrollment-form {
    background: white;
    padding: 40px 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.enrollment-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, var(--primary), var(--secondary));
}

.enrollment-form .form-header {
    text-align: center;
    margin-bottom: 25px;
}

.enrollment-form .form-header i {
    font-size: 40px;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.enrollment-form .form-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.enrollment-form .form-header p {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   CONTACT SECTION - زیبا و مدرن
   ============================================ */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.info-box {
    text-align: center;
    padding: 25px 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to left, var(--primary), var(--secondary));
    transition: var(--transition);
}

.info-box:hover::after {
    width: 100%;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.15);
}

.info-box .info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: var(--transition);
}

.info-box:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
}

.info-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}

.info-box p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

.contact-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form {
    background: var(--light);
    padding: 35px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
}

.contact-form .form-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form .form-header i {
    font-size: 36px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.contact-form .form-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.contact-form .form-header p {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   FORM GENERAL
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
    margin-left: 6px;
    width: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    display: block;
    color: var(--gray);
    font-size: 12px;
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
    margin-top: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-about p {
    color: var(--gray);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-right: 5px;
}

.footer-contact p {
    color: var(--gray);
    margin-bottom: 8px;
}

.footer-contact i {
    margin-left: 8px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(139, 92, 246, 0.8); }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-container {
    display: none;
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chatbot.active .chatbot-container {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 16px;
    margin: 0;
}

.close-chat {
    cursor: pointer;
    font-size: 18px;
}

.chatbot-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: var(--radius);
}

.message.bot {
    background: var(--light);
    margin-right: auto;
}

.message.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #E5E7EB;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius);
    font-family: inherit;
}

.chatbot-input button {
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    margin-right: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slider-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .articles-slider-container {
        padding: 0 40px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-info {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .article-card {
        min-height: 280px;
    }
    
    .article-card .article-image {
        height: 140px;
    }
    
    .slider-item {
        flex: 0 0 calc(100% - 0px);
    }
    
    .articles-slider-container {
        padding: 0 35px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .slider-prev {
        right: -2px;
    }
    
    .slider-next {
        left: -2px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .chatbot-container {
        width: calc(100vw - 40px);
        right: 20px;
        left: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .enrollment-form {
        padding: 25px 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-card {
        min-height: 260px;
        max-width: 100%;
    }
    
    .article-card .article-image {
        height: 160px;
    }
    
    .slider-item .article-card .article-image {
        height: 160px;
    }
    
    .articles-slider-container {
        padding: 0 30px;
    }
    
    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .enrollment-form .form-header h3 {
        font-size: 18px;
    }
    
    .contact-form .form-header h3 {
        font-size: 18px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate__animated {
    animation-duration: 1s;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__bounceIn {
    animation-name: bounceIn;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}