/* VFX Masters Main CSS */

/* Global Styles */
:root {
  --primary-color: #5e35b1;
  --secondary-color: #7e57c2;
  --accent-color: #b39ddb;
  --dark-color: #212121;
  --light-color: #f5f5f5;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

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

.btn-lg {
  padding: 12px 25px;
  font-size: 1.1em;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Section Styles */
.section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--dark-color);
}

/* Featured Courses */
.featured-courses {
  padding: 80px 0;
}

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

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

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

.card-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.instructor {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9em;
}

.duration {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--light-color);
}

.feature-card {
  padding: 30px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card i {
  color: var(--primary-color);
}

.feature-card h3 {
  margin: 15px 0;
  font-weight: 600;
}

/* Latest News Section */
.latest-news {
  padding: 80px 0;
}

/* Call to Action Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.5em;
  font-weight: 700;
}

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

.cta-section .btn-primary:hover {
  background-color: var(--light-color);
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

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

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

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

footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5em;
  }
  
  .hero-subtitle {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav {
    margin-top: 15px;
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 5px 0;
    margin-left: 0;
  }
  
  .hero-title {
    font-size: 2em;
  }
  
  .hero-subtitle {
    font-size: 1em;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8em;
  }
}

/* Dashboard Styles */
.dashboard-container {
  background-color: var(--light-color);
  padding: 30px 0;
  min-height: calc(100vh - 200px);
}

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

.dashboard-header {
  margin-bottom: 30px;
}

.progress-bar {
  height: 10px;
  border-radius: 5px;
  background-color: var(--accent-color);
}

/* Course Detail Page */
.course-header {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
}

.course-banner {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.course-details {
  padding: 50px 0;
}

.course-sidebar {
  position: sticky;
  top: 100px;
}

.lesson-list {
  list-style: none;
  padding: 0;
}

.lesson-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.lesson-item:hover {
  background-color: var(--light-color);
}

.lesson-title {
  font-weight: 500;
  margin-bottom: 5px;
}

.lesson-duration {
  color: #666;
  font-size: 0.9em;
}

/* Login and Registration Pages */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 50px 0;
}

.auth-card {
  max-width: 500px;
  width: 100%;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: white;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

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

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.2);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.bg-light {
  background-color: var(--light-color);
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

@media (max-width: 768px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
