/* Course Details Section - Enhanced Styling */
.course-details {
  background: var(--dark-bg);
  position: relative;
  padding: 5rem 0;
}

.course-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.course-tabs {
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  position: relative;
}

.tabs-nav::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  background: rgba(15, 20, 35, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 50px;
  color: var(--light-text);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tab-btn.active {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
}

.tabs-content {
  background: rgba(15, 20, 35, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tab-pane {
  display: none;
  padding: 3rem;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tab-left h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  position: relative;
  padding-bottom: 1rem;
}

.tab-left h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 3px;
}

.tab-description {
  color: var(--light-text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.curriculum, .projects, .career {
  margin-bottom: 2.5rem;
  background: rgba(15, 20, 35, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.05);
}

.curriculum h4, .projects h4, .career h4 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--light-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.curriculum h4::before, .projects h4::before, .career h4::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.curriculum ul, .projects ul, .career ul {
  padding-left: 1rem;
}

.curriculum li, .projects li, .career li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--light-text-muted);
  font-size: 1.05rem;
}

.curriculum li::before, .projects li::before, .career li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success-color);
  font-size: 0.9rem;
}

.code-display {
  background: rgba(10, 15, 25, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px 12px 0 0;
}

.code-display::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
}

.code-display pre {
  margin: 0;
  padding-top: 30px;
  font-family: var(--code-font);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--light-text);
  white-space: pre-wrap;
  overflow-x: auto;
}

.code-display code {
  display: block;
}

.enroll-now {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 229, 255, 0.05));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.enroll-now p {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  background: linear-gradient(90deg, var(--light-text), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.enroll-now .btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Registration Form Styles */
.register {
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.register-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.register-form-container {
  background: rgba(15, 20, 35, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.register-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-text);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(10, 15, 25, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  color: var(--light-text);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-checkbox label a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.register-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.register-card {
  background: rgba(15, 20, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.register-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 229, 255, 0.2);
}

.register-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.register-card:hover .register-card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
  transform: scale(1.05);
}

.register-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.register-card p {
  color: var(--light-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Form Styles */
.contact {
  background: var(--darker-bg);
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-card {
  background: rgba(15, 20, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 229, 255, 0.2);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
  transform: scale(1.05);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.contact-card p, .contact-card a {
  color: var(--light-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-form-container {
  background: rgba(15, 20, 35, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
  width: 100%;
}

.contact-form h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--light-text);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 3px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--light-text);
  position: relative;
  display: inline-block;
}

.section-title .highlight {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .register-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .tab-content-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tab-right {
    order: -1;
  }
  
  .code-display {
    margin-bottom: 2rem;
  }
  
  .register-form-container, .contact-form-container {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 768px) {
  .register, .contact, .course-details {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tab-pane {
    padding: 2rem;
  }
  
  .tab-left h3 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 576px) {
  .tabs-nav {
    overflow-x: auto;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  
  .tab-btn {
    white-space: nowrap;
    padding: 0.75rem 1.25rem;
  }
  
  .tab-pane {
    padding: 1.5rem;
  }
  
  .register-form-container, .contact-form-container {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

/* Animation for section elements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
