/* ============================================================
   TIU — The International University
   Design System & Website Stylesheet
   style.css
   ============================================================ */

/* ─── CSS CUSTOM PROPERTIES (DESIGN TOKENS) ──────────────────────────────── */
:root {
    /* Primary Palette */
    --color-primary:        #F97316;   /* Orange */
    --color-primary-dark:   #EA6A08;   /* Orange hover */
    --color-primary-light:  #FED7AA;   /* Orange tint */
    --color-primary-xlight: #FFF7ED;   /* Orange bg wash */

    /* Secondary Palette */
    --color-secondary:        #06B6D4; /* Cyan Blue */
    --color-secondary-dark:   #0891B2; /* Cyan hover */
    --color-secondary-light:  #A5F3FC; /* Cyan tint */
    --color-secondary-xlight: #ECFEFF; /* Cyan bg wash */

    /* Neutrals */
    --color-dark:       #0F172A;
    --color-dark-alt:   #1E293B;
    --color-text:       #334155;
    --color-text-muted: #64748B;
    --color-border:     #E2E8F0;
    --color-bg:         #F8FAFC;
    --color-white:      #FFFFFF;

    /* Semantic */
    --color-success:  #22C55E;
    --color-warning:  #EAB308;
    --color-danger:   #EF4444;
    --color-info:     #3B82F6;

    /* Typography */
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;

    /* Font Weights */
    --fw-normal:    400;
    --fw-medium:    500;
    --fw-semibold:  600;
    --fw-bold:      700;
    --fw-extrabold: 800;

    /* Spacing Scale */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;

    /* Layout */
    --container-max: 1200px;
    --nav-height:    72px;
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--fw-normal);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.text-primary   { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted     { color: var(--color-text-muted); }
.text-dark      { color: var(--color-dark); }
.text-white     { color: var(--color-white); }
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.text-right     { text-align: right; }

.fw-normal   { font-weight: var(--fw-normal); }
.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
}

.section-sm {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    color: var(--color-dark);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: var(--space-12);
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Label above section title */
.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

/* Underline accent beneath section title */
.title-underline {
    display: inline-block;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
}

.centered .title-underline::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Grid helpers */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.navbar-brand .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--fw-extrabold);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.navbar-brand .brand-name {
    display: flex;
    flex-direction: column;
}

.navbar-brand .brand-name span:first-child {
    font-size: var(--text-base);
    font-weight: var(--fw-extrabold);
    color: var(--color-dark);
    line-height: 1.1;
}

.navbar-brand .brand-name span:last-child {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.navbar-nav .nav-link {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-xlight);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Body offset for fixed nav */
body { padding-top: var(--nav-height); }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.625rem 1.25rem;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    font-family: var(--font-body);
    line-height: 1;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6,182,212,0.35);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.btn-dark:hover {
    background: var(--color-dark-alt);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card-body {
    padding: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.card-text {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ─── BADGES ─────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-primary   { background: var(--color-primary-light);   color: #92400E; }
.badge-secondary { background: var(--color-secondary-light); color: #164E63; }
.badge-success   { background: #DCFCE7; color: #166534; }
.badge-warning   { background: #FEF9C3; color: #854D0E; }
.badge-danger    { background: #FEE2E2; color: #991B1B; }
.badge-info      { background: #DBEAFE; color: #1E40AF; }
.badge-neutral   { background: var(--color-bg); color: var(--color-text-muted); border: 1px solid var(--color-border); }

/* ─── FORMS ──────────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

.form-control.is-invalid {
    border-color: var(--color-danger);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-text {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.form-text.text-danger {
    color: var(--color-danger);
}

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

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ─── ALERTS ─────────────────────────────────────────────────────────────── */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    border: 1px solid transparent;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
    border-color: #BBF7D0;
}

.alert-danger, .alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FECACA;
}

.alert-warning {
    background: #FEF9C3;
    color: #854D0E;
    border-color: #FEF08A;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border-color: #BFDBFE;
}

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1E3A5F 50%, #0D2B45 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249,115,22,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6,182,212,0.12) 0%, transparent 45%);
    pointer-events: none;
}

/* Decorative grid pattern */
.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: 50px 50px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--color-primary-light);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-6);
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--fw-extrabold);
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

/* ─── STATS BAR ──────────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-color: var(--color-border);
}

.stat-item {
    padding: var(--space-6) var(--space-4);
    text-align: center;
    border-right: 1px solid var(--color-border);
}

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

.stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

/* ─── PROGRAMME CARDS ────────────────────────────────────────────────────── */
.programme-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.programme-card:hover::before { transform: scaleX(1); }
.programme-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.programme-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.programme-icon.orange {
    background: var(--color-primary-xlight);
    color: var(--color-primary);
}

.programme-icon.cyan {
    background: var(--color-secondary-xlight);
    color: var(--color-secondary);
}

.programme-code {
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-2);
}

/* ─── CTA STRIP ──────────────────────────────────────────────────────────── */
.cta-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, #EA580C 40%, var(--color-secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-strip .container { position: relative; z-index: 1; }

/* ─── ACCORDION ──────────────────────────────────────────────────────────── */
.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--color-dark);
    font-family: var(--font-body);
    text-align: left;
    transition: background var(--transition-fast);
}

