/* ============================================
   BHAKKAR INSTITUTE OF HEALTH AND SCIENCES
   Color Scheme: Deep Navy | Burnt Rust | Warm Off-White
   ============================================ */

:root {
    --deep-navy: #1A1D24;
    --burnt-rust: #C5512B;
    --warm-offwhite: #F5F3F0;
    --light-gray: #E2DCD3;
    --deep-rust: #8C3A1E;
    --faded-teal: #2D6A6F;
    --soft-sand: #DBCBB8;
    --text-dark: #1A1D24;
    --text-light: #F5F3F0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-offwhite);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: var(--deep-navy);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon img {
    border-radius: 50%;
    border: 2px solid var(--burnt-rust);
}

.logo-text h1 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--warm-offwhite);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--light-gray);
}

.portal-btn {
    background: var(--burnt-rust);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-weight: 600;
}

.portal-btn:hover {
    background: var(--deep-rust);
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--warm-offwhite);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--burnt-rust);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #2a2f3a 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.admission-badge {
    display: inline-block;
    background: var(--burnt-rust);
    padding: 10px 25px;
    border-radius: 40px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   IMAGE SLIDER
   ============================================ */
.slider-container {
    overflow: hidden;
    width: 100%;
    background: var(--deep-navy);
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-images img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--deep-navy);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--burnt-rust);
}

.section-title p {
    color: #555;
    margin-top: 15px;
}

/* ============================================
   ADMISSION INFO
   ============================================ */
.admission-container {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.admission-text {
    flex: 1;
}

.admission-text h3 {
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.admission-text ul {
    list-style: none;
    margin: 20px 0;
}

.admission-text ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.admission-text ul li::before {
    content: '✓';
    color: var(--burnt-rust);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.admission-image {
    flex: 1;
}

.admission-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid var(--burnt-rust);
}

/* ============================================
   AFFILIATED UNIVERSITIES
   ============================================ */
.affiliated-section {
    background: var(--soft-sand);
    padding: 70px 0;
}

.universities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.university-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.university-logo i {
    color: var(--burnt-rust) !important;
    margin-bottom: 15px;
}

.university-card h4 {
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.university-card small {
    color: var(--burnt-rust);
    font-weight: 500;
}

/* ============================================
   PRINCIPAL SECTION
   ============================================ */
.principal-section {
    padding: 70px 0;
    background: var(--warm-offwhite);
}

.principal-container {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.principal-image {
    flex: 1;
    text-align: center;
}

.principal-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--burnt-rust);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.principal-content {
    flex: 2;
}

.principal-message p {
    margin-bottom: 15px;
    color: #333;
}

.principal-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed var(--light-gray);
}

.signature-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--deep-navy);
}

.signature-title {
    font-size: 0.85rem;
    color: var(--burnt-rust);
}

/* ============================================
   DEPARTMENTS SECTION
   ============================================ */
.departments-section {
    padding: 70px 0;
    background: var(--light-gray);
}

.departments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.department-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--burnt-rust);
}

.department-icon i {
    font-size: 2.5rem;
    color: var(--burnt-rust);
    margin-bottom: 20px;
}

.department-card h3 {
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.department-meta {
    display: inline-block;
    margin-top: 15px;
    color: var(--burnt-rust);
    font-size: 0.8rem;
}

/* ============================================
   ALUMNI SECTION
   ============================================ */
.alumni-section-wrapper {
    padding: 70px 0;
    background: var(--deep-navy);
    color: white;
}

.alumni-header {
    text-align: center;
    margin-bottom: 50px;
}

.alumni-header h2 {
    font-size: 2rem;
    color: var(--burnt-rust);
}

.alumni-header p {
    color: var(--light-gray);
}

.alumni-slider-outer {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.alumni-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.alumni-slide-card {
    flex: 0 0 100%;
    display: flex;
    gap: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(2px);
    flex-wrap: wrap;
}

.alumni-photo-side img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--burnt-rust);
}

.alumni-content-side {
    flex: 1;
}

.alumni-quote-icon i {
    font-size: 2rem;
    color: var(--burnt-rust);
    opacity: 0.6;
    margin-bottom: 15px;
}

.alumni-testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.alumni-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--burnt-rust);
}

.alumni-batch {
    font-size: 0.85rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.alumni-achievement i {
    margin-right: 8px;
    color: var(--burnt-rust);
}

.alumni-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--burnt-rust);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.alumni-nav-btn:hover {
    background: var(--deep-rust);
}

