body {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb, #e8f0fe);
    background-size: 300% 300%;
    animation: bgFlow 12s ease infinite;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #1a237e;
}

@keyframes bgFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav.navbar {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    border-bottom: 3px solid #42a5f5;
}

h2 {
    border-bottom: 3px solid #1565c0;
    padding-bottom: 8px;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 1.8rem;
    color: #0d47a1;
    letter-spacing: 0.5px;
}

.section-card, .card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(21,101,192,0.08);
}

.section-card:hover, .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13,71,161,0.2);
}

.btn-custom {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    color: white;
    padding: 10px 20px;
    font-size: 1.05rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: bold;
    margin: 5px 0;
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background: linear-gradient(90deg, #0d47a1, #08306b);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13,71,161,0.4);
    text-decoration: none;
    color: #fff;
}

.alert-success {
    border-radius: 12px;
    font-size: 1rem;
    background: linear-gradient(90deg, #e8f5e9, #c8e6c9);
    font-weight: 500;
    border-left: 6px solid #2e7d32;
    color: #1b5e20;
}

.alert-warning {
    border-radius: 12px;
    font-size: 1rem;
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    font-weight: 500;
    border-left: 6px solid #1565c0;
    color: #0d47a1;
}

pre {
    background: #f5faff;
    padding: 12px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.95rem;
    border: 1px solid #90caf9;
    color: #0d47a1;
}

footer {
    background: linear-gradient(90deg, #0d47a1, #08306b);
    color: #e3f2fd;
    padding: 20px;
    text-align: center;
    font-size: 0.95rem;
}

footer a {
    color: #90caf9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #bbdefb;
}

video {
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

video:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(21,101,192,0.3);
}

/* ====== كارت صاحب الموقع ====== */
.card img.rounded-circle {
    border: 4px solid #1565c0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img.rounded-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(21,101,192,0.5);
}

.card h3 {
    font-weight: bold;
    margin-top: 10px;
}