.accordion-trigger:hover { background: var(--color-bg); }

.accordion-trigger.active {
    background: var(--color-primary-xlight);
    color: var(--color-primary);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.accordion-trigger.active .accordion-icon { transform: rotate(180deg); }

.accordion-body {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
    display: none;
}

.accordion-body.open { display: block; }

/* ─── TABS ───────────────────────────────────────────────────────────────── */
.tab-nav {
    display: flex;
    gap: var(--space-2);
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.tab-btn {
    padding: var(--space-3) var(--space-5);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.tab-btn:hover { color: var(--color-primary); }

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ─── STAFF / FACULTY GRID ───────────────────────────────────────────────── */
.staff-card {
    text-align: center;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.staff-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-4);
    border: 3px solid var(--color-border);
}

.staff-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--color-primary-xlight), var(--color-secondary-xlight));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    border: 3px solid var(--color-border);
}

.staff-name {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: var(--space-1);
}

.staff-title {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

/* ─── NEWS CARD ──────────────────────────────────────────────────────────── */
.news-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.news-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    background: var(--color-primary-xlight);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    line-height: 1;
}

.news-date .month {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
}

.news-body h4 {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
}

.news-body p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-primary-xlight);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.75);
    padding-top: var(--space-20);
    padding-bottom: var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-5);
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1E3A5F 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249,115,22,0.1) 0%, transparent 50%);
}

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

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span   { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--color-primary-light); }

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.bg-primary    { background: var(--color-primary); }
.bg-secondary  { background: var(--color-secondary); }
.bg-dark       { background: var(--color-dark); }
.bg-light      { background: var(--color-bg); }
.bg-white      { background: var(--color-white); }

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.mt-4    { margin-top: var(--space-4); }
.mb-4    { margin-bottom: var(--space-4); }
.mt-6    { margin-top: var(--space-6); }
.mb-6    { margin-bottom: var(--space-6); }
.mt-8    { margin-top: var(--space-8); }
.mb-8    { margin-bottom: var(--space-8); }

.w-full  { width: 100%; }
.d-none  { display: none; }
.d-block { display: block; }
.d-flex  { display: flex; }

