
      /* Custom Styles for DCITM - Viewport-Level Desktop Layout */
:root {
    --primary-color: #0F3460;
    --accent-color: #E94560;
    --gold-color: #FFB800;
    --bg-light: #F8F9FA;
    --text-dark: #1A1A2E;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 8px 20px rgba(15, 52, 96, 0.12);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A;
    background-color: #F4F6F9;
}

/* Header & Logo */
.header-container {
    background: #ffffff;
    padding: 30px 0; /* Compact height for screen fitting */
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.logo-brand-block {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 12px;
}

.logo-brand-block img {
    max-height: 100px; /* Scaled down logo */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-brand-block img:hover {
    transform: scale(1.02);
}

.brand-title-content {
    text-align: left;
}

.brand-affiliation {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.brand-main-title {
    font-size: 2rem; /* Screen-fitting main heading */
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.1;
}

/* Navbar */
.main-navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 6px 14px !important; /* Low-profile navigation links */
    font-size: 1.20rem;
    transition: all 0.3s ease;
    
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--gold-color) !important;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu {
    border: none;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.dropdown-item {
    font-size: 0.8rem;
    padding: 6px 14px;
    font-weight: 500;
    color: #333;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Announcements & Quick Links */
.notice-ticker-wrapper {
    display: flex;
    align-items: center;
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    font-size: 1.5rem;
    color: red;
}

.action-links-container {
    background: white;
    padding: 6px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.btn-action-link {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-action-primary {
    background: #E0E7FF;
    color: #3730A3;
}

.btn-action-secondary {
    background: #FEE2E2;
    color: #991B1B;
}

/* Hero Carousel Frame Alignment */
.carousel-item {
    height: 600px; /* Scaled precisely for single-screen desktop framing */
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    
}

.carousel-caption {
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.2) 0%, rgba(15, 52, 96, 0.88) 100%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-radius: 10px;
    padding: 10px;
}


/* Section Controls */
section.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.section-title-tag {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 2px;
}

.section-main-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px !important;
}

/* Cards */
.cat-item-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #EAEAEA;
}

.cat-img-wrap {
    height: 110px;
    position: relative;
    overflow: hidden;
}

.cat-card-body {
    padding: 8px 10px;
    text-align: center;
}

.cat-card-body h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.cat-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
}

/* Form Container */
.registration-wrapper {
    background: linear-gradient(135deg, #0F3460 0%, #16213E 100%);
    border-radius: 12px;
    padding: 20px 20px;
}

.custom-card-form .card-header {
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    font-size: 1rem;
}

.custom-card-form .card-body {
    padding: 15px !important;
}

/* Leadership Section Frame Alignment */
.leadership-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #EAEAEA;
}

.leadership-img-frame {
    width: 120px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 8px auto;
}

/* Footer Section */
footer.pt-5 {
    padding-top: 1.5rem !important;
}

footer h5 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem !important;
}

footer p, footer a {
    font-size: 0.82rem;
}

/* Desktop Viewport Alignment (PC Screen Leveling) */
@media (min-width: 992px) {
    .container {
        max-width: 96%;
    }
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}