/* ===== WEBSITE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #004080;
    --secondary: #0066cc;
    --accent: #ffcc00;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --text: #333;
    --text-light: #666;
    --border: #e1e5e9;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
}

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

/* Header Styles */
.main-header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9em;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact span {
    margin-right: 20px;
}

.header-social a {
    color: white;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: var(--accent);
}

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

.header-main .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.college-logo {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    padding: 5px;
    border: 1px solid var(--border);
}

.college-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.3em;
    color: var(--primary);
    margin-bottom: 2px;
}

.logo-text h2 {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: normal;
}

.logo-text p {
    font-size: 0.8em;
    color: var(--text-light);
    margin: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

.header-navigation {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.admin-btn {
    background: var(--accent);
    color: var(--dark);
}

/* Hero Section */
.hero-section {
    margin-top: 140px;
    position: relative;
}

.hero-swiper {
    height: 500px;
}

.swiper-slide.hero-slide {
    position: relative;
    height: 100%;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-secondary {
    background: var(--accent);
    color: var(--dark);
}

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

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

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9em;
}

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

/* Sections */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Admissions Section */
.admissions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.admission-info h3 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.8em;
}

.criteria-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.criteria-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admission-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.admission-image .image-placeholder {
    background: var(--light);
    height: 300px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed var(--border);
}

.admission-image .image-placeholder i {
    font-size: 4em;
    margin-bottom: 15px;
}

/* Programs Section */
.programs-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

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

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

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

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

.program-icon {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 20px;
}

.program-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.program-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.program-details {
    text-align: left;
    margin-top: 15px;
}

.program-details p {
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* Campuses Section */
.campuses-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.campus-photo-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.campus-photo-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.campus-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-photo-card:hover .campus-photo-img {
    transform: scale(1.05);
}

.campus-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 4em;
    border: 2px dashed var(--border);
}

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

.campus-photo-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Campus Cards (for old structure - keep for compatibility) */
.campuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.campus-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.campus-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.campus-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-card:hover .campus-photo {
    transform: scale(1.05);
}

.campus-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 4em;
    border: 2px dashed var(--border);
}

.campus-info {
    padding: 30px;
}

.campus-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.campus-departments {
    margin: 15px 0;
}

.department-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.department-tag {
    background: var(--light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

/* Licenses Section */
.licenses-section {
    margin-top: 50px;
}

.licenses-section h3 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.license-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--border);
}

.license-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.license-number {
    color: var(--text-light);
    margin-bottom: 10px;
}

.license-expiry {
    color: var(--danger);
    font-weight: 500;
}

/* HR Section */
.hr-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
}

.staff-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

.staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
}

.staff-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2em;
}

.staff-position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 5px;
}

.staff-department {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9em;
}

.staff-contact {
    font-size: 0.9em;
    color: var(--text-light);
}

/* Admin Section */
.admin-section {
    background: var(--light);
}

.admin-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card {
    background: var(--light);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.admin-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

/* Campus Photos Admin */
.campus-photos-admin {
    display: grid;
    gap: 30px;
}

.campus-photo-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.photo-upload-area {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed var(--border);
}

.current-photo {
    margin-bottom: 15px;
    text-align: center;
}

.current-photo img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: none;
}

.no-photo {
    color: var(--text-light);
    font-style: italic;
}

.photo-upload-area input[type="file"] {
    margin-bottom: 15px;
}

.upload-campus-btn,
.remove-campus-btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* License Management */
.license-upload-area {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px dashed var(--border);
}

.licenses-list {
    display: grid;
    gap: 15px;
}

.license-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-info h5 {
    color: var(--primary);
    margin-bottom: 5px;
}

.license-actions {
    display: flex;
    gap: 10px;
}

/* Staff Management */
.staff-management {
    display: grid;
    gap: 15px;
}

.staff-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.staff-details h5 {
    color: var(--primary);
    margin-bottom: 5px;
}

.staff-campus {
    color: var(--text-light);
    font-size: 0.9em;
}

.staff-actions {
    display: flex;
    gap: 10px;
}

/* Programs Management */
.programs-management {
    display: grid;
    gap: 15px;
}

.program-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    font-size: 1.5em;
    color: var(--primary);
    margin-top: 5px;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.2em;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5em;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section p {
    margin-bottom: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.7;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.about-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-item ul {
    list-style: none;
    padding-left: 0;
}

.about-item li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-item li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

.about-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Core Values Checklist Styling */
.core-values-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.value-item:last-child {
    border-bottom: none;
}

.value-item i.checked {
    color: var(--success);
    font-size: 1.1em;
}

.value-item span {
    font-size: 1em;
    color: var(--text);
    font-weight: 500;
}

/* Mission Statements Styling */
.mission-statements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.mission-item i {
    color: var(--primary);
    font-size: 0.7em;
    margin-top: 6px;
}

.mission-item span {
    font-size: 1em;
    color: var(--text);
    line-height: 1.5;
}

/* Requirements & Documents Styling */
.requirement-list,
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.requirement-item,
.document-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
}

.requirement-item i {
    color: var(--success);
    font-size: 0.9em;
    margin-top: 4px;
}

.document-item i {
    color: var(--info);
    font-size: 0.9em;
    margin-top: 4px;
}

.requirement-item span,
.document-item span {
    font-size: 1em;
    color: var(--text);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .header-navigation.active {
        display: block;
    }
    
    .main-nav {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        margin-top: 120px;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .admissions-content,
    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .campuses-photos-grid,
    .campuses-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .program-details {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons,
    .admission-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
}