/* ==================== GLOBAL STYLES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



.nav-links {
  gap: 2rem;
}

.main-content {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 350px;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

/* ==================== GALLERY & INFO SECTION ==================== */
.gallery-section {
  margin: 2rem 0;
}

.main-slider {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}






.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumbnail {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}



.info-section {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ==================== COURSE CARDS ==================== */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.course-image {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.course-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.25rem;
}

.course-description {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
}

.course-price {
  font-weight: 600;
  color: #059669;
  font-size: 1rem;
}

.course-duration {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ==================== FACULTY CARDS ==================== */
.faculty-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faculty-card {
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: all 0.2s ease;
}

.faculty-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faculty-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faculty-info {
  flex: 1;
}

.faculty-name {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d3748;
}

.faculty-title {
  margin-bottom: 0.25rem;
  color: #4f46e5;
  font-weight: 500;
  font-size: 0.95rem;
}

.faculty-experience {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* ==================== FAQ SECTION ==================== */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.faq-item.active {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.faq-header {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #f8f9fa;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.faq-header:hover {
  background: #e9ecef;
}

.faq-item.active .faq-header {
  background: #f0f0ff;
  border-bottom-color: #e9ecef;
}

.faq-question {
  color: #2d3748;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  background: #4f46e5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: #059669;
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
}

.faq-item.active .faq-content {
  padding: 1.25rem;
  max-height: 500px;
}

.faq-content p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==================== SIDEBAR IMPROVEMENTS ==================== */
.sidebar {
  position: sticky;
  top: 2rem;
}

/* Enhanced Contact Info Styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.contact-entry:hover {
  background: #e9ecef;
  transform: translateX(2px);
}

.contact-icon {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.contact-type {
  font-weight: 600;
  color: #495057;
  min-width: 70px;
}

.contact-value {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.contact-value:hover {
  text-decoration: underline;
  color: #004499;
}

/* Enhanced Address Styling */
.address-container div {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f3f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.address-container div:last-child {
  border-bottom: none;
}

.address-container strong {
  color: #495057;
  font-weight: 600;
  min-width: 120px;
}

.address-field {
  color: #6c757d;
  text-align: right;
  flex: 1;
}

/* Enhanced Operating Hours Styling */
.opening-hours {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
  color: #495057;
  min-width: 40px;
}

.time {
  color: #059669;
  font-weight: 500;
}

/* Card Header Enhancements */
.card-header.bg-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
}

.card-header.bg-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
}

.card-header.bg-success {
  background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
}

/* Button Enhancements */
.btn-outline-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

.btn-outline-light:hover {
  transform: scale(1.05);
}

/* ==================== TWO COLUMN LAYOUT ==================== */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-top: 2rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .faq-header {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 0.9rem;
  }
  
  .faq-toggle {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .two-column-layout {
    grid-template-columns: 1fr;
  }

  .course-card {
    flex-direction: column;
    text-align: center;
  }

  .course-image {
    align-self: center;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .address-container div {
    align-items: flex-start;
    gap: 0.25rem;
  }

  .address-field {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .contact-entry {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .hours-row {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

/* ==================== LEGACY COMPATIBILITY ==================== */
.accordion-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.accordion-header {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header span {
  font-size: 1.2em;
}

.contact-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

/* Remove conflicting styles */
.contact-block {
  /* Remove old styles that conflict with Bootstrap cards */
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* Custom Tab Styling */
.custom-tab {
  color: #0d6efd !important; /* Blue text for all tabs */
  background: transparent !important;
  border: 2px solid #dee2e6 !important; /* Light border for inactive tabs */
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.custom-tab:hover {
  background: #f8f9fa !important;
  border-color: #0d6efd !important;
  transform: translateY(-1px);
}

.custom-tab.active {
  color: #0d6efd !important;
  background: #e7f3ff !important; /* Light blue background for active tab */
  border: 3px solid #0d6efd !important; /* Strong blue border for active tab */
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2) !important;
}

.custom-tab:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

/* ==================== ENHANCED HIGHLIGHTS WITH BOOTSTRAP ICONS ==================== */
.highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.highlight {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  cursor: pointer;
}

.highlight:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
  border-color: #0d6efd;
  background: #f8f9ff !important;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.highlight-icon i {
  font-size: 1.1rem;
}

.highlight-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #2d3748;
}

.highlight-description {
  font-size: 0.8rem;
  line-height: 1.3;
  color: #64748b;
  margin-top: 0.25rem;
}

/* Icon color variations */
.highlight:nth-child(1) .highlight-icon { background: rgba(255, 193, 7, 0.2); }
.highlight:nth-child(1) .highlight-icon i { color: #ffc107; }

.highlight:nth-child(2) .highlight-icon { background: rgba(220, 53, 69, 0.2); }
.highlight:nth-child(2) .highlight-icon i { color: #dc3545; }

.highlight:nth-child(3) .highlight-icon { background: rgba(25, 135, 84, 0.2); }
.highlight:nth-child(3) .highlight-icon i { color: #198754; }

.highlight:nth-child(4) .highlight-icon { background: rgba(13, 202, 240, 0.2); }
.highlight:nth-child(4) .highlight-icon i { color: #0dcaf0; }

.highlight:nth-child(5) .highlight-icon { background: rgba(111, 66, 193, 0.2); }
.highlight:nth-child(5) .highlight-icon i { color: #6f42c1; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .highlights {
    gap: 0.5rem;
  }
  
  .highlight {
    padding: 0.75rem !important;
  }
  
  .highlight-icon {
    width: 28px;
    height: 28px;
  }
  
  .highlight-icon i {
    font-size: 1rem;
  }
}
/* ==================== SOCIAL MEDIA BUTTONS STYLING ==================== */
.social-btn {
  border-radius: 8px !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: none;
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
  justify-content: center;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white !important;
}

.social-btn:active {
  transform: translateY(0);
}

/* Platform-specific colors */
.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #7332a1, #e41a1a, #e5a03e);
}

.btn-facebook {
  background: #1877f2;
}

.btn-facebook:hover {
  background: #166ee0;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #22c55e;
}

.btn-youtube {
  background: #ff0000;
}

.btn-youtube:hover {
  background: #e60000;
}

.btn-linkedin {
  background: #0077b5;
}

.btn-linkedin:hover {
  background: #006ba1;
}

.btn-twitter {
  background: #1da1f2;
}

.btn-twitter:hover {
  background: #1a91da;
}

.btn-website {
  background: #6c757d;
}

.btn-website:hover {
  background: #5c636a;
}

.btn-email {
  background: #28a745;
}

.btn-email:hover {
  background: #218838;
}

.btn-phone {
  background: #17a2b8;
}

.btn-phone:hover {
  background: #138496;
}

.btn-default {
  background: #6c757d;
}

.btn-default:hover {
  background: #5c636a;
}

/* Icon spacing */
.social-btn i {
  font-size: 1.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .social-btn {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .social-btn span {
    display: none;
  }
  
  .social-btn {
    min-width: auto;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    justify-content: center;
    padding: 0;
  }
  
  .social-btn i {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  #social-media-links {
    justify-content: center;
  }
}

/* Focus states for accessibility */
.social-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

/* Loading state (optional) */
.social-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.social-btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==================== IMAGE GALLERY STYLING ==================== */

/* ====== Image Slider Styling ====== */
.main-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f8f9fa; /* fallback if no image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-slider .slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}

.main-slider .slide.active {
  display: block;
  opacity: 1;
}

.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills area nicely */
  border-radius: 10px;
}

/* ====== Navigation Arrows ====== */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.slider-nav:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* ====== Dots Controls ====== */
.slide-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.control-dot.active {
  background-color: #0d6efd;
}

/* ====== Thumbnails ====== */
#thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#thumbnail-row .thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

#thumbnail-row .thumbnail.active {
  border-color: #0d6efd;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 768px) {
  .main-slider {
    height: 250px;
  }
  #thumbnail-row .thumbnail {
    width: 55px;
    height: 55px;
  }
}