.alumni-prev {
    left: 10px;
}

.alumni-next {
    right: 10px;
}

.alumni-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.alumni-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.alumni-dot.active-dot {
    background: var(--burnt-rust);
    transform: scale(1.2);
}

/* ============================================
   ADMISSION CTA
   ============================================ */
.admission-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--burnt-rust), var(--deep-rust));
    color: white;
}

.cta-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1.5;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 40px;
}

.cta-action {
    flex: 1;
}

.cta-card {
    background: white;
    color: var(--deep-navy);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-icon i {
    font-size: 3rem;
    color: var(--burnt-rust);
    margin-bottom: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--burnt-rust);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--deep-rust);
    gap: 15px;
}

.cta-note {
    font-size: 0.8rem;
    margin-top: 15px;
    color: #666;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--deep-navy);
    color: var(--light-gray);
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--burnt-rust);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--burnt-rust);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--burnt-rust);
    margin-top: 4px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #128C7E;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--deep-navy);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .principal-container {
        flex-direction: column;
        text-align: center;
    }
    
    .alumni-slide-card {
        flex-direction: column;
        text-align: center;
    }
    
    .alumni-photo-side img {
        margin: 0 auto;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .admission-container {
        flex-direction: column;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
img {
    max-width: 100%;
}

.btn, .portal-btn, .cta-button {
    cursor: pointer;
}

/* Fix for slider images - add JavaScript functionality */
.slider-images {
    animation: slideAnimation 12s infinite;
}

@keyframes slideAnimation {
    0%, 33% { transform: translateX(0); }
    38%, 71% { transform: translateX(-100%); }
    76%, 100% { transform: translateX(-200%); }
}/* ============================================
   NEWS.PHP - NISAB COLLEGE COLOR SCHEME
   Deep Navy: #1A1D24 | Burnt Rust: #C5512B | Warm Off-White: #F5F3F0
   ============================================ */

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #1A1D24 0%, #2a2f3a 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="none" stroke="white" stroke-width="2"/></svg>') repeat;
    background-size: 50px 50px;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
    color: #F5F3F0;
    position: relative;
    display: inline-block;
}

.page-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #C5512B;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NEWS CONTAINER LAYOUT ===== */
.news-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FEATURED NEWS ARTICLE ===== */
.featured-news {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    border: 1px solid #E2DCD3;
}

.featured-news:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-color: #C5512B;
}

.featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-news:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 30px;
}

.featured-content h2 {
    font-size: 1.8rem;
    color: #1A1D24;
    margin: 15px 0;
    line-height: 1.3;
}

.featured-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===== NEWS META INFORMATION ===== */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.85rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: #C5512B;
    font-size: 0.9rem;
}

/* ===== NEWS CARDS ===== */
.news-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #E2DCD3;
}

.news-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #C5512B;
}

.news-thumb {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.08);
}

.news-detail {
    flex: 1;
}

.news-detail h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.news-detail h3 a {
    color: #1A1D24;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-detail h3 a:hover {
    color: #C5512B;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===== READ MORE BUTTON ===== */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #1A1D24;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.read-more-btn:hover {
    color: #C5512B;
    border-bottom-color: #C5512B;
    gap: 15px;
}

.read-more-btn i {
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    color: #1A1D24;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    border: 1px solid #E2DCD3;
    font-weight: 500;
}

.page-link:hover,
.page-link.active {
    background: #C5512B;
    color: white;
    border-color: #C5512B;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(197, 81, 43, 0.3);
}

/* ===== SIDEBAR ===== */
.news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #E2DCD3;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #C5512B;
}

.widget-title {
    color: #1A1D24;
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #C5512B;
}

/* ===== CATEGORY LIST ===== */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #E2DCD3;
    padding-bottom: 12px;
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: #C5512B;
    padding-left: 5px;
}

