/* =========================================================
   STANDALONE PREMIUM UI CSS
========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --db-primary: #1E2A78;
    --db-secondary: #16205e;
    --db-accent: #F4B400;
    --db-light-bg: #F8FAFC; 
    --db-white: #ffffff;
    --db-text: #334155;
    --db-border: #cbd5e1;
    --db-shadow: 0 10px 40px rgba(30, 42, 120, 0.08);
    --db-glass: rgba(255, 255, 255, 0.95);
}

body.db-wrapper { 
    font-family: 'Poppins', sans-serif; 
    background: var(--db-white); 
    overflow-x: hidden; 
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--db-light-bg); }
::-webkit-scrollbar-thumb { background: var(--db-primary); border-radius: 5px; }

/* --- HERO COVER --- */
.db-hero {
    background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(30, 42, 120, 0.80)), url('/assets/images/school-bg.jpg');
    background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; 
    text-align: center; position: relative; padding: 60px 20px 180px;
}

/* --- LOGO BADGE --- */
.db-logo-badge {
    background: var(--db-white); width: 130px; height: 130px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    padding: 18px; margin: 0 auto 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); animation: logoFadeIn 1s ease-out forwards; z-index: 10;
}
.db-hero-logo { width: 100%; height: auto; display: block; }

/* --- FLOATING TEXT --- */
.db-hero-content { animation: textFadeIn 1s ease-out 0.2s forwards; opacity: 0; max-width: 900px; z-index: 10; }
.db-hero h1 { font-size: 4.8rem; color: white; margin: 0; text-shadow: 0 8px 25px rgba(0,0,0,0.6); font-weight: 800; line-height: 1.1; text-transform: uppercase;}
.db-hero p { font-size: 1.6rem; color: var(--db-accent); font-weight: 600; letter-spacing: 5px; margin-top: 15px; margin-bottom: 40px; text-transform: uppercase; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }

.db-highlight-line { font-size: 2rem; color: var(--db-white); font-weight: 700; margin-bottom: 10px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); background: rgba(255,255,255,0.1); display: inline-block; padding: 10px 25px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(5px);}
.db-sub-text { font-size: 1.3rem; color: #e2e8f0; font-family: 'Inter', sans-serif; font-weight: 400; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); max-width: 800px; margin-left: auto; margin-right: auto;}

/* --- WAVES --- */
.db-wave-container { position: absolute; bottom: -2px; left: 0; width: 100%; height: 150px; overflow: hidden; z-index: 5; }
.db-wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; transform-origin: bottom center; }
.db-layer-1 { z-index: 1; opacity: 0.2; animation: moveWaveLeft 15s linear infinite alternate; }
.db-layer-2 { z-index: 2; opacity: 0.5; animation: moveWaveRight 12s linear infinite alternate; }
.db-layer-3 { z-index: 3; opacity: 1; width: 100%; animation: floatWaveFront 8s ease-in-out infinite alternate; }

