body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background: #f5f5f5; 
    color: #212121; 
    line-height: 1.6;
}

/* Form Styling */
.form-label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.form-control, .form-select {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.form-check-input:checked {
    background-color: #1a237e;
    border-color: #1a237e;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 16px rgba(26, 35, 126, 0.08);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Button Styling */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
}

.btn-primary:hover {
    background-color: #0d47a1;
    border-color: #0d47a1;
    transform: translateY(-1px);
}

/* Section Headers */
h4 {
    color: #1a237e;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8eaf6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
.hero-slider img { width: 100%; height: 400px; object-fit: cover; border-radius: 10px; }
.section-title { font-weight: bold; font-size: 2rem; margin-bottom: 1rem; color: #1a237e; letter-spacing: 1px; }
.card-course, .card { box-shadow: 0 2px 16px rgba(26,35,126,0.08); border: none; border-radius: 12px; transition: box-shadow 0.2s; }
.card-course:hover, .card:hover { box-shadow: 0 4px 32px rgba(26,35,126,0.16); }
.card-course .card-img-top, .card .card-img-top { height: 180px; object-fit: cover; border-radius: 12px 12px 0 0; }
.btn-primary, .navbar { transition: background 0.2s; border-radius: 6px; }
.btn-primary { background: #1a237e; border: none; }
.btn-primary:hover { background: #3949ab; }
.btn-secondary { background: #fbc02d; color: #212121; border: none; border-radius: 6px; }
.btn-secondary:hover { background: #ffd54f; }
.navbar { border-radius: 0 0 12px 12px; }
.nav-link.active, .nav-link:focus, .nav-link:hover { color: #fbc02d !important; font-weight: 500; }
.sidebar { background: #fff; min-height: 100vh; border-right: 1px solid #e0e0e0; }
.sidebar .nav-link { color: #1a237e; padding: 10px 16px; border-radius: 6px; margin-bottom: 4px; }
.sidebar .nav-link.active, .sidebar .nav-link:focus, .sidebar .nav-link:hover { background: #e8eaf6; color: #3949ab; }
.form-control, .form-select { border-radius: 6px; border: 1px solid #bdbdbd; }
.form-control:focus, .form-select:focus { border-color: #1a237e; box-shadow: 0 0 0 2px #e8eaf6; }
input[type="file"] { background: #fafafa; }
.table { border-radius: 8px; overflow: hidden; background: #fff; }
.table th { background: #1a237e; color: #fff; }
.table td, .table th { vertical-align: middle; }
.carousel-control-prev-icon, .carousel-control-next-icon { background-color: #1a237e; border-radius: 50%; }
footer { border-radius: 12px 12px 0 0; margin-top: 0; }
::-webkit-scrollbar { width: 8px; background: #e8eaf6; }
::-webkit-scrollbar-thumb { background: #bdbdbd; border-radius: 8px; }
@media (max-width: 991px) {
  .sidebar { min-height: auto; border-right: none; border-bottom: 1px solid #e0e0e0; }
}
@media (max-width: 767px) {
  .hero-slider img { height: 200px; }
  .section-title { font-size: 1.3rem; }
  .sidebar { display: none; }
  .navbar { border-radius: 0; }
}

/* About Page */
.about-gallery .card { border-radius: 12px; overflow: hidden; margin-bottom: 0; }
.about-img-wrap { position: relative; width: 100%; height: 150px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-card-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s ease; transform-origin: center; display: block; }
.hover-lift { transition: transform .2s ease, box-shadow .2s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important; }
.hover-lift:hover .about-card-img { transform: scale(1.05); }
.about-gallery .card .card-body { padding: .25rem .75rem; }
.about-caption { display: block; font-size: .85rem; color: #616161; }
.about-text { background: #ffffff; border-radius: 12px; box-shadow: 0 .5rem 1rem rgba(0,0,0,.05); padding: 1.25rem 1.5rem; line-height: 1.9; font-size: 1.05rem; max-width: 900px; margin: 0 auto; text-align: justify; hyphens: auto; }
.about-text hr { opacity: .2; }
.about-text .lead { font-weight: 400; color: #455a64; }
.about-text .marathi { font-family: "Noto Sans Devanagari","Hind","Mukta","Nirmala UI","Mangal", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* Responsive heights for image wrapper */
@media (min-width: 992px) { /* lg+ */
  .about-img-wrap { height: 180px; }
}
@media (max-width: 576px) { /* xs */
  .about-img-wrap { height: 120px; }
}

/* Student sidebar (global) */
.sidebar-card {
  position: sticky;
  top: 96px; /* below fixed navbar */
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(13,110,253,0.08);
}
.sidebar-card .list-group-item {
  border: 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
}
.sidebar-card .list-group-item i { color: var(--btn-primary-color, #0d6efd); }
.sidebar-card .list-group-item:hover { background: rgba(13,110,253,.06); }
.sidebar-card .list-group-item.active {
  background: rgba(13,110,253,.08) !important; /* override Bootstrap default */
  color: inherit; /* keep readable text color */
  font-weight: 600;
  border-left: 3px solid var(--btn-primary-color, #0d6efd);
}
.sidebar-card .list-group-item.active i { color: var(--btn-primary-color, #0d6efd); }

/* Footer social icons */
footer .social-links a i {
  color: #fbc02d; /* accent */
  transition: color .2s ease-in-out;
}
footer .social-links a:hover i {
  color: #ffd54f; /* hover accent */
}
