/* Custom Design System & Core Stylesheet for Voice Missionary School */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0ea5e9; /* Sky Blue */
    --primary-hover: #0284c7; /* Darker Sky Blue */
    --accent-color: #C5A551; /* Gold */
    --accent-hover: #b59541; /* Darker Gold Accent */
    --text-dark: #0f172a; /* Slate Dark */
    --text-light: #ffffff;
    --text-muted: #64748b;
    --bg-light: #f0f9ff; /* Premium Sky Blue Tint */
    --bg-white: #ffffff; /* Brand White */
    --bg-topbar: #0f172a; /* Slate Dark */
    --border-color: #e2e8f0; /* Soft border color */
    
    /* Specialized Brand Colors */
    --navy-blue: #0284c7; /* Sky Blue */
    --royal-blue: #0369a1;
    --sky-blue: #38bdf8;
    --medium-blue: #0ea5e9;
    --light-blue: #e0f2fe;
    --brand-green: #1E915B;
    --gold: #C5A551;
    --light-gold: #DCC96F;
    --dark-gold: #98742F;
    --brown-gold: #765C20;
    --star-yellow: #FFD700;
    
    --shadow-sm: 0 1px 3px rgba(33, 48, 100, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(33, 48, 100, 0.1), 0 2px 4px -1px rgba(33, 48, 100, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(33, 48, 100, 0.12), 0 4px 6px -2px rgba(33, 48, 100, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(33, 48, 100, 0.15), 0 10px 10px -5px rgba(33, 48, 100, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html, body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Base Components & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Header & Topbar Styles */
.top-bar {
    background-color: var(--bg-topbar);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.top-bar .right-side {
    display: flex;
    gap: 20px;
}

.main-header {
    background-color: var(--bg-white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container img {
    height: 60px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.nav-item a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--accent-color);
    background-color: rgba(0, 168, 89, 0.05);
}

.nav-item.apply-now-btn a {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

.nav-item.apply-now-btn a:hover {
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(rgba(19, 48, 83, 0.65), rgba(19, 48, 83, 0.75)), url('https://images.unsplash.com/photo-1546410531-bb4caa6b424d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 0 8%;
    animation: fadeIn 1.5s ease-out;
}

.hero-content {
    max-width: 650px;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Sections Base Layout */
.section {
    padding: 80px 8%;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    align-items: center;
}

/* Cards UI */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(27, 61, 108, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(27, 61, 108, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Image Cards for Gallery */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(19, 48, 83, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
}

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

/* Admissions Steps Form */
.admission-hero {
    background: linear-gradient(rgba(19, 48, 83, 0.8), rgba(19, 48, 83, 0.85)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    height: 40vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.admission-hero h1 {
    color: var(--text-light);
    font-size: 3rem;
}

.category-selection {
    max-width: 900px;
    margin: -60px auto 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.category-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card.selected {
    border-color: var(--accent-color);
}

.category-card .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 168, 89, 0.08);
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.category-card.selected .icon-wrap {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.admission-wizard {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.wizard-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-steps {
    display: flex;
    justify-content: space-around;
    background-color: #f1f5f9;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-indicator.active {
    color: var(--primary-color);
}

.step-indicator.completed {
    color: var(--accent-color);
}

.step-indicator .step-num {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #cbd5e1;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.step-indicator.active .step-num {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.step-indicator.completed .step-num {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.wizard-body {
    padding: 40px;
}

.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 61, 108, 0.1);
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background-color: rgba(27, 61, 108, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.wizard-footer {
    padding: 20px 40px 40px;
    display: flex;
    justify-content: space-between;
}

/* Fee Summary Table */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.fee-table th, .fee-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.fee-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
}

.fee-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #f1f5f9;
}

/* About & Leadership Styles */
.profile-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.profile-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 20px;
    text-align: center;
}

.profile-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Contact Details Page */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
}

.contact-info-panel {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-panel h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-detail-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-detail-row .icon-box {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Admin Panel Styles */
.admin-login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.admin-login-card h2 {
    margin-bottom: 25px;
    text-align: center;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0b1120 0%, #070a12 100%);
    color: #f8fafc;
    padding: 16px 10px;
    width: 215px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-sizing: border-box;
}

.admin-sidebar h3 {
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-menu-item.active a, .admin-menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.admin-main {
    margin-left: 215px;
    flex: 1;
    width: calc(100% - 215px);
    padding: 30px;
    background-color: var(--bg-light);
    min-height: 100vh;
    box-sizing: border-box;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(27, 61, 108, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.metric-card.success .metric-icon {
    background-color: rgba(0, 168, 89, 0.08);
    color: var(--accent-color);
}

.metric-info h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.metric-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Admin Table Design */
.data-table-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    padding: 20px;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.table-search {
    max-width: 300px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.data-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    background-color: #f8fafc;
}

.badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-approved {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #b91c1c;
}

.badge-paid {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-unpaid {
    background-color: #f3f4f6;
    color: #4b5563;
}

/* Modal Simulation UI */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Razorpay Simulated Overlay */
.razorpay-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.razorpay-box {
    background-color: #ffffff;
    width: 380px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.razorpay-header {
    background-color: #17253a;
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.razorpay-header img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}

.razorpay-header h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.razorpay-header p {
    font-size: 0.75rem;
    opacity: 0.8;
}

.razorpay-amount {
    background-color: #0f1c30;
    color: #ffffff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.razorpay-amount span:last-child {
    font-size: 1.1rem;
    font-weight: bold;
}

.razorpay-body {
    padding: 20px;
    background-color: #f5f8fa;
    flex-grow: 1;
}

.razorpay-method {
    background-color: #ffffff;
    border: 1px solid #e1e7eb;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.razorpay-method:hover {
    border-color: #3399ff;
    background-color: #f9fcff;
}

.razorpay-method-icon {
    font-size: 1.25rem;
    color: #3399ff;
}

.razorpay-footer {
    padding: 15px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.razorpay-pay-btn {
    background-color: #3399ff;
    color: #ffffff;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.razorpay-pay-btn:hover {
    background-color: #1a8cff;
}

/* Printable Receipt Styles */
.receipt-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 750px;
    margin: 50px auto;
    padding: 50px;
    border: 1px solid var(--border-color);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.receipt-logo img {
    height: 60px;
    object-fit: contain;
}

.receipt-title {
    text-align: right;
}

.receipt-title h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.receipt-title p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.receipt-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.receipt-detail-block h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.receipt-detail-block p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.receipt-detail-block strong {
    color: var(--primary-color);
}

.receipt-seal {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.seal-box {
    text-align: center;
    border-top: 1px solid var(--text-muted);
    padding-top: 10px;
    width: 150px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-topbar);
    color: var(--text-light);
    padding: 70px 8% 30px;
}

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

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.85;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    opacity: 0.75;
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .metrics-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-header { flex-direction: column; gap: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero { text-align: center; justify-content: center; padding: 0 4%; }
    .hero h1 { font-size: 2.25rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .category-selection { grid-template-columns: 1fr; margin-top: -30px; }
    .wizard-header { flex-direction: column; gap: 15px; text-align: center; }
    .wizard-steps { flex-direction: column; gap: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .receipt-details-grid { grid-template-columns: 1fr; }
    .receipt-box { padding: 25px; }
    .metrics-container { grid-template-columns: 1fr; }
}

@media print {
    .main-header, .main-footer, .btn, .no-print, .logo-center-container, .nav-bar-container, .ticker-container { display: none !important; }
    body { background-color: white; }
    .receipt-box { box-shadow: none; border: none; padding: 0; margin: 0; }
}

/* ========================================== */
/* HEADER & NAVIGATION STYLES MOVED TO css/header.css */
/* ========================================== */

/* Hero Slider Background and Base Layout */
.hero {
    position: relative;
    height: 70vh !important;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.6)), url('../images/school_building.jpg') center/cover no-repeat;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
}

.hero-saint-cutout {
    display: none; /* Hidden to match reference screenshot design */
}

.hero-content {
    margin-right: auto !important; /* Keep container on the left */
    margin-left: 0 !important;
    max-width: 580px;
    position: relative;
    z-index: 20;
    text-align: left;
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    transform: translateY(0);
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.hero-content.slide-leaving {
    opacity: 0;
    transform: translateY(-15px);
}

.hero-content.slide-entering {
    opacity: 0;
    transform: translateY(15px);
}

.hero-content h1 {
    font-size: 3.2rem !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9);
    margin-bottom: 20px;
}

.hero-content p {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9);
    font-size: 1.1rem !important;
    font-weight: 600;
}

/* Slider Nav Dots (Visible on mobile/tablet) */
.hero-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden on desktop by default */
    gap: 8px;
    z-index: 30;
}

.hero-slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots span.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

/* Hero Thumbnail Controls (Matches Reference Image) */
.hero-thumbnails-container {
    position: absolute;
    bottom: 30px;
    right: 5%;
    width: 420px; /* Fits exactly 3 thumbnails (3 * 130px + 2 * 15px gap) */
    overflow: hidden;
    z-index: 40;
}

.hero-thumbnails-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.hero-thumb {
    width: 130px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-thumb:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.hero-thumb.active {
    border-color: var(--accent-color); /* Bright light blue/sky-blue border */
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.45);
}

/* Hero Slider Dots (Visible only on mobile/tablet) */
@media (max-width: 768px) {
    .hero-thumbnails-container {
        display: none !important;
    }
    .hero-slider-dots {
        display: flex !important;
    }
    .hero-content {
        margin: 0 auto !important;
        text-align: center;
    }
}

/* Custom Banner Explore Button */
.btn-hero-explore {
    background-color: var(--accent-color) !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px !important;
    border-radius: 4px !important;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-explore:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

/* News & Notice Ticker */
.ticker-container {
    display: flex;
    background-color: #ffffff;
    height: 45px;
    align-items: center;
    overflow: hidden;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.ticker-label {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0 25px 0 35px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 45px solid var(--primary-color);
    border-right: 15px solid transparent;
    z-index: 5;
}

.ticker-content {
    flex-grow: 1;
    padding-left: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

.ticker-content marquee {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 600;
}

.ticker-content marquee a {
    margin-right: 45px;
    color: var(--text-dark);
    transition: var(--transition);
}

.ticker-content marquee a:hover {
    color: var(--primary-color);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive updates */
@media (max-width: 992px) {
    .hero-saint-cutout {
        display: none; /* Hide cutout image on smaller screens to prevent crowding */
    }
    .hero-content {
        margin: 0 auto !important;
        text-align: center;
    }
}

/* Ticker styles and transitions are kept here */