@keyframes moveWaveLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-20%); } }
@keyframes moveWaveRight { 0% { transform: translateX(-20%); } 100% { transform: translateX(0); } }
@keyframes floatWaveFront { 0% { transform: scaleY(1) translateY(0); } 100% { transform: scaleY(1.1) translateY(-10px); } }
@keyframes logoFadeIn { from { opacity: 0; transform: scale(0.8) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes textFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- BUTTONS --- */
.db-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 35px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; transition: 0.3s; border: none; text-decoration: none; font-size: 1.1rem; }
.db-btn-gradient { background: linear-gradient(135deg, #3b82f6, #1e3a8a); color: var(--db-white); box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4); border: 1px solid rgba(255,255,255,0.2); }
.db-btn-gradient:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6); color: var(--db-white); background: linear-gradient(135deg, #60a5fa, #1e3a8a); }
.db-btn-outline { background: transparent; border: 2px solid white; color: white; }
.db-btn-outline:hover { background: white; color: var(--db-primary); transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }

.db-top-nav { position: absolute; top: 30px; left: 30px; z-index: 20; }
.db-btn-home { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.4); padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 500; transition: 0.3s; backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.db-btn-home:hover { background: white; color: var(--db-primary); border-color: white;}

.db-float-btn { position: fixed; bottom: 30px; right: 30px; z-index: 1000; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- CONTENT AREA & CARDS --- */
.db-content-bg { background-color: var(--db-white); padding-bottom: 80px; position: relative; z-index: 10;}
.db-container { max-width: 1100px; margin: -30px auto 0; padding: 0 20px; position: relative; }
.db-card { background: var(--db-glass); border: 1px solid var(--db-border); border-radius: 16px; padding: 50px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); text-align: center; transition: 0.4s; }
.db-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(30, 42, 120, 0.1); border-color: var(--db-primary);}
.db-card-icon { font-size: 3.5rem; color: var(--db-primary); margin-bottom: 20px; transition: 0.3s; }
.db-card:hover .db-card-icon { transform: scale(1.1); color: var(--db-accent); }
.db-card h2 { font-size: 2.2rem; color: var(--db-primary); margin-bottom: 20px; font-weight: 800; }
.db-card p { font-size: 1.1rem; color: var(--db-text); line-height: 1.8; margin-bottom: 0; font-family: 'Inter', sans-serif;}

.db-mission-list { list-style: none; padding: 0; margin: 0; text-align: left; display: inline-block; font-family: 'Inter', sans-serif;}
.db-mission-list li { font-size: 1.1rem; color: var(--db-text); margin-bottom: 18px; display: flex; align-items: flex-start; gap: 15px; }
.db-mission-list li i { color: #10b981; font-size: 1.4rem; margin-top: 2px; }

.db-values { font-size: 1.5rem; color: var(--db-primary); font-weight: 700; letter-spacing: 2px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; align-items: center;}
.db-values span { color: var(--db-border); font-size: 1.5rem; font-weight: 300;}

/* --- NEW UPGRADED FOOTER --- */
.db-footer { background-color: var(--db-secondary); color: white; padding: 70px 20px 20px; margin-top: 40px; position: relative; border-top: 5px solid var(--db-accent); }
.db-footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; }
.db-footer h3 { color: var(--db-white); font-size: 1.4rem; margin-bottom: 25px; font-weight: 600; position: relative; padding-bottom: 10px;}
.db-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--db-accent); border-radius: 5px; }
.db-footer p { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; color: #cbd5e1; line-height: 1.6; }
.db-footer p i { font-size: 1.2rem; color: var(--db-accent); width: 20px; text-align: center; margin-top: 4px; }

.footer-about img { width: 70px; margin-bottom: 15px; background: white; padding: 5px; border-radius: 50%; }
.footer-bottom { text-align: center; padding-top: 20px; color: #94a3b8; font-size: 0.9rem; font-family: 'Inter', sans-serif; }

.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); color: white; font-size: 1.1rem; text-decoration: none; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.social-icons a:hover { background: var(--db-accent); color: var(--db-primary); border-color: var(--db-accent); transform: translateY(-5px); }

/* Print Styles & Responsive */
@media print {
    .no-print { display: none !important; }
    .db-content-bg { background: white !important; padding: 0 !important; }
    .db-card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; padding: 20px !important;}
}

@media (max-width: 768px) { 
    .db-hero h1 { font-size: 2.5rem; } 
    .db-hero p { font-size: 1rem; letter-spacing: 2px; }
    .db-highlight-line { font-size: 1.4rem; }
    .db-sub-text { font-size: 1rem; }
    .db-values { font-size: 1.1rem; }
    .db-top-nav { top: 15px; left: 15px; }
    .db-btn { padding: 12px 25px; font-size: 1rem; width: 100%; margin-bottom: 10px; }
    .db-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .db-footer p { justify-content: center; }
    .db-footer h3::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .db-logo-badge { width: 100px; height: 100px; padding: 12px; }
}