/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: white;
    overflow: hidden;
}

.hero-slide-bg {
    transition: transform 8s ease;
}

.carousel-item.active .hero-slide-bg {
    transform: scale(1.08);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 10px;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
}

.hero-btn-primary:hover {
    background: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: var(--light-color);
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Vision Mission Section */
.vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vision-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.vision-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-card ul {
    list-style: none;
    padding-left: 0;
}

.vision-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.vision-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Concentration Section */
.concentration-section {
    background: white;
}

.concentration-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.concentration-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.concentration-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.concentration-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* Curriculum Section */
.curriculum-section {
    background: var(--light-color);
}

.semester-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.semester-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.course-code {
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.course-name {
    flex: 1;
    margin: 0 15px;
    color: var(--secondary-color);
    word-break: break-word;
    line-height: 1.3;
}

.course-sks {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Lecturer Section */
.lecturer-section {
    background: white;
}

.lecturer-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.lecturer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.lecturer-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lecturer-info {
    padding: 25px;
}

.lecturer-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.lecturer-info p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.lecturer-info .specialization {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Laboratory Section */
.lab-section {
    background: var(--light-color);
}

.lab-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.lab-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.lab-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lab-info {
    padding: 25px;
}

.lab-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.lab-info p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.lab-head {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Research Section */
.research-section {
    background: white;
}

.research-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.research-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.research-info {
    padding: 25px;
}

.research-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.research-info p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.research-meta span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Partnership Section */
.partnership-section {
    background: var(--light-color);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

/* Achievement Section */
.achievement-section {
    background: white;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.achievement-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.achievement-info {
    padding: 25px;
}

.achievement-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.achievement-info .student-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.achievement-info .achievement-level {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* News Section */
.news-section {
    background: var(--light-color);
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 25px;
}

.news-info .news-date {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.news-info p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info .read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-info .read-more:hover {
    color: var(--dark-color);
}

/* Alumni Section */
.alumni-section {
    background: white;
}

.alumni-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.alumni-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
}

.alumni-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.alumni-card .batch {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.alumni-card .job {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.alumni-card .testimonial {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-info {
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.contact-item span {
    font-size: 1.1rem;
}

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

.contact-form h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* Footer */
footer {
    background: var(--dark-color);
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

footer .social-links a {
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    color: var(--accent-color) !important;
    transform: scale(1.2);
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Admin Styles */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
    padding: 20px;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.admin-sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
}

.admin-content {
    padding: 30px;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.admin-card h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.stat-card-admin {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.stat-card-admin .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card-admin .number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card-admin .label {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-action {
    padding: 5px 15px;
    font-size: 0.85rem;
    margin: 2px;
    border-radius: 5px;
}

.btn-edit {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
}

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