/* ===========================================
   BHCNMT - Bibi Halima College of Nursing
   Main Stylesheet
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #0a4d68;
    --color-primary-dark: #062c3d;
    --color-primary-light: #1e7a9c;
    --color-accent: #e8853a;
    --color-accent-dark: #c66e26;
    --color-accent-light: #f4a460;
    --color-flame: #d63031;
    --color-cream: #faf7f2;
    --color-warm-white: #fefdfb;
    --color-text: #1a2332;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-border: #e2e8f0;
    --color-bg-soft: #f7fafc;
    --color-gold: #c9a961;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 77, 104, 0.08);
    --shadow-md: 0 4px 14px rgba(10, 77, 104, 0.10);
    --shadow-lg: 0 10px 30px rgba(10, 77, 104, 0.12);
    --shadow-xl: 0 20px 50px rgba(10, 77, 104, 0.15);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================================
   TOP UTILITY BAR
   =========================================== */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.top-bar-links {
    display: flex;
    gap: 16px;
}

.top-bar-links a:hover {
    color: var(--color-accent-light);
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
    background: var(--color-warm-white);
    border-bottom: 3px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    padding: 18px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.header-text {
    flex: 1;
    text-align: center;
}

.header-text h1 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.header-text .subtitle {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--color-accent-dark);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 4px;
}

.header-text .affiliation {
    font-size: clamp(0.78rem, 1.2vw, 0.9rem);
    color: var(--color-text-light);
    font-weight: 500;
}

.header-text .affiliation strong {
    color: var(--color-primary);
}

.header-cta {
    flex-shrink: 0;
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

.btn-apply {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    display: inline-block;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.main-nav {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    color: white;
    padding: 14px 24px;
    font-size: 18px;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.menu-toggle span {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    position: relative;
}

.nav-item > a:hover,
.nav-item.active > a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-accent-light);
}

.nav-item.has-dropdown > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.7;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--color-accent);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 200;
}

.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--color-bg-soft);
    color: var(--color-primary);
    padding-left: 26px;
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--color-primary-dark);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-item > a {
        padding: 14px 24px;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.2);
        display: none;
    }
    
    .nav-item.has-dropdown.open .dropdown {
        display: block;
    }
    
    .dropdown li a {
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-left: 40px;
    }
    
    .dropdown li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--color-accent-light);
    }
}

/* ===========================================
   HERO BANNER
   =========================================== */
.hero {
    position: relative;
    height: 560px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(232, 133, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 133, 58, 0.15);
    border: 1px solid rgba(232, 133, 58, 0.4);
    color: var(--color-accent-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(232, 133, 58, 0.3);
}

.hero h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero h2 em {
    font-style: italic;
    color: var(--color-accent-light);
    font-weight: 500;
}

.hero p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(232, 133, 58, 0.4);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 133, 58, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-decorative {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

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

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* remove height: 700px */
}
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: relative; /* instead of absolute */
    width: 100%;
    display: none;
}

.slide.active {
    display: block;
}
.slide img {
    width: 100%;
    height: auto; /* THIS ensures natural height */
    display: block;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}




/* Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 2;
}

.slider-controls span {
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* ===========================================
   PAGE HERO (for sub-pages)
   =========================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 50%, rgba(232, 133, 58, 0.12) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--color-accent-light);
}

.breadcrumb .separator {
    opacity: 0.5;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.page-hero .lead {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    font-weight: 400;
}

/* ===========================================
   SECTIONS
   =========================================== */
.section {
    padding: 80px 0;
}

.section-tight {
    padding: 60px 0;
}

.section-bg {
    background: var(--color-cream);
}

.section-dark {
    background: var(--color-primary-dark);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header.left-aligned {
    text-align: left;
    margin-left: 0;
}

.eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    padding-left: 32px;
}

.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
}

