/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Poppins', 'Cairo', sans-serif;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar {
    padding: 1.2rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(139, 69, 19, 0.3);
}

.brand-text {
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #475569;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.highlight {
    color: #fbbf24;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Quick Links */
.quick-links {
    padding: 80px 0;
    background: white;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.quick-link-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    margin-bottom: 1rem;
}

/* Advisory Banner */
.advisory-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.banner-content h2,
.banner-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 4rem;
}

.mission-vision-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.mission-vision-item .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.mission-vision-item .icon i {
    font-size: 2rem;
    color: white;
}

.objectives {
    margin: 4rem 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.objective-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.objective-item i {
    font-size: 2rem;
    color: #3498db;
    margin-top: 5px;
}

.accreditations {
    margin: 4rem 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.accreditation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.accreditation-list {
    list-style: none;
}

.accreditation-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accreditation-list i {
    color: #27ae60;
    font-size: 1.2rem;
}

.accreditation-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-placeholder {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.badge-placeholder i {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 10px;
    display: block;
}

.why-choose-us {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Courses Page Styles */
.course-categories {
    padding: 80px 0;
    background: white;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #3498db;
    color: white;
}

.courses-section {
    margin-bottom: 5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    height: 200px;
    background: #f0f0f0;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-badge.kids {
    background: #9b59b6;
}

.course-content {
    padding: 25px;
}

.course-details {
    display: flex;
    gap: 20px;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.course-details span {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.course-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
}

.kids-course {
    border: 3px solid #9b59b6;
}

.upcoming-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.upcoming-course-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.upcoming-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upcoming-icon i {
    font-size: 1.5rem;
    color: white;
}

.upcoming-date {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* Video Page Styles */
.video-content {
    padding: 80px 0;
    background: white;
}

.video-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.featured-video {
    margin-bottom: 5rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.video-card.featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 250px;
}

.video-card.featured .video-embed {
    height: 350px;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 25px;
}

.video-meta {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.videos-section {
    margin-bottom: 5rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.video-stats {
    margin: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.subscribe-section {
    text-align: center;
    background: #f8f9fa;
    padding: 60px 0;
    margin: 4rem 0;
    border-radius: 12px;
}

.subscribe-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: white;
    margin-bottom: 2rem;
    font-family: 'Inter', 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: #ec4899;
    width: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link.facebook:hover { box-shadow: 0 10px 25px rgba(59, 89, 152, 0.4); }
.social-link.instagram:hover { box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4); }
.social-link.whatsapp:hover { box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }
.social-link.tiktok:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    right: 0;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-weight: 500;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    max-height: 500px;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.chat-header span {
    font-weight: 600;
}

.chat-body {
    height: 400px;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: all 0.3s ease;
}

.chat-widget.minimized .chat-body {
    height: 0;
    opacity: 0;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    max-width: 80%;
}

.bot-message {
    background: #ecf0f1;
    margin-right: auto;
}

.user-message {
    background: #3498db;
    color: white;
    margin-left: auto;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.send-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .video-card.featured {
        grid-template-columns: 1fr;
    }
    
    .accreditation-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .chat-widget {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
    
    .course-details,
    .video-meta {
        gap: 10px;
    }
    
    .course-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .category-filters,
    .video-filters {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .courses-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .upcoming-course-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Info Cards */
.contact-item-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-details a {
    color: #3498db;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2980b9;
}

.contact-details small {
    color: #666;
    font-size: 0.8rem;
}

/* Social Media Section */
.social-media-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 1rem;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-link-large.facebook:hover { background: #3b5998; color: white; }
.social-link-large.instagram:hover { background: #e4405f; color: white; }
.social-link-large.whatsapp:hover { background: #25d366; color: white; }
.social-link-large.tiktok:hover { background: #000; color: white; }

/* Map Section */
.map-section {
    margin: 4rem 0;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.map-placeholder h3 {
    color: white;
    margin-bottom: 1rem;
}

.quick-faq {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

/* FAQ Page Styles */
.faq-content {
    padding: 80px 0;
    background: white;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-question:hover {
    background: #e9ecef;
    border-left-color: #3498db;
}

.faq-question h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.faq-icon {
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px 25px;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-right: 20px;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #555;
}

.faq-contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

.faq-contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.faq-contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles for Contact and FAQ */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-item-card {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        padding: 40px 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer.active {
        padding: 15px 20px;
    }
    
    .faq-contact-cta {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* Home: Latest News Section */
.latest-news {
    background: #fff;
    padding: 80px 0;
}

.news-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.news-item .news-image { position: relative; height: 170px; overflow: hidden; }
.news-item .news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-item .news-date {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.7); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.85rem;
}
.news-item .news-content { padding: 16px 18px; }
.news-category { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 8px; }
.news-category.news { background: #e8f4fd; color: #1e6091; }
.news-category.event { background: #e9f7ef; color: #1e8449; }

.news-more { text-align: center; margin-top: 24px; }

/* News page */
.news-filter { background: #fff; padding: 30px 0; }
.filter-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.filter-tab { padding: 10px 18px; border: 2px solid #3498db; background: #fff; color: #3498db; border-radius: 6px; cursor: pointer; font-weight: 600; }
.filter-tab.active, .filter-tab:hover { background: #3498db; color: #fff; }

.news-section { background: #f8f9fa; padding: 60px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.news-card .news-image { height: 200px; overflow: hidden; }
.news-card .news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-content { padding: 18px 20px; }
.news-meta { display: flex; gap: 16px; color: #666; font-size: 0.9rem; margin-bottom: 8px; }
.news-badge.featured-badge { position: absolute; top: 12px; right: 12px; background: #e74c3c; color: #fff; padding: 6px 10px; border-radius: 6px; font-weight: 700; }
.news-card.featured { border: 2px solid #e74c3c; }
.read-more { color: #3498db; font-weight: 700; }

.load-more-section { text-align: center; margin-top: 24px; }

/* Events timeline */
.upcoming-events { background: #fff; padding: 60px 0; }
.events-timeline { display: grid; gap: 16px; }
.event-item { display: flex; gap: 16px; background: #f8f9fa; padding: 16px; border-radius: 10px; }
.event-date { width: 70px; background: #3498db; color: #fff; border-radius: 10px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.event-date .day { font-size: 1.4rem; font-weight: 700; }
.event-date .month { opacity: 0.9; }
.event-time { color: #666; font-size: 0.9rem; }

/* Newsletter */
.newsletter-subscription { background: #f8f9fa; padding: 60px 0; }
.newsletter-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: center; }
.newsletter-form .form-group { display: flex; gap: 10px; justify-content: center; }
.newsletter-form input[type="email"] { max-width: 380px; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.modal.active { display: block; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); }
.modal-content { position: relative; background: #fff; width: min(800px, 92%); margin: 80px auto; border-radius: 12px; overflow: hidden; z-index: 2001; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eee; }
.modal-body { padding: 16px 20px; }
.modal-close { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; }
.modal-meta { display: flex; gap: 16px; color: #666; font-size: 0.9rem; margin: 8px 0 16px; }

/* Partners page */
.partners-section { background: #fff; padding: 60px 0; }
.partners-category { margin-bottom: 40px; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.partner-card { background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); display: flex; gap: 16px; padding: 16px; }
.partner-logo { width: 90px; height: 90px; background: #f5f6fa; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-info h3 { margin: 0 0 6px; }
.partner-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.feature-tag { background: #eef5ff; color: #1e6091; padding: 4px 10px; border-radius: 14px; font-size: 0.8rem; }

.partnership-benefits { background: #f8f9fa; padding: 40px; border-radius: 12px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.benefit-card { background: #fff; padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.benefit-card i { font-size: 2rem; color: #3498db; margin-bottom: 8px; }

.partnership-contact { margin-top: 40px; }
.partnership-contact .contact-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 30px; border-radius: 12px; text-align: center; }
.partnership-contact .contact-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

@media (max-width: 768px) {
  .news-item .news-image { height: 150px; }
  .news-card .news-image { height: 170px; }
  .newsletter-form .form-group { flex-direction: column; }
}
