/* Custom Styles for Career Academy */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 500px;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards Hover Effect */
.hover-shadow {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.transition {
  transition: all 0.3s ease;
}

/* Course Cards */
.course-card {
  border-radius: 15px;
  overflow: hidden;
}

.course-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Form Styles */
.form-control:focus,
.btn:focus {
  box-shadow: none;
  border-color: #667eea;
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .display-6 {
    font-size: 1.75rem;
  }
}

/* Admin Dashboard Styles */
.sidebar {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  transition: all 0.3s;
}

.sidebar .nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

/* Stats Cards */
.stat-card {
  border-radius: 15px;
  border: none;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Loading Spinner */
.spinner-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/*  */

/* About Page Specific Styles */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  opacity: 0.3;
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  transition: all 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.social-links a {
  display: inline-block;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

/* Achievement Counter Animation */
.counter {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

/* Breadcrumb Styling */
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .display-6 {
    font-size: 1.75rem;
  }

  .counter {
    font-size: 2rem;
  }
}

/*  */

/* Contact Page Specific Styles */
.contact-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .contact-icon {
  transform: scale(1.1) rotate(360deg);
}

/* Map Container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.map-container iframe {
  transition: all 0.3s ease;
}

.map-container:hover iframe {
  transform: scale(1.02);
}

/* Business Hours */
.business-hours .d-flex {
  transition: all 0.3s ease;
}

.business-hours .d-flex:hover {
  transform: translateX(10px);
  background-color: #e9ecef !important;
}

/* FAQ Cards */
.faq-card {
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Form Styling */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Alert Animations */
.alert {
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .map-container {
    height: 350px;
  }
}

/*  */

/* Course Details Page */
.course-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.course-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  opacity: 0.3;
}

/* Tab Animations */
.tab-pane {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Curriculum Accordion */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  background: white;
  color: #333;
  font-weight: 600;
  padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background: #f8f9fa;
  padding: 1.5rem;
}

/* Rating Bars */
.rating-bars .progress {
  background: #e9ecef;
  margin-top: 5px;
}

.rating-bars span {
  font-size: 0.9rem;
  color: #666;
}

/* Review Items */
.review-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem;
}

/* Course Features List */
.list-unstyled li {
  transition: all 0.3s ease;
}

.list-unstyled li:hover {
  transform: translateX(10px);
}

.list-unstyled li i {
  transition: all 0.3s ease;
}

.list-unstyled li:hover i {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .course-header .display-4 {
    font-size: 2rem;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 1rem;
  }
}
