/* ================================================================
   COMPONENT STYLES - MOBILE FIRST
   Reusable UI components
   ================================================================ */

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  animation: pulse-glow 2s infinite;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

.btn-small {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
}

.btn-full {
  width: 100%;
}

/* CARDS */
.card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.card:hover::before {
  opacity: 1;
}

.card-foundation {
  border-left: 3px solid var(--color-foundation);
  background: var(--gradient-card), linear-gradient(90deg, var(--color-foundation-light) 0%, transparent 50%);
}

.card-foundation:hover {
  box-shadow: 0 12px 24px var(--color-foundation-glow), 0 0 40px var(--color-foundation-glow);
}

.card-ethical-hacking {
  border-left: 3px solid var(--color-ethical-hacking);
  background: var(--gradient-card), linear-gradient(90deg, var(--color-ethical-hacking-light) 0%, transparent 50%);
}

.card-ethical-hacking:hover {
  box-shadow: 0 12px 24px var(--color-ethical-hacking-glow), 0 0 40px var(--color-ethical-hacking-glow);
}

.card-forensics {
  border-left: 3px solid var(--color-forensics);
  background: var(--gradient-card), linear-gradient(90deg, var(--color-forensics-light) 0%, transparent 50%);
}

.card-forensics:hover {
  box-shadow: 0 12px 24px var(--color-forensics-glow), 0 0 40px var(--color-forensics-glow);
}

.card-defense {
  border-left: 3px solid var(--color-defense);
  background: var(--gradient-card), linear-gradient(90deg, var(--color-defense-light) 0%, transparent 50%);
}

.card-defense:hover {
  box-shadow: 0 12px 24px var(--color-defense-glow), 0 0 40px var(--color-defense-glow);
}

.card-soc {
  border-left: 3px solid var(--color-soc);
  background: var(--gradient-card), linear-gradient(90deg, var(--color-soc-light) 0%, transparent 50%);
}

.card-soc:hover {
  box-shadow: 0 12px 24px var(--color-soc-glow), 0 0 40px var(--color-soc-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-2xl);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}



/* BADGES */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--text-primary);
}

.badge-success {
  background-color: var(--success);
  color: var(--text-primary);
}

.badge-warning {
  background-color: var(--color-forensics);
  color: var(--text-primary);
}

.badge-info {
  background-color: var(--color-defense);
  color: var(--text-primary);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}



/* SECTION HEADER */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl) auto;
}

.section-tag {
  display: inline-block;
  color: var(--primary-color);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}



/* IMAGE PLACEHOLDERS WITH GRADIENT OVERLAYS */
.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      rgba(0, 102, 204, 0.7) 50%,
      rgba(0, 0, 0, 0.9) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* GRID SYSTEM */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

/* LOADING SCREEN WITH LOGO */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  /* Dark background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loading Logo - Responsive sizing */
.loading-screen .loading-logo {
  max-width: 90%;
  width: auto;
  height: 120px;
  /* Mobile default */
  object-fit: contain;
  animation: pulse 2s ease-in-out infinite;
}

/* Tablet - Medium screens */
@media (min-width: 768px) {
  .loading-screen .loading-logo {
    height: 160px;
  }
}

/* Desktop - Large screens */
@media (min-width: 1024px) {
  .loading-screen .loading-logo {
    height: 200px;
  }
}

/* Very large desktops */
@media (min-width: 1440px) {
  .loading-screen .loading-logo {
    height: 220px;
  }
}

/* Logo pulse animation */
@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Loading Spinner (optional - shown below logo) */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ALERTS */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border-left: 4px solid;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: var(--error);
  color: var(--error);
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
  color: var(--warning);
}

/* STATS COUNTER ANIMATION */
.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* INTERACTIVE HOVER EFFECTS FOR LINKS */
a:not(.btn) {
  position: relative;
  transition: color 0.3s ease;
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

a:not(.btn):hover::after {
  width: 100%;
}

/* PULSE ANIMATION FOR CTAs */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--primary-color);
  }

  50% {
    box-shadow: 0 0 20px 10px transparent;
  }
}

