/* ========================================
   KIST UNIVERSITY - ELEGANT BLUE THEME
   Clean, Professional, Sophisticated Design
   Enhanced Typography & Spacing - Fixed Alignment
   ======================================== */

/* ---------- CSS VARIABLES / ROOT ---------- */
:root {
    --primary-dark: #1a3a5c;
    --primary-deep: #1e4d76;
    --primary-mid: #2a6b96;
    --primary-light: #3a86b8;
    --accent-gold: #d4a843;
    --accent-gold-dark: #b8922e;
    --accent-gold-light: #faf5e8;
    --accent-gold-gradient: linear-gradient(135deg, #d4a843, #b8922e);
    --gray-light: #f8fafc;
    --gray-mid: #eef2f8;
    --gray-dark: #64748b;
    --text-dark: #1e293b;
    --text-muted: #5a6e85;
    --white: #ffffff;
    --black: #0f172a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 45px rgba(0, 0, 0, 0.1);
    --border-radius: 1rem;
    --border-radius-sm: 0.75rem;
    --border-radius-lg: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- TYPOGRAPHY - MODERN & SMALLER ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--primary-dark);
}

h1 { 
    font-size: 2.8rem; 
    letter-spacing: -0.03em;
}
h2 { 
    font-size: 2rem; 
    margin-bottom: 0.75rem; 
    position: relative; 
}
h3 { 
    font-size: 1.4rem; 
}
h4 { 
    font-size: 1.15rem; 
}
h5 {
    font-size: 1rem;
}
h6 {
    font-size: 0.9rem;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    color: var(--primary-dark);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-gold-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.highlight {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.bg-soft-light {
    background-color: var(--gray-light);
}

.lead {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ---------- CONTAINER FIX ---------- */
.container {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ---------- ROW & GRID FIXES ---------- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* ---------- HEADER & NAVIGATION ---------- */
.site-header {
    background-color: var(--white);
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(42, 107, 150, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.15);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.main-nav .nav-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.45rem 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.85rem;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Responsive Nav */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
        background: var(--white);
        padding: 0.8rem;
        border-radius: var(--border-radius-sm);
        box-shadow: var(--shadow-md);
    }
    .main-nav.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .header-inner {
        flex-wrap: wrap;
    }
}

/* ---------- BUTTONS ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: var(--white);
    font-weight: 500;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline-light-custom {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-mid);
    color: var(--primary-mid);
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
    background: transparent;
    cursor: pointer;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-mid);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.75), rgba(30, 77, 118, 0.8));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.hero-section h1 .highlight {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-subheadline {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    color: #ffffff !important;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--accent-gold);
    width: 25px;
    border-radius: 10px;
}

.slider-dots .dot:hover {
    background-color: var(--accent-gold);
}

/* ---------- PAGE TITLE SECTION ---------- */
.page-title-section {
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.75), rgba(30, 77, 118, 0.8));
    z-index: 0;
}

.page-title-section .container {
    position: relative;
    z-index: 1;
}

.page-title-section h1 {
    color: #ffffff !important;
    font-size: 2.2rem;
}

.page-title-section .lead {
    color: #ffffff !important;
    font-size: 0.95rem;
}

/* ---------- QUICK INFO SECTION ---------- */
.info-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(42, 107, 150, 0.08);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-mid);
}

.info-card i {
    color: var(--primary-mid);
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
    display: block;
}

.info-card h5 {
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ---------- NEWS SECTION ---------- */
.news-card-highlight {
    background: linear-gradient(135deg, #1a3a5c, #1e4d76);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.news-card-highlight:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.news-badge {
    background: var(--accent-gold-gradient);
    color: var(--white);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.news-card-highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.news-card-highlight p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

/* ---------- PROGRAM CATEGORY CARDS ---------- */
.program-category-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.program-category-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}

.program-category-card.health-bg {
    background: linear-gradient(135deg, #2a6b96, #1e4d76);
}

.program-category-card.management-bg {
    background: linear-gradient(135deg, #3a86b8, #2a6b96);
}

.program-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.program-category-card i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--accent-gold);
    display: block;
}

.program-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.program-category-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

/* ---------- FEATURE CARDS ---------- */
.feature-card-small {
    background: var(--white);
    padding: 1.3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(42, 107, 150, 0.08);
    height: 100%;
}

.feature-card-small i {
    font-size: 1.8rem;
    color: var(--primary-mid);
    margin-bottom: 0.6rem;
    display: block;
}

.feature-card-small h5 {
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.feature-card-small p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

.feature-card-small:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-mid);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: linear-gradient(135deg, #1a3a5c, #1e4d76);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="none"><circle cx="100" cy="100" r="150" fill="rgba(255,255,255,0.03)"/><circle cx="800" cy="800" r="200" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.cta-banner .lead {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.2rem;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(42, 107, 150, 0.1);
}

footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold-gradient);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

footer ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    margin-right: 0.4rem;
    color: var(--white);
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent-gold-gradient);
    transform: translateY(-2px);
    color: var(--black);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.contact-list i {
    color: var(--accent-gold);
    font-size: 0.95rem;
    width: 20px;
}

hr {
    background-color: rgba(255, 255, 255, 0.06);
    margin: 1.5rem 0;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
    color: #94a3b8;
}