.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ─── PLACEHOLDER HIGHLIGHT (dev only) ──────────────────────────────────── */
.placeholder-text {
    background: #FEF9C3;
    border: 1px dashed #EAB308;
    border-radius: var(--radius-sm);
    padding: 0 4px;
    font-size: inherit;
    color: #854D0E;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

/* ── Mobile menu hidden on desktop by default ─────────────────────────────── */
.navbar-mobile-menu { display: none; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .navbar-nav,
    .navbar-actions {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-2);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .navbar-nav.open,
    .navbar-actions.open {
        display: flex;
    }

    .navbar-actions {
        top: auto;
        position: static;
        display: flex;
        flex-direction: row;
        padding: var(--space-4) var(--space-4) var(--space-6);
        border-bottom: none;
        border-top: 1px solid var(--color-border);
    }

    /* Mobile nav — all in one dropdown */
    .navbar-mobile-menu {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        flex-direction: column;
        padding: var(--space-4);
    }

    .navbar-mobile-menu.open { display: flex; }
    .navbar-mobile-menu .nav-link {
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-md);
        font-size: var(--text-base);
    }

    .nav-toggle { display: flex; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2rem; }
    .hero-image { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid var(--color-border); border-top: 1px solid var(--color-border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-title { font-size: var(--text-2xl); }
    .section { padding-top: var(--space-12); padding-bottom: var(--space-12); }
}

@media (max-width: 480px) {
    .container { padding-left: var(--space-4); padding-right: var(--space-4); }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: var(--text-3xl); }
}
/* ============================================================
   TIU — Enhanced Animations & Nigerian Culture Styles
   style_animations.css  —  append to or import after style.css
   ============================================================ */

/* ─── UPDATED FONT STACK ─────────────────────────────────────────────────── */
/* Import at top of <head> alongside existing Inter link:
   <link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@400;500;600;700;800&display=swap" rel="stylesheet">
*/
:root {
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body:    'Outfit', 'Inter', -apple-system, sans-serif;

    /* Nigerian gold accent */
    --color-gold:        #C9922A;
    --color-gold-light:  #F5E6C8;
    --color-gold-xlight: #FDF8EE;

    /* Animation tokens */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── KEYFRAME LIBRARY ───────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-18px) rotate(4deg); }
    66%       { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50%       { transform: translateY(-22px) rotate(-6deg) scale(1.05); }
}