/* PARALLAX SECTIONS */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 102, 204, 0.2) 100%);
}

/* FEATURE CARDS - ENHANCED WITH CATEGORY COLORS */

.feature-card {
  position: relative;
  overflow: visible;
}

/* Primary Card for Career Support */
.card-primary {
  border-left: 3px solid var(--primary-color);
  background: var(--gradient-card), linear-gradient(90deg, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
}

.card-primary:hover {
  box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3), 0 0 40px rgba(0, 102, 204, 0.2);
}

/* Feature Icons with Category Colors */
.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-3xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: var(--space-xl);
}

/* Add animated gradient background on hover */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover::after {
  opacity: 0.8;
}


/* ================================================================
   COURSES PAGE SPECIFIC STYLES
   Clean, organized, no duplicates or overrides
   ================================================================ */
/* ================================================================
   JOURNEY SECTION - SINGLE RAINBOW LINE FIX
   ================================================================ */

.journey-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  position: relative;
  overflow: hidden;
}

.journey-steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  position: relative;
}

/* Journey Step Cards */
.journey-step {
  padding: var(--space-xl);
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: none !important;
  /* Remove any top border from cards */
}

.step-number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  transition: transform 0.3s ease;
  z-index: 2;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-description {
  font-size: var(--text-base);
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.step-detail {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Hide connecting line on mobile/tablet */
.journey-steps-container::before {
  display: none;
}

/* ===== DESKTOP: SINGLE RAINBOW LINE ===== */
@media (min-width: 1024px) {
  .journey-steps-container {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding-top: 50px;
    /* Space for numbered badges */
  }

  /* Remove all card top borders/decorations */
  .journey-step {
    border-top: none !important;
  }

  .journey-step::before {
    display: none !important;
    /* Remove any card ::before pseudo elements */
  }

  /* SINGLE rainbow connecting line */
  .journey-steps-container::before {
    content: '';
    display: block;
    position: absolute;
    top: 24px;
    /* Position above step numbers */
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background: linear-gradient(90deg,
        #10b981 0%,
        /* Green (Foundation) */
        #8b5cf6 33.33%,
        /* Purple (Ethical Hacking) */
        #f59e0b 66.66%,
        /* Orange (Forensics) */
        #0066cc 100%
        /* Blue (Primary) */
      );
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
  }

  /* Position step numbers CENTERED on the rainbow line */
  .journey-step .step-number {
    position: absolute;
    top: -40px;
    /* Position exactly on the line */
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 3;
    width: 48px;
    height: 48px;
    box-shadow:
      0 0 0 6px var(--bg-dark),
      /* White ring around number */
      0 0 20px rgba(0, 102, 204, 0.4);
  }

  /* Color-code step numbers */
  .journey-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #10b981, #34d399);
  }

  .journey-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  }

  .journey-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
  }

  .journey-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #0066cc, #3b82f6);
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .journey-steps-container {
    gap: 2rem;
  }
}

/* Extra Large */
@media (min-width: 1440px) {
  .journey-steps-container {
    gap: 2.5rem;
  }
}

/* ================================================================
   JOURNEY SECTION - GRADIENT CARDS
   ================================================================ */

/* Journey step cards - add gradient backgrounds */
.journey-step {
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step 1 - Cyan/Green gradient (Foundation) */
.journey-step:nth-child(1) {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.1) 100%),
    linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  border-left: 3px solid #10b981;
}

.journey-step:nth-child(1):hover {
  border-color: #10b981;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3);
}

/* Step 2 - Purple/Pink gradient (Choose Path) */
.journey-step:nth-child(2) {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.1) 100%),
    linear-gradient(90deg, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  border-left: 3px solid #8b5cf6;
}

.journey-step:nth-child(2):hover {
  border-color: #8b5cf6;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.journey-step:nth-child(2) .step-number {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%) !important;
}

