/* ============================================
   🎨 School Branding - Shahan Schools
   Custom CSS for school-specific styling
   ============================================ */

:root {
    /* School Primary Colors - يمكن تخصيصها حسب ألوان المدرسة */
    --school-primary: #667eea;
    --school-secondary: #764ba2;
    --school-accent: #f093fb;
    
    /* School Info */
    --school-name-en: "Shahan Schools & Kindergarten";
    --school-name-ar: "مدارس وروضة شاهان";
}

/* ============================================
   School Logo Styling
   ============================================ */
.school-logo-circle {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: white;
    padding: 3px;
}

.school-logo-sm {
    width: 40px;
    height: 40px;
}

.school-logo-md {
    width: 60px;
    height: 60px;
}

.school-logo-lg {
    width: 100px;
    height: 100px;
}

.school-logo-xl {
    width: 140px;
    height: 140px;
}

/* ============================================
   School Name Typography
   ============================================ */
.school-name-primary {
    font-weight: 800;
    color: var(--school-primary);
    letter-spacing: 0.5px;
}

.school-name-gradient {
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Powered by ESS Badge
   ============================================ */
.ess-powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.ess-powered-badge:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.ess-logo-badge {
    height: 20px;
    width: auto;
}

/* ============================================
   School Header Enhancement
   ============================================ */
.school-header-banner {
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    padding: 1rem;
    color: white;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.school-info-text {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.95;
}

/* ============================================
   Custom Buttons with School Colors
   ============================================ */
.btn-school-primary {
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-school-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
}

/* ============================================
   School Cards
   ============================================ */
.school-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--school-primary);
    transition: all 0.3s ease;
}

.school-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Reports Branding
   ============================================ */
.report-school-header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
    border-radius: 12px 12px 0 0;
}

.report-school-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 5px;
    margin-bottom: 1rem;
}

.report-school-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.report-ess-watermark {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .report-school-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .school-logo-circle {
        border: 2px solid #333;
    }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .school-name-primary {
        font-size: 1.2rem;
    }
    
    .school-logo-xl {
        width: 100px;
        height: 100px;
    }
    
    .ess-powered-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .school-header-banner {
        padding: 0.75rem;
    }
    
    .school-info-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   Animation Effects
   ============================================ */
@keyframes school-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.school-logo-animated {
    animation: school-pulse 3s ease-in-out infinite;
}

/* ============================================
   Utility Classes
   ============================================ */
.school-gradient-bg {
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
}

.school-text-primary {
    color: var(--school-primary);
}

.school-border-primary {
    border-color: var(--school-primary) !important;
}

/* ============================================
   Footer Enhancements
   ============================================ */
.school-footer-section {
    background: #1e293b;
    color: white;
}

.school-footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.school-social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.school-social-links a:hover {
    transform: translateY(-3px);
    color: var(--school-primary) !important;
}