@keyframes floatC {
    0%, 100% { transform: translateX(0) translateY(0); }
    40%       { transform: translateX(12px) translateY(-14px); }
    80%       { transform: translateX(-8px) translateY(-6px); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes rippleOut {
    0%   { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes badgePop {
    0%   { opacity: 0; transform: translateY(-12px) scale(0.9); }
    60%  { transform: translateY(3px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hcardDrop {
    0%   { opacity: 0; transform: translateY(-30px) rotate(var(--rot,0deg)); }
    100% { opacity: 1; transform: translateY(0) rotate(var(--rot,0deg)); }
}

@keyframes galleryScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.7); }
    70%       { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

/* ─── SCROLL REVEAL — BASE STATES ────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-card,
.reveal-stat,
.reveal-hero {
    opacity: 0;
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-card  { transform: translateY(30px) scale(0.97); }
.reveal-stat  { transform: translateY(20px); }
.reveal-hero  { transform: translateY(25px); }

/* Triggered state */
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-card.visible,
.reveal-stat.visible,
.reveal-hero.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ─── HERO — ENHANCED ────────────────────────────────────────────────────── */
.tiu-hero {
    min-height: 92vh;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
}

.tiu-hero::before,
.tiu-hero::after { display: none; } /* remove old pseudo-element */

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 18, 36, 0.92) 0%,
        rgba(10, 18, 36, 0.78) 55%,
        rgba(10, 18, 36, 0.45) 100%
    );
}

/* Floating Adire-inspired shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.hshape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hshape-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: -120px; left: -100px;
    animation: floatB 14s ease-in-out infinite;
}

.hshape-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    bottom: -80px; right: 10%;
    animation: floatA 18s ease-in-out infinite 3s;
    opacity: 0.07;
}

.hshape-3 {
    width: 80px; height: 80px;
    border: 3px solid var(--color-primary);
    top: 20%; right: 42%;
    border-radius: 12px;
    opacity: 0.15;
    animation: rotateSlow 25s linear infinite;
}

.hshape-4 {
    width: 40px; height: 40px;
    background: var(--color-gold);
    top: 65%; left: 15%;
    border-radius: 8px;
    opacity: 0.2;
    animation: floatC 10s ease-in-out infinite 2s;
}

.hshape-5 {
    width: 200px; height: 200px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    top: 35%; right: 48%;
    opacity: 0.08;
    animation: floatA 20s ease-in-out infinite 5s;
}

/* Hero inner layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Hero text */
.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 50%, var(--color-secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-highlight-2 {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 500px;
}

/* Badge */
.animate-badge {
    animation: badgePop 0.8s var(--ease-out-expo) 0.3s both;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 2s infinite;
}

/* Glow button */
.btn-glow {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
    animation: dotPulse 2.5s infinite 1s;
    position: relative;
    overflow: hidden;
}

/* Ripple effect */
.btn-ripple {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: rippleOut 0.7s ease-out forwards;
    pointer-events: none;
    margin-left: -5px; margin-top: -5px;
}

/* ─── HERO COLLAGE (right side) ───────────────────────────────────────────── */
.hero-collage {
    position: relative;
    height: 480px;
}

.hc-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.12);
}

.hc-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.hc-card-1 {
    width: 58%; height: 65%;
    top: 0; left: 0;
    --rot: -3deg;
    animation: hcardDrop 1s var(--ease-out-expo) 0.6s both, floatA 12s ease-in-out 2s infinite;
}

.hc-card-2 {
    width: 48%; height: 52%;
    top: 20%; right: 0;
    --rot: 4deg;
    animation: hcardDrop 1s var(--ease-out-expo) 0.85s both, floatB 15s ease-in-out 3s infinite;
}

.hc-card-3 {
    width: 42%; height: 40%;
    bottom: 0; left: 12%;
    --rot: 2deg;
    animation: hcardDrop 1s var(--ease-out-expo) 1.1s both, floatC 18s ease-in-out 4s infinite;
}

.hc-badge-float {
    position: absolute;
    bottom: 5%; right: 5%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
    color: #fff;
    padding: 0.6rem 1.1rem;
    border-radius: 40px;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 8px 24px rgba(249,115,22,0.4);
    animation: hcardDrop 0.9s var(--ease-out-expo) 1.4s both, floatA 8s ease-in-out 2s infinite;
    z-index: 4;
}

/* Hero scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-decoration: none;
}

.scroll-cue-inner {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.125rem;
    animation: floatA 2s ease-in-out infinite;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.scroll-cue-inner:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ─── STATS BAR — ENHANCED ───────────────────────────────────────────────── */
.tiu-stats-bar {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.tiu-stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tiu-stats-bar .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1rem;
    border-right: 1px solid var(--color-border);
    transition: background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tiu-stats-bar .stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px 2px 0 0;
    transition: transform 0.3s ease;
}

.tiu-stats-bar .stat-item:hover::after { transform: translateX(-50%) scaleX(1); }
.tiu-stats-bar .stat-item:hover { background: var(--color-primary-xlight); }
.tiu-stats-bar .stat-item:last-child { border-right: none; }

.stat-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    opacity: 0.75;
}

/* ─── ADIRE PATTERN BACKGROUND ───────────────────────────────────────────── */
.adire-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    background-image:
        repeating-linear-gradient(45deg,  transparent 0px, transparent 18px, rgba(249,115,22,0.04) 18px, rgba(249,115,22,0.04) 20px),
        repeating-linear-gradient(-45deg, transparent 0px, transparent 18px, rgba(6,182,212,0.04) 18px, rgba(6,182,212,0.04) 20px),
        repeating-linear-gradient(0deg,   transparent 0px, transparent 38px, rgba(201,146,42,0.03) 38px, rgba(201,146,42,0.03) 40px);
}

.adire-bg-dark {
    background-image:
        repeating-linear-gradient(45deg,  transparent 0px, transparent 18px, rgba(249,115,22,0.06) 18px, rgba(249,115,22,0.06) 20px),
        repeating-linear-gradient(-45deg, transparent 0px, transparent 18px, rgba(6,182,212,0.06) 18px, rgba(6,182,212,0.06) 20px);
}

/* ─── ABOUT SECTION ──────────────────────────────────────────────────────── */
.tiu-about { position: relative; }
.tiu-about .container { position: relative; z-index: 1; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Image collage */
.about-images {
    position: relative;
    height: 520px;
}

.about-img-main {
    position: absolute;
    top: 0; left: 0;
    width: 68%;
    height: 82%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.16);
    z-index: 2;
}