/* Step 3 - Orange/Yellow gradient (Certifications) */
.journey-step:nth-child(3) {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.1) 100%),
    linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  border-left: 3px solid #f59e0b;
}

.journey-step:nth-child(3):hover {
  border-color: #f59e0b;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3);
}

.journey-step:nth-child(3) .step-number {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
}

/* Step 4 - Blue/Cyan gradient (Launch Career) */
.journey-step:nth-child(4) {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 102, 204, 0.1) 100%),
    linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  border-left: 3px solid #0066cc;
}

.journey-step:nth-child(4):hover {
  border-color: #0066cc;
  box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3);
}

.journey-step:nth-child(4) .step-number {
  background: linear-gradient(135deg, #0066cc 0%, #06b6d4 100%) !important;
}

/* Hover effects for all journey steps */
.journey-step:hover {
  transform: translateY(-8px);
}

.journey-step:hover .step-number {
  transform: translateX(-50%) scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Top gradient line on hover */
.journey-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--step-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journey-step:hover::before {
  opacity: 1;
}

/* Set step colors for the gradient line */
.journey-step:nth-child(1) {
  --step-color: #10b981;
}

.journey-step:nth-child(2) {
  --step-color: #8b5cf6;
}

.journey-step:nth-child(3) {
  --step-color: #f59e0b;
}

.journey-step:nth-child(4) {
  --step-color: #0066cc;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .journey-step {
    margin-bottom: var(--space-lg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .journey-steps-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .journey-steps-container {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}


/* ================================================================
   JOURNEY SECTION - MOBILE/TABLET LEFT BORDERS
   ================================================================ */

/* Mobile & Tablet: Vertical Layout with Left Borders */
@media (max-width: 1023px) {
  .journey-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Add colored left border to ALL journey step cards */
  .journey-step {
    border-left: 3px solid;
    padding-left: var(--space-lg);
  }

  /* Color-code each step's left border */
  .journey-step:nth-child(1) {
    border-left-color: #10b981;
    /* Green - Foundation */
  }

  .journey-step:nth-child(2) {
    border-left-color: #8b5cf6;
    /* Purple - Hands-On Practice */
  }

  .journey-step:nth-child(3) {
    border-left-color: #f59e0b;
    /* Orange - Specialization */
  }

  .journey-step:nth-child(4) {
    border-left-color: #0066cc;
    /* Blue - Certification */
  }

  /* Position step numbers in top-right on mobile */
  .journey-step .step-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
  }

  /* Color-code step numbers for mobile too */
  .journey-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #10b981, #34d399);
  }

  .journey-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  }

  .journey-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
  }

  .journey-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #0066cc, #3b82f6);
  }
}

/* Tablet: 2 columns but keep left borders */
@media (min-width: 768px) and (max-width: 1023px) {
  .journey-steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}


/* ===== COURSE CARD UNIVERSAL STYLES ===== */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-header {
  margin-bottom: var(--space-md);
}

.course-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-sm) 0;
  color: var(--text-primary);
}

.course-duration {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.course-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  flex-grow: 1;
}

.course-features li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
}

/* ===== FOUNDATION SECTION ===== */
.foundation-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.foundation-section .courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: 100%;
}

/* ===== SPECIALIZATION SECTION ===== */
.specialization-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.specialization-section .courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: 100%;
}

/* ===== COMPLETE PROGRAMS SECTION ===== */
.complete-programs-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* ===== COURSE BUNDLE STYLING ===== */
.course-bundle {
  margin-top: var(--space-2xl);
}

.bundle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-xl);
}

.bundle-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.bundle-info h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.bundle-info p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}

/* ================================================================
 TABLET RESPONSIVE (768px - 1023px)
 ================================================================ */
