/**
 * IHM Aurangabad Admission Portal - Professional Stylesheet
 * Exact match to ayyubifragrances.com header design
 */

/* ===== CSS Variables ===== */
:root {
    --primary-navy: #1e3a5f;
    --primary-dark: #152a45;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --border-color: #e5e7eb;
    --gold: #c9a227;
    --success-color: #10b981;
    --accent-color: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.2s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

ul, ol {
    list-style: none;
}

/* ===== HEADER - Exact Match to ayyubifragrances.com ===== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo Section - Exact match */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-trust-text {
    font-size: 9px;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 500;
}

.logo-link img {
    height: 55px;
    width: auto;
}

.logo-link.ihcl img {
    height: 40px;
    width: auto;
}

/* Navigation - Exact match */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

/* Navigation Link - Exact pill style */
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 25px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-navy);
}

/* Active state - Dark navy pill */
.nav-link.active {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.nav-link.active:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
}

/* Dropdown Arrow */
.nav-link .fa-chevron-down {
    font-size: 11px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

/* ===== DROPDOWN MENU - Professional Style ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-white);
    min-width: 260px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid var(--border-color);
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown arrow pointer (triangle) */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 35px;
    width: 12px;
    height: 12px;
    background: var(--bg-white);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-navy);
}

/* Submenu - slides from right */
.has-submenu {
    position: relative;
}

.has-submenu > a .fa-chevron-right {
    font-size: 11px;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.has-submenu:hover > a .fa-chevron-right {
    transform: translateX(3px);
    color: var(--primary-navy);
}

.submenu {
    position: absolute;
    top: 0;
    left: calc(100% + 5px);
    background: var(--bg-white);
    min-width: 230px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    z-index: 1002;
    border: 1px solid var(--border-color);
}

.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li a {
    padding: 10px 18px;
    font-size: 13px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 40px 0;
}

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

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 32px;
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-title p {
    color: var(--text-medium);
    font-size: 16px;
}

/* ===== FORM STYLES ===== */
.admission-form {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-navy);
}

.section-number {
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.section-title {
    font-size: 20px;
    color: var(--primary-navy);
    font-weight: 600;
}

.section-note {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: 8px;
}

/* Form Grid */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 13px;
}

.form-label.required::after {
    content: ' *';
    color: var(--accent-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

select.form-control {
    appearance: none;
    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='%234b5563' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

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

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-label:hover {
    border-color: var(--primary-navy);
    background: rgba(30, 58, 95, 0.05);
}

.file-upload-label i {
    font-size: 40px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.file-upload-label span {
    color: var(--text-medium);
    font-size: 14px;
}

.file-upload-label small {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 5px;
}

/* Image Preview */
.image-preview-container {
    margin-top: 15px;
    text-align: center;
}

.image-preview {
    max-width: 150px;
    max-height: 180px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
    background: var(--bg-white);
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-navy);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

.data-table th {
    background: var(--primary-navy);
    color: var(--bg-white);
    font-weight: 600;
    font-size: 13px;
}

.data-table td {
    background: var(--bg-white);
}

.data-table tr:nth-child(even) td {
    background: var(--bg-light);
}

.data-table input.form-control {
    border: none;
    padding: 8px;
    background: transparent;
}

/* Conditional Fields */
.conditional-fields {
    display: none;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 15px;
}

.conditional-fields.active {
    display: block;
}

/* Declaration Box */
.declaration-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-navy);
    margin-bottom: 20px;
}

.declaration-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

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

.btn-danger {
    background: var(--accent-color);
    color: var(--bg-white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    flex: 0 0 40%;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logos img {
    height: 70px;
    width: auto;
}

.footer-logos .ihcl-logo {
    height: 50px;
}

.brand-logos-row {
    margin-top: 20px;
}

.brand-logos-row img {
    max-width: 100%;
    height: auto;
}

.footer-right {
    flex: 0 0 55%;
}

.footer-contact {
    color: var(--text-dark);
}

.footer-contact .address {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact .address i {
    color: var(--gold);
    font-size: 20px;
    margin-top: 2px;
}

.contact-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.contact-row p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-row i {
    color: var(--gold);
    font-size: 16px;
}

.contact-row a {
    color: var(--text-dark);
}

.contact-row a:hover {
    color: var(--primary-navy);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

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

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 13px;
    color: var(--text-light);
}

.copyright a {
    color: #00bcd4;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
    padding: 20px 30px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.progress-step.active .step-number {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--bg-white);
}

.progress-step.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--bg-white);
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--primary-navy);
    font-weight: 600;
}

/* ===== TRACKING PAGE ===== */
.tracking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.tracking-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tracking-form input {
    flex: 1;
}

.tracking-result {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-payment {
    background: #dbeafe;
    color: #1e40af;
}

/* ===== PAYMENT PAGE ===== */
.payment-summary {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.payment-summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-navy);
}

/* ===== ADMIN PANEL ===== */
.admin-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.admin-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    display: flex;
    gap: 25px;
}

.admin-nav a {
    color: var(--text-dark);
    font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--primary-navy);
}

.admin-main {
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-card-icon.blue {
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-navy);
}

.stat-card-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.stat-card-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-color);
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-card-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Admin Table */
.admin-table-container {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-table-header h2 {
    font-size: 18px;
    color: var(--text-dark);
}

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

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

.admin-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-medium);
    text-transform: uppercase;
}

.admin-table tr:hover td {
    background: var(--bg-light);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.view {
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-navy);
}

.action-btn.edit {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-color);
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 20px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.pagination a {
    background: var(--bg-light);
    color: var(--text-dark);
}

.pagination a:hover {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.pagination .current {
    background: var(--primary-navy);
    color: var(--bg-white);
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    padding: 20px;
}

.login-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    height: 70px;
    margin: 0 auto;
}

.login-logo h1 {
    font-size: 24px;
    color: var(--text-dark);
    margin-top: 15px;
}

.login-logo p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
        height: 80px;
    }
    
    .logo-link img {
        height: 48px;
    }
    
    .logo-link.ihcl img {
        height: 36px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-md);
        max-height: 80vh;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 14px 15px;
        border-radius: 0;
        justify-content: space-between;
    }
    
    .nav-link.active {
        border-radius: 8px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .dropdown-menu,
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-navy);
        margin-left: 15px;
        min-width: auto;
        padding: 0;
        display: none;
        border-radius: 0;
    }
    
    .dropdown.active > .dropdown-menu,
    .has-submenu.active > .submenu {
        display: block;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-note {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left,
    .footer-right {
        flex: 1;
    }
    
    .contact-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .tracking-form {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo {
        gap: 12px;
    }
    
    .logo-link img {
        height: 42px;
    }
    
    .logo-link.ihcl img {
        height: 30px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 20px;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-logos {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
    }
    
    .tracking-container {
        padding: 25px;
    }
    
    .admin-header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 800px;
    }
}

@media (max-width: 480px) {
    .logo-link.ihcl {
        display: none;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .step-label {
        display: none;
    }
}

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

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

.text-primary {
    color: var(--primary-navy);
}

.text-success {
    color: var(--success-color);
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-2 {
    gap: 20px;
}

.w-100 {
    width: 100%;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-navy);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .form-actions,
    .mobile-toggle {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .admission-form {
        box-shadow: none;
    }
}