/* ---------- ALL CARDS - FIXED ALIGNMENT ---------- */
.mission-box,
.accreditation-card,
.location-card,
.structure-card,
.mode-card,
.faculty-overview-card,
.course-detailed-card,
.cert-simple-card,
.requirements-card,
.apply-step-card,
.info-card-blue,
.fee-card,
.date-card,
.contact-card,
.partner-card,
.gallery-card,
.faculty-card-full,
.faculty-placeholder-card {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.mission-box {
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(42, 107, 150, 0.1);
}

.accreditation-card {
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.location-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.structure-card, .mode-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.faculty-overview-card {
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.course-detailed-card {
    padding: 1.3rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.cert-simple-card {
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.requirements-card {
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.apply-step-card {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.info-card-blue {
    background: var(--gray-light);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.fee-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.date-card {
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.contact-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.partner-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.faculty-card-full {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

.faculty-placeholder-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 107, 150, 0.08);
}

/* Hover Effects */
.mission-box:hover,
.accreditation-card:hover,
.location-card:hover,
.structure-card:hover,
.mode-card:hover,
.faculty-overview-card:hover,
.course-detailed-card:hover,
.cert-simple-card:hover,
.requirements-card:hover,
.apply-step-card:hover,
.info-card-blue:hover,
.fee-card:hover,
.date-card:hover,
.contact-card:hover,
.partner-card:hover,
.gallery-card:hover,
.faculty-card-full:hover,
.faculty-placeholder-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-mid);
}

/* ---------- SPECIFIC CARD STYLES ---------- */
.mission-box h3,
.accreditation-card h3,
.info-card-blue h3 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mission-box p,
.accreditation-card p,
.info-card-blue p {
    font-size: 0.9rem;
}

.location-card h4,
.structure-card h3,
.mode-card h3,
.faculty-overview-card h3,
.course-detailed-card h3,
.apply-step-card h4,
.fee-card h3,
.date-card h4,
.contact-card h3,
.partner-card h4,
.faculty-card-full h3,
.faculty-placeholder-card h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.duration {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.course-icon i {
    font-size: 1.8rem;
    color: var(--primary-mid);
}

.course-info {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 0.8rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.fee-card.health-fee {
    border-top: 3px solid var(--primary-mid);
}

.fee-card.management-fee {
    border-top: 3px solid var(--accent-gold);
}

.fee-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0.8rem 0;
}

/* ---------- FORMS ---------- */
.form-container {
    background: var(--white);
    padding: 1.8rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(42, 107, 150, 0.08);
    height: 100%;
}

.form-container h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.form-container label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.form-container .form-control, 
.form-container .form-select {
    background-color: var(--white);
    border: 1px solid rgba(42, 107, 150, 0.2);
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    width: 100%;
}

.form-container .form-control:focus,
.form-container .form-select:focus {
    border-color: var(--primary-mid);
    box-shadow: 0 0 0 0.15rem rgba(42, 107, 150, 0.2);
    outline: none;
}

.map-container {
    background: var(--white);
    padding: 1.8rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(42, 107, 150, 0.08);
    height: 100%;
}

.map-container h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ---------- GALLERY ---------- */
.gallery-card {
    overflow: hidden;
}

.gallery-image-placeholder {
    background: linear-gradient(135deg, rgba(42, 107, 150, 0.05), var(--white));
    padding: 1.5rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
}

.gallery-caption h5 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.gallery-caption p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.gallery-closing {
    background: linear-gradient(135deg, #1a3a5c, #1e4d76);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.gallery-closing p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.02);
}

.category-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    color: var(--primary-dark);
}

/* ---------- FACULTY PHOTOS ---------- */
.faculty-photo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
    border: 2px solid var(--primary-mid);
}

.faculty-card-full:hover .faculty-photo {
    transform: scale(1.02);
}

.faculty-avatar {
    margin: 0 auto 1rem;
}

.faculty-title {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.faculty-contact {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(42, 107, 150, 0.08);
}

.faculty-contact p {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.faculty-contact i {
    color: var(--primary-mid);
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

.faculty-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.faculty-contact a:hover {
    color: var(--primary-mid);
}

/* ---------- PARTNER SECTION ---------- */
.partner-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.partner-profile-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.partner-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.partner-role {
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}

.partner-closing {
    background: rgba(42, 107, 150, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 0.8rem;
    border: 1px solid rgba(42, 107, 150, 0.08);
    text-align: center;
}

.partner-closing p {
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- CAMPUS LOGOS ---------- */
.campus-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

/* ---------- SPACING UTILITIES (FIXED) ---------- */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 2rem !important;
}

/* ---------- ACCORDION ---------- */
.accordion-item {
    border: none;
    margin-bottom: 0.8rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background: var(--white);
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---------- REQUIREMENTS LIST ---------- */
.requirements-list {
    list-style: none;
    padding: 0;
    margin-top: 0.8rem;
}

.requirements-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.requirements-list li i {
    font-size: 0.8rem;
}

/* ---------- DONATION LINK ---------- */
.donation-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.85rem;
}

.donation-link:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }
    .hero-section { min-height: 70vh; }
    .hero-section h1 { font-size: 1.8rem; }
    .hero-subheadline { font-size: 0.9rem; }
    .hero-content { padding: 1.5rem 0; }
    .page-title-section h1 { font-size: 1.8rem; }
    .page-title-section { padding: 70px 0 40px; min-height: 220px; }
    .hero-buttons .btn-gold, 
    .hero-buttons .btn-outline-primary-custom {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    .section-head h2 { font-size: 1.6rem; }
    .section-title:after { width: 35px; }
    .cta-banner h2 { font-size: 1.6rem; }
    .cta-banner { padding: 2.5rem 0; }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Fix row margins on mobile */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section { min-height: 65vh; }
    .hero-buttons { 
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 0.8rem;
    }
    .hero-buttons a { 
        width: 80%;
        text-align: center;
    }
    .section-title { font-size: 1.5rem; }
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}