@media (min-width: 768px) {

  /* Journey Section */
  .journey-steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Foundation Courses - 2 columns */
  .foundation-section .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Specialization Courses - 2 columns */
  .specialization-section .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Complete Programs - 2 columns */
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Bundle Content */
  .bundle-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .bundle-icon {
    margin-bottom: 0;
  }

  /* CTA Buttons */
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ================================================================
 DESKTOP RESPONSIVE (1024px - 1279px)
 ================================================================ */
@media (min-width: 1024px) {

  /* Journey Section - 4 columns */
  .journey-steps-container {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Foundation Courses - 2 columns with wider gap */
  .foundation-section .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .foundation-section .course-card {
    height: 100%;
  }

  .foundation-section .course-actions {
    margin-top: auto;
  }

  /* Specialization Courses - 2x2 grid */
  .specialization-section .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .specialization-section .course-card {
    height: 100%;
  }

  .specialization-section .course-actions {
    margin-top: auto;
  }

  /* Complete Programs - 2x2 grid */
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Course Actions - Row layout */
  .course-actions {
    flex-direction: row;
  }
}

/* ================================================================
 LARGE DESKTOP RESPONSIVE (1280px - 1439px)
 ================================================================ */
@media (min-width: 1280px) {

  /* Foundation Courses - Wider gaps */
  .foundation-section .courses-grid {
    gap: 3rem;
  }

  /* Specialization Courses - Wider gaps */
  .specialization-section .courses-grid {
    gap: 3rem;
  }

  /* Complete Programs - Wider gaps */
  .programs-grid {
    gap: 3rem;
  }
}

/* ================================================================
 EXTRA LARGE RESPONSIVE (1440px+)
 ================================================================ */
@media (min-width: 1440px) {

  /* Foundation Section - Max width */
  .foundation-section .container {
    max-width: 1400px;
  }

  .foundation-section .courses-grid {
    gap: 3.5rem;
  }

  /* Specialization Section - Max width */
  .specialization-section .container {
    max-width: 1400px;
  }

  .specialization-section .courses-grid {
    gap: 3.5rem;
  }

  /* Complete Programs Section - Max width */
  .complete-programs-section .container {
    max-width: 1400px;
  }

  .programs-grid {
    gap: 3.5rem;
  }
}



/* ================================================================
   ABOUT PAGE SPECIFIC STYLES
   ================================================================ */

/* Stats Section */
.stats-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-dark);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.stat-value {
  font-size: var(--text-4xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Story Section */
.story-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.story-content {
  margin-top: var(--space-2xl);
}

.story-text p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.story-text strong {
  color: var(--primary-light);
  font-weight: 600;
}

/* Mission, Vision, Values Section */
.mvv-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.mvv-grid {
  margin-top: var(--space-2xl);
}

.mvv-card {
  text-align: center;
  padding: var(--space-xl);
}

.mvv-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

/* Features Section */
.features-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.features-grid {
  margin-top: var(--space-2xl);
}

.feature-card {
  padding: var(--space-xl);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

/* Instructors Section */
.instructors-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.instructors-grid {
  margin-top: var(--space-2xl);
}

.instructor-card {
  text-align: center;
  padding: var(--space-xl);
}

.instructor-avatar {
  font-size: 5rem;
  margin-bottom: var(--space-md);
}

.instructor-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.instructor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.instructor-bio {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Facilities Section */
.facilities-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.facilities-grid {
  margin-top: var(--space-2xl);
}

.facility-card {
  padding: var(--space-xl);
}

.facility-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.facility-features {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.facility-features li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* Excellence Section */
.excellence-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.excellence-content {
  margin-top: var(--space-2xl);
}

.excellence-card {
  padding: var(--space-2xl);
}

.excellence-card p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.excellence-card p:last-child {
  margin-bottom: 0;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .story-text p {
    font-size: var(--text-xl);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .excellence-card p {
    font-size: var(--text-xl);
  }
}



/* ================================================================
   CONTACT PAGE SPECIFIC STYLES
   ================================================================ */

/* Contact Info Section */
.contact-info-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.contact-info-grid {
  margin-top: var(--space-2xl);
}

.info-card {
  text-align: center;
  padding: var(--space-xl);
}

.info-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

/* Contact Form Section */
.contact-form-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-form {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Help Section */
.help-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.help-grid {
  margin-top: var(--space-2xl);
}

.help-card {
  text-align: center;
  padding: var(--space-xl);
}

.help-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

/* FAQ Section */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.faq-card {
  padding: var(--space-xl);
}

.faq-question {
  margin-bottom: var(--space-md);
}

.faq-question h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-base);
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ================================================================
   REGISTRATION PAGE SPECIFIC STYLES - ENHANCED GLASS DESIGN
   ================================================================ */

/* Process Section */
.process-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.process-steps {
  margin-top: var(--space-2xl);
}

.process-card {
  text-align: center;
  padding: var(--space-xl);
}

.process-number {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

/* Registration Section */
.registration-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-darker);
  position: relative;
}

.registration-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* Main Form Container - Glass Morphism Design */
.registration-form {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 102, 204, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.registration-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--primary-light) 50%,
      var(--primary-color) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 0%;
  }
}

.registration-form:hover {
  border-color: rgba(0, 102, 204, 0.4);
  box-shadow:
    0 12px 48px rgba(0, 102, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Form Sections */
.form-section {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(42, 42, 42, 0.6);
  position: relative;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px rgba(0, 102, 204, 0.6);
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Enhanced Form Inputs */
.form-input,
.form-select,
.form-textarea {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(10, 10, 10, 0.8);
  border-color: var(--primary-color);
  box-shadow:
    0 0 0 3px rgba(0, 102, 204, 0.1),
    0 0 20px rgba(0, 102, 204, 0.2);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(0, 102, 204, 0.4);
}

/* Form Labels */
.form-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Course Details Alert - Enhanced */
.course-details {
  margin-top: var(--space-md);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.alert-info {
  background: linear-gradient(135deg,
      rgba(0, 102, 204, 0.15) 0%,
      rgba(0, 102, 204, 0.05) 100%);
  border: 1px solid rgba(0, 102, 204, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.alert-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(0, 102, 204, 0.1) 50%,
      transparent 70%);
  animation: alertShine 3s ease-in-out infinite;
}

@keyframes alertShine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.alert p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Checkbox Group - Enhanced */
.checkbox-group {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(0, 102, 204, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
  border-radius: var(--radius-sm);
}

.checkbox-label span {
  flex: 1;
  line-height: 1.6;
}

.checkbox-label a {
  color: var(--primary-light);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.checkbox-label a:hover {
  color: var(--primary-color);
}

/* Submit Button - Enhanced */
.registration-form .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  box-shadow:
    0 4px 15px rgba(0, 102, 204, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.registration-form .btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.registration-form .btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.registration-form .btn-primary:hover {
  box-shadow:
    0 6px 20px rgba(0, 102, 204, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Form Note */
.form-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: rgba(0, 102, 204, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 102, 204, 0.1);
}

/* Benefits Section */
.benefits-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
}

.benefits-grid {
  margin-top: var(--space-2xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-xl);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}

/* Input Group Animations */
.form-group {
  position: relative;
}

.form-group.focused .form-label {
  color: var(--primary-light);
}

.form-group.filled .form-input,
.form-group.filled .form-select,
.form-group.filled .form-textarea {
  border-color: rgba(16, 185, 129, 0.3);
}

/* Placeholder Styling */
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  opacity: 0.4;
}

/* Select Dropdown Arrow Enhancement */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230066cc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .registration-form {
    padding: var(--space-3xl);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .registration-form {
    padding: var(--space-3xl) var(--space-3xl);
  }
}

/* Smooth Scroll for Form Sections */
.form-section {
  scroll-margin-top: 100px;
}



/* ================================================================
   INSTRUCTOR IMAGES - RESPONSIVE
   ================================================================ */

.instructor-image {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transition: all 0.3s ease;
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Card-specific border colors */
.card-ethical-hacking .instructor-image {
  border-color: var(--color-ethical-hacking);
}

.card-forensics .instructor-image {
  border-color: var(--color-forensics);
}

.card-defense .instructor-image {
  border-color: var(--color-defense);
}

/* Hover effect */
.instructor-card:hover .instructor-image {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

/* Mobile optimization */
@media (max-width: 767px) {
  .instructor-image {
    width: 120px;
    height: 120px;
  }
}

/* Desktop optimization */
@media (min-width: 1024px) {
  .instructor-image {
    width: 180px;
    height: 180px;
  }
}


/* ================================================================
   CURRICULUM ICONS - IMAGE SUPPORT
   ================================================================ */

.curriculum-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: var(--space-sm);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.curriculum-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Makes icons white */
}

/* Hover effect */
.hover-lift:hover .curriculum-icon {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

/* Mobile optimization */
@media (max-width: 767px) {
  .curriculum-icon {
    width: 50px;
    height: 50px;
  }

  .curriculum-icon img {
    width: 28px;
    height: 28px;
  }
}

/* Desktop optimization */
@media (min-width: 1024px) {
  .curriculum-icon {
    width: 70px;
    height: 70px;
  }

  .curriculum-icon img {
    width: 40px;
    height: 40px;
  }
}


/* ================================================================
   ENHANCED FEATURES SECTION - With Gradient Background
   ================================================================ */

.features-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card-enhanced {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Gradient backgrounds matching your course cards */
  background: var(--gradient-card), linear-gradient(90deg, var(--accent-light) 0%, transparent 50%);
}

/* Top gradient line on hover */
.feature-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card-enhanced:hover::before {
  opacity: 1;
}

.feature-card-enhanced:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 40px var(--accent-glow);
}

/* Icon Wrapper with Glow Effect */
.feature-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-enhanced {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-card-enhanced:hover .feature-icon-enhanced {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.icon-emoji {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Animated Glow Background */
.feature-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.feature-card-enhanced:hover .feature-glow {
  opacity: 0.4;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Feature Content */
.feature-title-enhanced {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-align: center;
  color: var(--text-primary);
  line-height: 1.4;
}

.feature-description-enhanced {
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.feature-footer {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.feature-card-enhanced:hover .feature-badge {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

/* Color Variants - Matching your existing course card style */
.card-purple {
  --accent-color: #8b5cf6;
  --accent-light-color: #a78bfa;
  --accent-light: rgba(139, 92, 246, 0.1);
  --accent-rgb: 139, 92, 246;
  --accent-glow: rgba(139, 92, 246, 0.4);
  border-left: 3px solid var(--accent-color);
}

.card-cyan {
  --accent-color: #06b6d4;
  --accent-light-color: #22d3ee;
  --accent-light: rgba(6, 182, 212, 0.1);
  --accent-rgb: 6, 182, 212;
  --accent-glow: rgba(6, 182, 212, 0.4);
  border-left: 3px solid var(--accent-color);
}

.card-green {
  --accent-color: #10b981;
  --accent-light-color: #34d399;
  --accent-light: rgba(16, 185, 129, 0.1);
  --accent-rgb: 16, 185, 129;
  --accent-glow: rgba(16, 185, 129, 0.4);
  border-left: 3px solid var(--accent-color);
}

.card-orange {
  --accent-color: #f59e0b;
  --accent-light-color: #fbbf24;
  --accent-light: rgba(245, 158, 11, 0.1);
  --accent-rgb: 245, 158, 11;
  --accent-glow: rgba(245, 158, 11, 0.4);
  border-left: 3px solid var(--accent-color);
}

.card-pink {
  --accent-color: #ec4899;
  --accent-light-color: #f472b6;
  --accent-light: rgba(236, 72, 153, 0.1);
  --accent-rgb: 236, 72, 153;
  --accent-glow: rgba(236, 72, 153, 0.4);
  border-left: 3px solid var(--accent-color);
}

.card-blue {
  --accent-color: #0066cc;
  --accent-light-color: #3b82f6;
  --accent-light: rgba(0, 102, 204, 0.1);
  --accent-rgb: 0, 102, 204;
  --accent-glow: rgba(0, 102, 204, 0.4);
  border-left: 3px solid var(--accent-color);
}

/* Remove redundant glow color classes */
.purple-glow {
  display: none;
}

.cyan-glow {
  display: none;
}

.green-glow {
  display: none;
}

.orange-glow {
  display: none;
}

.pink-glow {
  display: none;
}

.blue-glow {
  display: none;
}

/* Pulse Glow Animation - Already exists in your CSS */
@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .features-grid-enhanced {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-card-enhanced {
    padding: var(--space-lg);
  }

  .feature-icon-enhanced {
    width: 70px;
    height: 70px;
  }

  .icon-emoji {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .features-grid-enhanced {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ================================================================
   CURRICULUM ICON IMAGES - Course Pages (No Inner Box)
   ================================================================ */

.curriculum-icon {
  width: 100%;
  max-width: 400px;
  height: 200px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Remove the inner box background effect */
.curriculum-icon::before {
  display: none;
}

/* Image inside curriculum icon - MUCH LARGER, NO BOX */
.curriculum-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.9) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Hover effects for parent card */
.card-foundation:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(16, 185, 129, 0.4));
}

.card-ethical-hacking:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(139, 92, 246, 0.4));
}

.card-forensics:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(245, 158, 11, 0.4));
}

.card-defense:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(6, 182, 212, 0.4));
}

.card-soc:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(236, 72, 153, 0.4));
}

/* Responsive sizing */
@media (max-width: 768px) {
  .curriculum-icon {
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .curriculum-icon {
    height: 220px;
  }
}



/* ================================================================
   CURRICULUM SECTION - DESKTOP FIX
   ================================================================ */

/* Base curriculum grid - mobile first */
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Curriculum cards - consistent height */
.curriculum-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  /* Prevent too short cards */
}

/* Ensure content fills card properly */
.curriculum-grid .card h3 {
  margin-top: auto;
  /* Push title down after image */
}

/* CURRICULUM ICON - Fixed sizing */
.curriculum-icon {
  width: 100%;
  height: 180px;
  /* Fixed height for consistency */
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.curriculum-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.9) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Hover effects */
.card-foundation:hover .curriculum-icon img {
  transform: scale(1.05);
  filter: brightness(1) drop-shadow(0 8px 20px rgba(16, 185, 129, 0.4));
}

/* Tablet - 2 columns */
@media (min-width: 768px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .curriculum-grid .card {
    min-height: 320px;
  }

  .curriculum-icon {
    height: 160px;
  }
}

/* Desktop - 3 columns with FIXED heights */
@media (min-width: 1024px) {
  .curriculum-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  /* IMPORTANT: Fixed card height prevents stretching */
  .curriculum-grid .card {
    height: auto;
    min-height: 340px;
    max-height: 400px;
    /* Prevent excessive height */
  }

  .curriculum-icon {
    height: 140px;
    /* Smaller on desktop for better proportions */
  }
}

/* Large desktop - 4 columns */
@media (min-width: 1280px) {
  .curriculum-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .curriculum-grid .card {
    min-height: 350px;
    max-height: 420px;
  }

  .curriculum-icon {
    height: 150px;
  }
}


/* ================================================================
   QUICK INFO SECTION - Matching Gradient Card Style
   ================================================================ */

.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.quick-info-card {
  text-align: center;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.quick-info-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border-radius: 20px;
  margin-bottom: var(--space-md);
  transition: all 0.4s ease;
}

.quick-info-card:hover .quick-info-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.quick-info-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #10b981;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.quick-info-value {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* Tablet - 2 columns */
@media (min-width: 768px) {
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

/* Desktop - 4 columns */
@media (min-width: 1024px) {
  .quick-info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }

  .quick-info-card {
    min-height: 200px;
  }
}