/* ========================================================
   WISDOM ACADEMY - FRONTEND DESIGN (DACOLLEGE PORTAL STYLE)
   Mamudpur II, Buduchar, Matia, Goalpara, Assam - 783125
   ======================================================== */

:root {
    --wa-primary: #0d2b45;
    --wa-primary-dark: #071929;
    --wa-secondary: #f4a261;
    --wa-accent: #e76f51;
    --wa-light-bg: #f8f9fa;
    --wa-dark-text: #2b2d42;
    --wa-maroon: #800000;
    --wa-gold: #ffc107;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--wa-dark-text);
    background-color: #ffffff;
    line-height: 1.6;
}

/* --- Top Utility Bar --- */
.top-header-bar {
    background-color: var(--wa-primary-dark);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--wa-secondary);
}
.top-header-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.top-header-bar a:hover {
    color: #ffffff;
}

/* --- Main Brand Header --- */
.main-institution-header {
    background: linear-gradient(to right, #ffffff, #fdfbf7, #ffffff);
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}
.header-emblem {
    max-height: 105px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.college-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--wa-primary);
    margin-bottom: 2px;
    font-family: 'Cinzel', 'Times New Roman', serif;
}
.college-sub-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wa-maroon);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.college-address-bar {
    font-size: 0.88rem;
    color: #555;
}

/* --- Navigation Bar --- */
.dacollege-navbar {
    background-color: var(--wa-primary);
    padding: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.dacollege-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 16px !important;
    text-transform: uppercase;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}
.dacollege-navbar .nav-link:hover,
.dacollege-navbar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.12);
    border-bottom-color: var(--wa-secondary);
    color: #87ceeb !important; /* Sky Blue */
}

.dacollege-navbar .dropdown-menu {
    border-radius: 4px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.dacollege-navbar .dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 18px;
}
.dacollege-navbar .dropdown-item:hover {
    background-color: var(--wa-light-bg);
    color: var(--wa-primary);
}

/* --- Breaking News / Flash Notice Ticker --- */
.notice-ticker-wrap {
    background-color: #fff3cd;
    border-bottom: 1px solid #ffeeba;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ticker-badge {
    background-color: #d90429;
    color: #fff;
    padding: 7px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}
.ticker-content {
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    padding: 6px 0;
}
@keyframes marquee {
    0%   { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- Hero Banner Slider --- */
.hero-slider-item {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-caption {
    color: #ffffff;
    max-width: 750px;
}
.hero-caption h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.hero-caption p {
    font-size: 1.15rem;
    color: #f1f5f9;
}

/* --- Cards & Components --- */
.section-title-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wa-primary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--wa-secondary);
}

.principal-desk-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    background: #fff;
    overflow: hidden;
    border-top: 4px solid var(--wa-primary);
}

.notice-board-card {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: none;
    border-top: 4px solid #d90429;
}
.notice-list-item {
    padding: 12px 16px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.notice-date-box {
    background-color: #f1f5f9;
    color: var(--wa-primary);
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    min-width: 60px;
    line-height: 1.2;
}
.notice-date-box .day {
    font-size: 1.2rem;
    font-weight: 800;
}
.notice-date-box .month {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Stats Counter Ribbon --- */
.stats-ribbon {
    background: linear-gradient(135deg, var(--wa-primary) 0%, #1a365d 100%);
    color: #fff;
    padding: 50px 0;
}
.stat-box {
    text-align: center;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--wa-gold);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
}

/* --- Portal Cards --- */
.portal-card {
    border-radius: 10px;
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
}
.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* --- Footer --- */
.college-footer {
    background-color: var(--wa-primary-dark);
    color: #cbd5e1;
    padding: 55px 0 25px;
    border-top: 4px solid var(--wa-secondary);
}
.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--wa-secondary);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}