.section-header.left-aligned .eyebrow {
    padding-left: 32px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.section-header h2 em {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 500;
}

.section-header p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===========================================
   STATS BAR
   =========================================== */
.stats-bar {
    background: var(--color-primary);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(232, 133, 58, 0.1) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
}

.stat-item {
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 500;
}

/* ===========================================
   CARDS GRID
   =========================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.card-body {
    padding: 28px 24px;
}

.card-tag {
    display: inline-block;
    background: rgba(232, 133, 58, 0.12);
    color: var(--color-accent-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.card p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    color: var(--color-accent-dark);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
}

.card-link:hover {
    color: var(--color-accent);
    gap: 10px;
}

/* ===========================================
   FEATURE CARDS WITH ICONS
   =========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.1), rgba(232, 133, 58, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ===========================================
   ABOUT/CONTENT BLOCK
   =========================================== */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.content-block-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.content-block-text p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.content-block-text p strong {
    color: var(--color-text);
}

.content-block-image {
    position: relative;
}

.content-block-image .image-frame {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.content-block-image .image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(232, 133, 58, 0.3) 0%, transparent 60%);
}

.content-block-image .image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    /* padding: 20px; */
}

.content-block-image .image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.content-block-image .accent-block {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-accent);
    color: white;
    padding: 24px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 220px;
}

.content-block-image .accent-block .number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.content-block-image .accent-block .label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===========================================
   NEWS / NOTICE BOARD
   =========================================== */
.news-section {
    background: var(--color-cream);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    background: white;
    padding: 24px 28px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 12px 14px;
    border-radius: 6px;
    min-width: 70px;
}

.news-date .day {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.news-date .month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    color: var(--color-accent-light);
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.news-content p {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.55;
}

.news-tag {
    display: inline-block;
    background: rgba(10, 77, 104, 0.1);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notice-board {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: fit-content;
}

.notice-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-header svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent-light);
}

.notice-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.notice-list li {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.notice-list li:hover {
    background: var(--color-bg-soft);
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.notice-list a:hover {
    color: var(--color-primary);
}

.notice-list .notice-date {
    font-size: 11.5px;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin-top: 4px;
    display: block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notice-list .new-tag {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 8px;
    animation: blink 1.5s ease infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand img {
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-brand h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--color-accent);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--color-accent-light);
    padding-left: 4px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--color-accent);
    font-weight: 700;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* ===========================================
   GENERIC CONTENT PAGES
   =========================================== */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
}

@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.content-main h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    margin-top: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-primary-light);
    margin-bottom: 12px;
    margin-top: 24px;
    font-weight: 600;
}

.content-main p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.content-main ul, .content-main ol {
    margin: 16px 0 24px 24px;
    color: var(--color-text-light);
}

.content-main ul li, .content-main ol li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 15.5px;
}

.content-main ul li::marker {
    color: var(--color-accent);
}

.content-main blockquote {
    background: var(--color-cream);
    border-left: 4px solid var(--color-accent);
    padding: 20px 28px;
    margin: 28px 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-text);
    border-radius: 4px;
}

.sidebar {
    position: sticky;
    top: 200px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    font-weight: 600;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li a {
    color: var(--color-text);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-card ul li a:hover {
    color: var(--color-primary);
}

.sidebar-card ul li a::after {
    content: '→';
    color: var(--color-accent);
    transition: transform var(--transition);
}

.sidebar-card ul li a:hover::after {
    transform: translateX(4px);
}

/* ===========================================
   PROFILE / TEAM CARDS
   =========================================== */
.profile-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.profile-image {
    height: 280px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.profile-image img{
    width:100%
}

.profile-image svg {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.4);
}

.profile-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}

.profile-body {
    padding: 24px;
    text-align: center;
}

.profile-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.profile-body .role {
    color: var(--color-accent-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.profile-body .qualification {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 12px;
    font-style: italic;
}

/* ===========================================
   TABLES
   =========================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 24px 0;
}

.data-table th {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14.5px;
    color: var(--color-text-light);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--color-bg-soft);
}

/* ===========================================
   FORM
   =========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info-item .icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(232, 133, 58, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent-light);
}

.contact-info-item .icon-circle svg {
    width: 20px;
    height: 20px;
}

.contact-info-item .info-content h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-light);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-info-item .info-content p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: white;
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-wrapper {
    background: white;
    padding: 36px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-wrapper .contact-form {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.contact-form-wrapper > h3 {
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-bg-soft);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===========================================
   GALLERY GRID
   =========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);;
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 16px;
    font-size: 13px;
}
.gallery-placeholder img{
        width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.gallery-placeholder svg {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition);
}

/* ===========================================
   UTILITIES
   =========================================== */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        height: auto;
        min-height: 480px;
        padding: 60px 0;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding-bottom: 20px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .header-text h1 {
        font-size: 1.05rem;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
}