.about-img-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img { transform: scale(1.05); }

.about-img-badge {
    position: absolute;
    bottom: 1.25rem; left: 1.25rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(249,115,22,0.35);
    z-index: 3;
}

.about-img-badge strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.about-img-badge span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.about-img-side {
    position: absolute;
    right: 0;
    top: 6%;
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.about-img-sm {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
    aspect-ratio: 4/3;
    border: 3px solid #fff;
}

.about-img-sm img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-sm:hover img { transform: scale(1.06); }

/* Gold accent line for about section */
.about-images::before {
    content: '';
    position: absolute;
    bottom: 0; right: 20%;
    width: 70%; height: 70%;
    border: 3px solid var(--color-gold-light);
    border-radius: 20px;
    z-index: 0;
    transform: translate(12px, 12px);
}

/* Value cards in grid */
.value-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    transition: all 0.3s var(--ease-out-expo);
    cursor: default;
}

.value-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.value-card .programme-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 1rem;
}

/* ─── GALLERY STRIP ──────────────────────────────────────────────────────── */
.tiu-gallery-strip {
    overflow: hidden;
    position: relative;
    padding: 0;
    background: var(--color-dark);
    height: 220px;
}

.tiu-gallery-strip::before,
.tiu-gallery-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.tiu-gallery-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--color-dark), transparent);
}

.tiu-gallery-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--color-dark), transparent);
}

.gallery-strip-inner {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    height: 100%;
    overflow-x: hidden;
    white-space: nowrap;
    padding: 0 60px;
    scroll-behavior: auto;
}

.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.82);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
}

/* ─── PROGRAMME CARDS — ENHANCED ─────────────────────────────────────────── */
.tiu-prog-card {
    transition: all 0.35s var(--ease-out-expo);
}

.tiu-prog-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
    transform: translateY(-6px);
}

.tiu-prog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(249,115,22,0.04), rgba(6,182,212,0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tiu-prog-card:hover::after { opacity: 1; }

/* ─── NEWS CARDS — ENHANCED ──────────────────────────────────────────────── */
.tiu-news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s var(--ease-out-expo);
    background: #fff;
}

.tiu-news-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-color: transparent;
}

.news-img-wrap {
    position: relative;
    aspect-ratio: 16/8;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tiu-news-card:hover .news-img-wrap img {
    transform: scale(1.06);
}

.news-category {
    position: absolute;
    top: 0.875rem; left: 0.875rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border-radius: 40px;
}

.news-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    flex-direction: row;
    background: none;
    width: auto;
    padding: 0;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.date-month-year {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
    padding-top: 0.75rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.news-read-more:hover {
    color: var(--color-primary-dark);
    gap: 0.75rem;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.tiu-testimonials { position: relative; overflow: hidden; }
.tiu-testimonials .container { position: relative; z-index: 1; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: all 0.35s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-6px);
    border-color: rgba(249,115,22,0.3);
}

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

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255,255,255,0.82);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.testimonial-author > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-author strong {
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

.testimonial-state {
    font-size: 0.75rem !important;
    color: var(--color-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ─── CTA STRIP — ENHANCED ───────────────────────────────────────────────── */
.tiu-cta {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.7);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(249,115,22,0.92) 0%,
        rgba(234,104,8,0.88) 45%,
        rgba(8,145,178,0.85) 100%
    );
}

/* ─── NAVBAR SCROLL ENHANCEMENT ──────────────────────────────────────────── */
.navbar {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
}

/* Nav link hover line animation */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 12px; right: 12px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s var(--ease-out-expo);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ─── RESPONSIVE OVERRIDES ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-collage { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { height: 340px; margin-bottom: 1rem; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .tiu-hero { min-height: 80vh; }
    .hero-title { font-size: 2.2rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .tiu-stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .tiu-gallery-strip { height: 160px; }
    .gallery-item { width: 220px; }
    .value-cards-grid { grid-template-columns: 1fr; }
    .about-images { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up, .reveal-left, .reveal-right,
    .reveal-card, .reveal-stat, .reveal-hero {
        opacity: 1 !important;
        transform: none !important;
    }
}