.category-list .count {
    background: #F5F3F0;
    color: #1A1D24;
    padding: 2px 10px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== RECENT POSTS ===== */
.recent-post {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2DCD3;
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-thumb img:hover {
    transform: scale(1.1);
}

.recent-info h4 {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-info h4 a {
    color: #1A1D24;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-info h4 a:hover {
    color: #C5512B;
}

.recent-date {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-date i {
    color: #C5512B;
    font-size: 0.7rem;
}

/* ===== ARCHIVE LIST ===== */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    margin-bottom: 12px;
}

.archive-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-list a:hover {
    color: #C5512B;
    padding-left: 5px;
}

.archive-list span {
    background: #F5F3F0;
    color: #1A1D24;
    padding: 2px 10px;
    border-radius: 25px;
    font-size: 0.7rem;
}

/* ===== TAGS CLOUD ===== */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #F5F3F0;
    color: #1A1D24;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag:hover {
    background: #C5512B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 81, 43, 0.3);
    border-color: #C5512B;
}

/* ===== NEWSLETTER WIDGET ===== */
.newsletter-widget {
    background: linear-gradient(135deg, #1A1D24 0%, #2a2f3a 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.newsletter-widget:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: #C5512B;
    opacity: 0.1;
    border-radius: 50%;
}

.newsletter-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #F5F3F0;
    position: relative;
}

.newsletter-widget p {
    margin-bottom: 20px;
    opacity: 0.85;
    font-size: 0.9rem;
    position: relative;
}

.newsletter-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.newsletter-input input {
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    width: 100%;
    background: rgba(255,255,255,0.95);
    font-family: inherit;
}

.newsletter-input input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 81, 43, 0.4);
}

.newsletter-input button {
    background: #C5512B;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
}

.newsletter-input button:hover {
    background: #8C3A1E;
    transform: translateY(-2px);
}

/* ===== NO NEWS MESSAGE ===== */
.no-news-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid #E2DCD3;
    color: #777;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #128C7E;
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .news-container {
        grid-template-columns: 1fr 300px;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .featured-image {
        height: 350px;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-sidebar {
        position: static;
        margin-top: 20px;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 20px;
    }
    
    .featured-content h2 {
        font-size: 1.3rem;
    }
    
    .news-card {
        grid-template-columns: 150px 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .news-thumb {
        width: 150px;
        height: 120px;
    }
    
    .news-detail h3 {
        font-size: 1rem;
    }
    
    .news-meta {
        gap: 12px;
        font-size: 0.75rem;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 12px;
        border-radius: 50%;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-thumb {
        width: 100%;
        height: 180px;
    }
    
    .featured-content h2 {
        font-size: 1.2rem;
    }
    
    .pagination {
        gap: 8px;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .newsletter-widget {
        padding: 20px;
    }
}

/* ===== ACTIVE NAVIGATION HIGHLIGHT ===== */
nav ul li a[href="news.php"] {
    color: #C5512B;
    font-weight: 600;
}

/* ===== PRINT STYLES ===== */
@media print {
    .news-sidebar,
    .whatsapp-btn,
    .newsletter-widget,
    .pagination,
    header,
    footer {
        display: none;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .news-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .featured-news {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.mb-4 {
    margin-bottom: 40px;
}/* ============================================
   COLLEGE LIFE PAGE STYLES
   ============================================ */

/* ===== LIFE GRID (Gallery Cards) ===== */
.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.life-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.life-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.life-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.life-card-content {
    padding: 20px;
}

.life-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.life-card-content p {
    font-size: 0.9rem;
    color: #555;
}

/* Tags */
.life-tags {
    margin-top: 12px;
}

.life-tag {
    display: inline-block;
    background: var(--soft-sand);
    color: var(--deep-navy);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 5px;
}

/* ===== CLUBS SECTION ===== */
.clubs-section {
    padding: 70px 0;
    background: var(--light-gray);
}

.clubs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.club-item {
    background: white;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.club-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.club-icon i {
    font-size: 2rem;
    color: var(--burnt-rust);
    margin-bottom: 15px;
}

.club-item h4 {
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.club-item p {
    font-size: 0.85rem;
    color: #555;
}

/* ===== STUDENT VOICES ===== */
.student-voices {
    padding: 70px 0;
    background: var(--warm-offwhite);
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.voice-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
}

.voice-content {
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--burnt-rust);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-info h4 {
    font-size: 0.95rem;
    margin: 0;
}

.author-info p {
    font-size: 0.75rem;
    color: #777;
}

/* ===== CTA SECTION ===== */
.life-cta {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--deep-navy), #2a2f3a);
    color: white;
}

.life-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.life-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.life-cta .btn {
    background: var(--burnt-rust);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.life-cta .btn:hover {
    background: var(--deep-rust);
    transform: translateY(-2px);
}

/* ===== ACTIVE NAV LINK ===== */
nav ul li a[href="college_life.php"] {
    color: var(--burnt-rust);
    font-weight: 600;
}