/* ===========================
   GLOBAL STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0d0d0d; /* Changed to a richer blue color */
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Responsive image classes */
.desktop-only-image {
  display: flex;
}

.mobile-only-image {
  display: flex;
}

@media (max-width: 768px) {
  .desktop-only-image {
    display: none;
  }
  
  .mobile-only-image {
    display: block;
  }
}

/* Links */
a {
  text-decoration: none;
  color: #1e90ff;
}

a:hover {
  color: #00bfff;
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
.sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  padding: 10px 20px;
  overflow: hidden;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Add subtle glow effect to the entire header */
.sticky-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(0, 212, 255, 0.01) 50%,
    rgba(255, 215, 0, 0.01) 100%
  );
  border-radius: 0 0 20px 20px;
  z-index: -1;
  opacity: 0.8;
}

.header-background-image {
  display: none;
}

.header-background-overlay {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 65px; /* Adjust as needed */
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* Base styles for nav links */
.nav-links li a {
  padding: 8px 12px;
  border-radius: 50px;
  color: #fff;
  transition: all 0.3s ease;
  background-color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links li a.active,
.nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Desktop-specific override for Contact Us and Register Now links (last two items)
   This prevents them from having permanent highlighting in desktop view */
@media (min-width: 769px) {
  .nav-links li:nth-last-child(1) a.active,
  .nav-links li:nth-last-child(2) a.active {
    background-color: transparent;
    color: #12f5f1; /* Match the default nav link color (#12f5f1) */
  }
  
  .nav-links li:nth-last-child(1) a:hover,
  .nav-links li:nth-last-child(2) a:hover {
    background-color: rgba(98, 100, 100, 0.715); /* Match the subtle background on hover */
    color: #c7be62; /* Match the hover text color (#c7be62) */
  }
}


/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  background-color: #05104000;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4800px;
  background: linear-gradient(to bottom, rgba(98, 96, 96, 0), rgba(13, 13, 13, 0.3) 40%, rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 2;
  clip-path: polygon(
    0% 45%, 
    4% 47%, 
    8% 45%, 
    12% 48%, 
    16% 46%, 
    20% 49%, 
    24% 47%, 
    28% 50%, 
    32% 48%, 
    36% 51%, 
    40% 49%, 
    44% 52%, 
    48% 50%, 
    52% 53%, 
    56% 51%, 
    60% 54%, 
    64% 52%, 
    68% 55%, 
    72% 53%, 
    76% 56%, 
    80% 54%, 
    84% 57%, 
    88% 55%, 
    92% 58%, 
    96% 56%, 
    100% 59%,
    100% 100%, 
    0% 100%
  );
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left, .hero-right {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 2;
}

.hero-left {
  margin-left: -70px!important;
  padding-right: 30px;
}

.hero-right {
  display: flex;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.intro-content {
  background: linear-gradient(
    135deg,
    rgba(5, 16, 64, 0) 0%,
    rgba(5, 16, 64, 0) 50%,
    rgba(5, 16, 64, 0) 100%
  );
  padding: 30px;
  border-radius: 40px;
  backdrop-filter: blur(8px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(198, 170, 101, 0.1),
    inset 0 0 15px rgba(15, 169, 217, 0.05);
  max-width: 600px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 170, 101, 0.1);
  transition: all 0.5s ease;
}

.intro-content:hover {
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(198, 170, 101, 0.15),
    inset 0 0 20px rgba(15, 169, 217, 0.08);
}

.intro-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(
    135deg, 
    rgba(198, 170, 101, 0.6) 0%, 
    rgba(198, 170, 101, 0.2) 25%, 
    rgba(5, 16, 64, 0) 50%, 
    rgba(198, 170, 101, 0.2) 75%, 
    rgba(198, 170, 101, 0.6) 100%
  );
  background-size: 300% 300%;
  animation: borderGradient 8s ease infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.intro-content h2 {
  color: #c6aa65;
  margin-bottom: 20px;
  font-size: 2.8rem;
  text-shadow: 0 0 10px rgba(198, 170, 101, 0.2);
  position: relative;
  z-index: 1;
  transition: text-shadow 0.5s ease;
  text-align: center;
}

.intro-content:hover h2 {
  text-shadow: 0 0 15px rgba(198, 170, 101, 0.3);
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  max-width: 600px;
  transition: color 0.5s ease;
  text-align: justify;
}

/* Styling for bold/strong elements in hero section paragraphs */
.intro-content p strong,
.intro-content p b {
  color: #0fa9d9;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(15, 169, 217, 0.3);
  transition: all 0.3s ease;
}

.intro-content p strong:nth-of-type(even),
.intro-content p b:nth-of-type(even) {
  color: #c6aa65;
  text-shadow: 0 0 8px rgba(198, 170, 101, 0.3);
}

.intro-content:hover p strong,
.intro-content:hover p b {
  text-shadow: 0 0 12px rgba(15, 169, 217, 0.5);
}

.intro-content:hover p strong:nth-of-type(even),
.intro-content:hover p b:nth-of-type(even) {
  text-shadow: 0 0 12px rgba(198, 170, 101, 0.5);
}

.intro-content:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-left, .hero-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .hero-right {
    padding: 0;
  }
  
  .hero-left {
    margin-bottom: 40px;
  }
  
  .hero-right {
    justify-content: center;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-feature-image {
    max-width: 80%;
  }

  .intro-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .intro-content {
    padding: 20px;
  }
  
  .intro-content h2 {
    font-size: 1.8rem;
  }
  
  .intro-content p, .hero-content p {
    font-size: 1rem;
  }
  
  .hero-feature-image {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .intro-content h2 {
    font-size: 1.5rem;
  }
  
  /* Enhanced mobile effects for Why Choose Us section on small screens */
  .overview-section {
    padding: 60px 10px;
  }
  
  .overview-heading h2 {
    font-size: 1.6rem;
    background-size: 400% 100%;
  }
  
  .overview-subtitle {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  
  .overview-item {
    padding: 18px 12px;
    margin: 5px 0;
    border-radius: 12px;
  }
  
  .overview-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .overview-item p {
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    padding: 0 8px;
    word-spacing: 0.03em;
    letter-spacing: 0.008em;
  }
  
  .overview-controls {
    padding: 18px 12px;
    margin-top: 25px;
    gap: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  
  .controls-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-self: start;
  }
  
  .overview-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    min-width: 90px;
    border-radius: 25px;
    position: relative;
  }
  
  .overview-indicators {
    gap: 12px;
    justify-content: center;
    justify-self: center;
  }
  
  .overview-indicators .indicator {
    width: 10px;
    height: 10px;
  }
  
  .overview-indicators .indicator.active {
    transform: scale(1.3);
  }
  
  /* Add subtle particle effect for small screens */
  .overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(198, 170, 101, 0.3) 0%, transparent 50%),
                      radial-gradient(1px 1px at 40% 70%, rgba(198, 170, 101, 0.2) 0%, transparent 50%),
                      radial-gradient(1px 1px at 80% 10%, rgba(198, 170, 101, 0.3) 0%, transparent 50%);
    animation: twinkle 8s linear infinite;
    z-index: 1;
    pointer-events: none;
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #04f15b;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #fff;
}

/* Hero Image Styles for the hero section  of index.html*/
.hero-image-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-feature-image {
  max-width: 900px;
  width: 750px;
  height: 490px;
  border-radius: 30px;
  box-shadow: 0 5px 15px #03e3cd7d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 25%;
  margin-top: -10%; /* Pull the image slightly to the left to utilize more space */
}

.hero-feature-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px #14eac09e;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-left, .hero-right {
    width: 100%;
    padding: 20px 0;
  }
  
  .hero-left {
    order: 2;
  }
  
  .hero-right {
    order: 1;
    margin-bottom: 20px;
  }
  
  /* Hero text mobile optimizations */
  .hero-main-title h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-intro-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .call-to-action-text {
    font-size: 1.1rem;
    padding: 12px;
  }
  
  .feature-item {
    padding: 12px;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }
  
  .feature-icon i {
    font-size: 1.1rem;
  }
  
  .feature-content h4 {
    font-size: 1rem;
  }
  
  .feature-content p {
    font-size: 0.9rem;
  }
  
  .hero-section {
    padding: 40px 20px;
  }
  
  .hero-feature-image {
    max-width: 80%;
  }
  
  .intro-content h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .intro-content {
    padding: 10px 0; /* Consistent padding on mobile */
  }
  
  .intro-content h2 {
    font-size: 2rem;
  }
  
  .intro-content p, .hero-content p {
    font-size: 1rem;
  }
  
  .hero-feature-image {
    max-width: 100%;
  }
  
  /* Additional mobile optimizations for hero text content */
  .hero-main-title {
    margin-bottom: 20px;
  }
  
  .hero-intro-text {
    margin-bottom: 25px;
  }
  
  .hero-features {
    gap: 15px;
    margin-bottom: 25px;
  }
  
  /* Mobile optimizations for security dashboard */
  .security-dashboard {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .dashboard-header {
    padding: 15px 20px;
  }
  
  .dashboard-title {
    font-size: 1rem;
  }
  
  .dashboard-content {
    padding: 20px;
  }
  
  .threat-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .metric-card {
    padding: 12px 8px;
  }
  
  .metric-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
  
  .metric-label {
    font-size: 0.75rem;
  }
  
  .network-grid {
    height: 120px;
  }
  
  .network-node {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .network-node.center {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .alert-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .intro-content h2 {
    font-size: 1.8rem;
  }
  
  /* Extra small mobile optimizations for hero text content */
  .hero-main-title h2 {
    font-size: 1.6rem !important;
  }
  
  .hero-intro-text {
    margin-bottom: 20px;
  }
  
  .hero-features {
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .feature-item {
    padding: 10px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .call-to-action-text {
    font-size: 1rem;
    padding: 10px;
  }
  
  .feature-content h4 {
    font-size: 0.95rem;
  }
  
  .feature-content p {
    font-size: 0.85rem;
  }
  
  /* Extra small mobile optimizations for security dashboard */
  .security-dashboard {
    border-radius: 15px;
  }
  
  .dashboard-header {
    padding: 12px 15px;
  }
  
  .dashboard-title {
    font-size: 0.9rem;
  }
  
  .dashboard-content {
    padding: 15px;
  }
  
  .threat-metrics {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .metric-card {
    padding: 10px 6px;
  }
  
  .metric-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .metric-value {
    font-size: 1.3rem;
  }
  
  .metric-label {
    font-size: 0.7rem;
  }
  
  .network-title {
    font-size: 0.9rem;
  }
  
  .network-grid {
    height: 100px;
  }
  
  .network-node {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }
  
  .network-node.center {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .alert-header {
    font-size: 0.85rem;
  }
  
  .alert-item {
    font-size: 0.8rem;
  }
}

/* Modern Security Dashboard Styles */
.security-dashboard {
  width: 100%;
  max-width: 550px;
  background: rgba(13, 13, 13, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(15, 169, 217, 0.2);
  overflow: hidden;
  position: relative;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(15, 169, 217, 0.1) 0%, rgba(198, 170, 101, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c6aa65;
  font-weight: 600;
  font-size: 1.1rem;
}

.dashboard-title i {
  font-size: 1.3rem;
  color: #0fa9d9;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
}

.status-dot.active {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dashboard-content {
  padding: 25px;
}

.threat-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.2rem;
  color: white;
}

.metric-icon.threats {
  background: linear-gradient(135deg, #ff4757, #ff3838);
}

.metric-icon.scans {
  background: linear-gradient(135deg, #0fa9d9, #14eac0);
}

.metric-icon.secure {
  background: linear-gradient(135deg, #00ff88, #00d4aa);
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #c6aa65;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.network-visualization {
  margin-bottom: 25px;
}

.network-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0fa9d9;
  margin-bottom: 15px;
  text-align: center;
}

.network-grid {
  position: relative;
  height: 150px;
  background: rgba(15, 169, 217, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(15, 169, 217, 0.2);
}

.network-node {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0fa9d9, #c6aa65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  animation: nodeGlow 3s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(15, 169, 217, 0.5);
}

.network-node.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  animation-delay: 0s;
}

@keyframes nodeGlow {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(15, 169, 217, 0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 25px rgba(15, 169, 217, 0.8);
    transform: scale(1.05);
  }
}

.connection-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #0fa9d9, transparent);
  height: 2px;
  animation: dataFlow 2s linear infinite;
}

.line-1 {
  top: 30%;
  left: 25%;
  width: 50%;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.line-2 {
  top: 30%;
  right: 25%;
  width: 50%;
  transform: rotate(-45deg);
  animation-delay: 0.5s;
}

.line-3 {
  bottom: 30%;
  left: 25%;
  width: 50%;
  transform: rotate(-45deg);
  animation-delay: 1s;
}

.line-4 {
  bottom: 30%;
  right: 25%;
  width: 50%;
  transform: rotate(45deg);
  animation-delay: 1.5s;
}

@keyframes dataFlow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.security-alerts {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #c6aa65;
  font-weight: 600;
  font-size: 0.95rem;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.alert-item:last-child {
  margin-bottom: 0;
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-dot.success {
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
}

.alert-dot.warning {
  background: #ffa726;
  box-shadow: 0 0 8px #ffa726;
  animation: pulse 1.5s infinite;
}

.hero-btn, 
.register-button, 
.cta-button, 
.learn-more-btn {
    background-color: #0FA9D9;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-align: center;
    border: none;
}

.hero-btn:hover,
.register-button:hover,
.cta-button:hover,
.learn-more-btn:hover {
    background-color: #0FA9D9;
}

/* ===========================
   OVERVIEW SECTION (Why Choose Us)
=========================== */
.overview-section {
  position: relative;
  padding: 80px 20px;
  z-index: 1;
}

/* Modern Hero Text Content Styles */
.hero-main-title {
  margin-bottom: 25px;
}

.hero-main-title h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0;
  background: linear-gradient(135deg, #c6aa65 0%, #0fa9d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-intro-text {
  margin-bottom: 30px;
}

.hero-intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.highlight-text {
  color: #0fa9d9;
  font-weight: 600;
}

.call-to-action-text {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(198, 170, 101, 0.3);
}

.brand-highlight {
  background: linear-gradient(135deg, #c6aa65 0%, #0fa9d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 170, 101, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0fa9d9 0%, #c6aa65 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.2rem;
  color: white;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #c6aa65;
}

.feature-content p {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Background container */
.overview-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Background image styling */
.overview-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Overlay for better text readability */
.overview-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 4, 5, 0.95) 0%, rgba(3, 4, 5, 0.8) 50%, rgba(2, 3, 3, 0.95) 100%);
  z-index: 2;
}

/* Top wave effect */
.overview-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(to bottom, #0d0d0d 0%, rgba(7, 14, 38, 0) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
  z-index: 3;
}

/* Bottom wave effect with darker overlay for better blending */
.overview-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 900px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.934) 0%, rgba(13, 13, 13, 0.6) 30%, rgba(13, 13, 13, 0.3) 60%, rgba(13, 13, 13, 0) 100%);
  z-index: 4;
  clip-path: polygon(
    0% 45%, 
    4% 47%, 
    8% 45%, 
    12% 48%, 
    16% 46%, 
    20% 49%, 
    24% 47%, 
    28% 50%, 
    32% 48%, 
    36% 51%, 
    40% 49%, 
    44% 52%, 
    48% 50%, 
    52% 53%, 
    56% 51%, 
    60% 54%, 
    64% 52%, 
    68% 55%, 
    72% 53%, 
    76% 56%, 
    80% 54%, 
    84% 57%, 
    88% 55%, 
    92% 58%, 
    96% 56%, 
    100% 59%,
    100% 100%, 
    0% 100%
  );
}

.overview-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 5;
}

.overview-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.overview-heading h2 {
  font-size: 2.2rem;
  color: #c6aa65e6;
  line-height: 1.3;
  text-shadow: 0 0 15px rgba(198, 170, 101, 0.5);
  
}

.overview-arrow {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.overview-arrow .arrow-icon {
  font-size: 2.5rem;
  color: rgba(198, 170, 101, 0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Mobile-specific animations for Why Choose Us section */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateZ(0) scale(0.95) rotateY(-5deg);
  }
  to {
    opacity: 1;
    transform: translateZ(20px) scale(1.02) rotateY(0deg);
  }
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 5px rgba(198, 170, 101, 0.3);
  }
  to {
    text-shadow: 0 0 15px rgba(198, 170, 101, 0.6), 0 0 25px rgba(198, 170, 101, 0.3);
  }
}

@keyframes parallaxFloat {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-10px) translateY(-5px); }
  50% { transform: translateX(0) translateY(-10px); }
  75% { transform: translateX(10px) translateY(-5px); }
  100% { transform: translateX(0) translateY(0); }
}

.overview-details {
  background-color: #01010200;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px #f7c54800;
}

.overview-slider {
  position: relative;
  overflow: hidden;
}

.overview-item {
  display: none;
  padding: 30px 20px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50px;
  border: 1px solid rgba(198, 170, 101, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.overview-item.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.overview-item h3 {
  font-size: 1.7rem;
  color: #c6aa65e6!important;
  margin-bottom: 15px;
  text-align: center;
}

.overview-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e4e4e4;
}

.overview-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.overview-btn {
  background-color: rgba(15, 25, 55, 0.7);
  color: #e4e4e4;
  border: 1px solid rgba(198, 170, 101, 0.3);
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.overview-btn:hover {
  background-color: rgba(198, 170, 101, 0.2);
  border-color: rgba(198, 170, 101, 0.6);
}

.overview-indicators {
  display: flex;
  gap: 8px;
}

.overview-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(228, 228, 228, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.overview-indicators .indicator.active {
  background-color: rgba(198, 170, 101, 0.8);
  transform: scale(1.2);
}

/* Desktop controls remain horizontal - mobile only gets vertical layout */
.controls-left {
  display: contents; /* On desktop, don't create a container */
}

/* Responsive styles */
@media (max-width: 992px) {
  .overview-content {
    gap: 20px;
  }
  
  .overview-heading {
    max-width: 700px;
  }
  
  .overview-heading h2 {
    font-size: 1.9rem;
  }
  
  .overview-arrow {
    margin: 15px 0;
  }
  
  .overview-background::before,
  .overview-background::after {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .overview-section {
    padding: 80px 15px;
    background: linear-gradient(135deg, #000510 0%, #001122 50%, #000815 100%);
  }
  
  /* Mobile-specific creative enhancements */
  .overview-content {
    position: relative;
    gap: 40px;
  }
  
  .overview-heading {
    animation: slideInFromTop 0.8s ease-out;
  }
  
  .overview-heading h2 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #c6aa65, #f4d03f, #c6aa65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
    position: relative;
  }
  
  .overview-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c6aa65, transparent);
    animation: expandLine 1s ease-out 0.5s both;
  }
  
  .overview-subtitle {
    font-size: 1rem;
    color: #a8b6c7;
    margin-top: 15px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
  }
  
  /* Dynamic card stack effect */
  .overview-details {
    perspective: 1000px;
    padding: 20px;
    background: transparent;
  }
  
  .overview-slider {
    position: relative;
    transform-style: preserve-3d;
  }
  
  .overview-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(15, 15, 15, 0.3));
    border: 1px solid rgba(198, 170, 101, 0.4);
    border-radius: 15px;
    padding: 20px 15px;
    margin: 5px 0;
    backdrop-filter: blur(5px);
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
  }
  
  .overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(198, 170, 101, 0.1), transparent);
    transition: left 0.8s ease;
  }
  
  .overview-item.active {
    transform: translateZ(15px) scale(1.01);
    box-shadow: 
      0 15px 30px rgba(198, 170, 101, 0.3),
      0 8px 15px rgba(0, 0, 0, 0.5);
    border-color: rgba(198, 170, 101, 0.8);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(25, 25, 25, 0.5));
    animation: cardSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .overview-item.active::before {
    left: 100%;
  }
  
  .overview-item h3 {
    font-size: 1.3rem;
    color: #c6aa65;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    animation: textGlow 2s ease-in-out infinite alternate;
  }
  
  .overview-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ffffff;
    text-align: justify;
    text-justify: inter-word;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
    margin: 0;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
  }
  

  
  /* Enhanced controls with mobile-friendly design */
  .overview-controls {
    margin-top: 30px;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(198, 170, 101, 0.3);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
  }
  
  .controls-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-self: start;
  }
  
  .overview-btn {
    background: linear-gradient(45deg, rgba(198, 170, 101, 0.15), rgba(198, 170, 101, 0.08));
    color: #c6aa65;
    border: 2px solid rgba(198, 170, 101, 0.6);
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(198, 170, 101, 0.2);
  }
  
  .overview-btn:hover {
    background: linear-gradient(45deg, rgba(198, 170, 101, 0.25), rgba(198, 170, 101, 0.15));
    border-color: rgba(198, 170, 101, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 170, 101, 0.3);
  }
  
  .overview-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(198, 170, 101, 0.4);
  }
  
  .overview-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(198, 170, 101, 0.2) 0%, transparent 70%);
    transition: transform 0.3s ease;
  }
  
  .overview-btn:active::before {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .overview-indicators {
    gap: 15px;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-self: center;
  }
  
  .overview-indicators .indicator {
    width: 12px;
    height: 12px;
    background: rgba(198, 170, 101, 0.2);
    border: 2px solid rgba(198, 170, 101, 0.4);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(5px);
  }
  
  .overview-indicators .indicator:hover {
    background: rgba(198, 170, 101, 0.4);
    border-color: rgba(198, 170, 101, 0.7);
    transform: scale(1.1);
  }
  
  .overview-indicators .indicator.active {
    background: #c6aa65;
    border-color: #c6aa65;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(198, 170, 101, 0.6);
  }
  
  .overview-background-image {
    opacity: 0.2;
    animation: parallaxFloat 20s linear infinite;
  }
  

  
  .overview-background::before,
  .overview-background::after {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .overview-section {
    padding: 40px 15px;
  }
  
  .overview-heading h2 {
    font-size: 1.6rem;
  }
  
  .overview-item {
    padding: 20px 15px;
  }
  
  .overview-item h3 {
    font-size: 1.2rem;
  }
  
  .overview-controls {
    flex-wrap: wrap;
  }
  
  .overview-background::before,
  .overview-background::after {
    height: 60px;
  }
}

/* ===========================
   COURSES SECTION (Home Preview)
=========================== */
.courses-section {
  padding: 40px 20px;
}

.courses-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #e4e4e4;
  text-shadow: 0 0 10px rgba(15, 169, 217, 0.3);
}

/* Courses grid layout */
.courses-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Ensure the remaining cards fill the space evenly */
@media (min-width: 1200px) {
    .courses-grid {
        max-width: 1200px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .courses-grid {
        max-width: 900px;
    }
}

@media (max-width: 767px) {
    .courses-grid {
        padding: 0 20px;
        gap: 2rem;
    }
}

.learn-more-btn,
.course-box .learn-more-btn {
    display: inline-block;
    background-color: #0FA9D9;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    width: auto;
    min-width: 150px;
}
.index-page .learn-more-btn {
  color: #ffffff !important; /* Replace #ffcc00 with your desired color */
}

@keyframes typing {
    0% { 
        width: 0;
        opacity: 1;
    }
    100% { 
        width: 100%;
        opacity: 1;
    }
}

.learn-more-btn span,
.course-box .learn-more-btn span {
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: opacity 0.1s ease;
}

.learn-more-btn::before,
.course-box .learn-more-btn::before {
    content: "Learn More";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
}

.learn-more-btn:hover,
.course-box .learn-more-btn:hover {
    background-color: #0FA9D9;
}

.learn-more-btn:hover span,
.course-box .learn-more-btn:hover span {
    opacity: 0;
    visibility: hidden;
}

.learn-more-btn:hover::before,
.course-box .learn-more-btn:hover::before {
    width: 100%;
    opacity: 1;
    animation: typing 1s steps(10) forwards;
}

/* Apply to both course types */
.course-card .learn-more-btn,
.course-box .learn-more-btn {
    margin-top: auto;
}

/* Initially, images are slightly transparent and shifted */
img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When the fade-in class is added, images appear normally */
img.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-section {
  padding: 80px 0;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
  overflow-x: hidden;
}

.about-section .logo-image,
.about-section .vision-section,
.about-section .training-section,
.about-section .community-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.about-section .logo-image {
  display: flex;
  align-items: center;
  padding: 10px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 50px;
  z-index: 5;
  flex-direction: row-reverse;
  border: none;
}

.about-section .logo-image:hover {
  box-shadow: none;
  transform: none;
}

.about-section .logo-image .content-section {
  flex: 1;
  min-width: 300px;
  padding-right: 60px;
  background: rgba(13, 13, 13, 0);
  padding: 20px;
  border-radius: 10px;
}

.about-section .logo-image .image-section {
  width: 400px;
  height: 350px;
  margin: 0;
  margin-right: 60px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.about-section .logo-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  border-radius: 0;
  margin-left: 125px;
  margin-right: 80px;
}

.about-section .logo-image img:hover {
  transform: scale(1.05);
}

.about-section .logo-image h1 {
  text-align: center !important;
  margin-top: -20px;
  color: #c6aa65;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(198, 170, 101, 0.3);
}

.about-section .logo-image p {
  margin-top: 10px;
  color: #fff;
  line-height: 1.6;
  font-size: 1.1rem;
  text-align: center !important;
  margin-bottom: -20px;
}

.about-section h1,
.about-section h2,
.about-section h3,
.about-section .section-title,
main.about-section h1,
main.about-section h2,
main.about-section h3 {
    text-align: center !important;
    color: #c6aa65;
    text-shadow: 0 0 10px rgba(15, 169, 217, 0.3);
    margin-bottom: 20px;
    width: 100%;  /* Ensure full width */
    display: block;  /* Ensure block display */
}


/* Specific heading sizes */
.about-section h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #c6aa65;
}

.about-section h2 {
    font-size: 1.7rem;
    margin-bottom: 25px;
    margin-top: 40px; /* Added spacing above each section heading */
}

.about-section h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    margin-top: 40px; /* Added spacing above each section heading */
}

.about-section p {
    margin-bottom: 30px; /* Increased bottom margin for paragraphs */
}

/* Add spacing for the div elements in the about section */
.about-section div {
    margin-bottom: 20px; /* Added spacing between div elements */
}

/* Container alignment */
.about-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.privacy-heading {
  color: #c6aa65 !important; 
  font-size: 2rem !important;/* or whatever color you prefer */
}

.team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/*.logo-image img {
  width: 300px;
  border-radius: 8px;*/
  
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.team-gallery img {
  width: 200px;
  border-radius: 8px;
}

/* Vision Section Styles */
.about-section .vision-section {
  margin-top: 60px;
  margin-bottom: 60px;
  flex-direction: row-reverse; /* Image on right, content on left */
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.about-section .vision-section:hover {
  box-shadow: none;
  transform: none;
}

.about-section .vision-section .content-section {
  text-align: left;
  padding-left: 40px;
  flex: 1;
  max-width: 600px;
}

.about-section .vision-section h2 {
  text-align: left !important;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.about-section .vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-section .vision-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-section .vision-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: #05e4e0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(5, 228, 224, 0.5);
}

.about-section .vision-section .image-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .vision-section img {
  width: 115%!important;
  height: 115%!important;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .vision-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(5, 228, 224, 0.4);
}

/* Training Section Styles */
.about-section .training-section {
  margin-top: 60px;
  margin-bottom: 60px;
  flex-direction: row; /* Reverse the order compared to vision section */
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.about-section .training-section:hover {
  box-shadow: none;
  transform: none;
}

.about-section .training-section .content-section {
  text-align: left;
  padding-left: 40px;
}

.about-section .training-section h2 {
  text-align: left !important;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.about-section .training-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-section .training-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-section .training-list li strong {
  color: #c6aa65;
  font-weight: 600;
}

.about-section .training-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: #c6aa65;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(198, 170, 101, 0.5);
}

.about-section .training-section .image-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .training-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .training-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
}

/* Media queries for responsive design */
@media (max-width: 992px) {
  .about-section .vision-section,
  .about-section .training-section {
    flex-direction: column;
  }
  
  .about-section .vision-section .image-section,
  .about-section .training-section .image-section {
    width: 100%;
    margin: 30px 0;
  }
  
  .about-section .vision-section .content-section,
  .about-section .training-section .content-section {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .about-section .vision-list li,
  .about-section .training-list li,
  .about-section .community-list li {
    font-size: 1rem;
    padding-left: 25px;
  }
  
  .about-section .vision-section h2,
  .about-section .training-section h2,
  .about-section .community-section h2 {
    font-size: 1.8rem;
  }
}

.about-section .vision-section .image-section {
  width: 450px;
  height: 300px;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: 0 0 20px rgba(5, 228, 224, 0.403);
  margin-top: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .vision-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  transition: transform 0.3s ease;
}

.about-section .vision-section img:hover {
  transform: scale(1.05);
}

/* Desktop-specific styling for vision section */
@media (min-width: 769px) {
  .about-section .vision-section {
    align-items: center;
    min-height: 350px;
  }
  
  .about-section .vision-section .image-section {
    margin-top: 0;
    margin-right: 30px;
    margin-left: 20px;
  }
  
  .about-section .vision-section .content-section {
    padding-top: 0;
    padding-left: 20px;
  }
}

.about-section .training-section .image-section {
  width: 970px;  /* Change to fixed width matching training section */
  height: 350px; /* Match training section height */
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(5, 228, 224, 0.403);
  margin-top: 45px;
}

.about-section .training-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  transition: transform 0.5s ease;
}

.about-section .training-section img:hover {
  transform: scale(1.1);
}

.about-section .community-section .image-section {
  width: 500px;
  height: 350px;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 0 20px #c6aa6587;
  margin-top: 80px;
}

.about-section .community-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  transition: transform 0.5s ease;
}

.about-section .community-section img:hover {
  transform: scale(1.1);
}

/* Background image for the about page */
.about-section {
  position: relative;
  z-index: 1;
}

.about-section::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/cybersecurity-courses-bg6.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-section .vision-list li,
  .about-section .training-list li,
  .about-section .community-list li {
    font-size: 1rem;
    padding-left: 25px;
  }
  
  .about-section .vision-section h2,
  .about-section .training-section h2,
  .about-section .community-section h2 {
    font-size: 1.8rem;
  }
}


/* Make all sections use flex so they align side by side */

.community-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px; /* Adjust spacing as needed */
}

/* Give each subsection (content + image) some flexible space */

.community-section .content-section,


.community-section .image-section {
  flex: 1;
  padding: 1.1px; /* Adjust as needed */
}

/* Specifically reverse the Community section 
   so the image (2nd in HTML) appears on the left 
   and the text (1st in HTML) on the right */
.community-section {
  flex-direction: row-reverse;
  font-size: 1.2rem;
  gap: 40px;
  padding: -10px;
}

@media (max-width: 768px) {
  .about-section .training-section .image-section {
    width: 105%;
    height: 150%!important;
    margin-top: 0;
    margin-left: 0px;
    margin-bottom: -10px;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(5, 228, 224, 0.3);
  }
  
  .about-section .training-section .image-section img {
    width: 100%;
    height: 150%!important;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
  }
}

@media (max-width: 480px) {
  .about-section .training-section .image-section img {
    height: 200px;
  }
}
/* ===========================
   COURSES LIST SECTION (Detail Page)
=========================== */
.courses-list-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #00061a;
}

/* ===== Courses Grid Section ===== */
.courses-grid-section {
  background-color: #000a1f; /* Darker blue background to match image */
  padding: 80px 20px;
  text-align: center;
  color: #0fe5c3; /* Cyan color for headings to match image */
  position: relative;
  overflow: hidden;
}


@keyframes subtle-pulse {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.2;
  }
}

/* Add floating particles effect */
.courses-grid-section .particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(15, 169, 217, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.courses-grid-section .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 15s infinite linear;
}

.courses-grid-section .particle:nth-child(2) {
  top: 70%;
  left: 20%;
  animation: float 20s infinite linear;
}

.courses-grid-section .particle:nth-child(3) {
  top: 40%;
  left: 80%;
  animation: float 18s infinite linear;
}

.courses-grid-section .particle:nth-child(4) {
  top: 10%;
  left: 60%;
  animation: float 12s infinite linear;
}

.courses-grid-section .particle:nth-child(5) {
  top: 85%;
  left: 70%;
  animation: float 25s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) translateX(20px);
    opacity: 0.5;
  }
  75% {
    transform: translateY(10px) translateX(5px);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
}

.section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #ffffff;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Course image container styling */
.course-image-container {
  width: 400px;
  height: 400px;
  min-width: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  flex-shrink: 0;
  margin-right: 50px;
  transition: all 0.4s ease;
}

.course-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Zoom effect on image hover */
.course-box:hover .course-image-container img {
  transform: scale(1.1);
}

/* Enhanced hover effect for the box */
.course-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(15, 169, 217, 0.3);
}

/* Responsive design for mobile */
@media (max-width: 992px) {
  .course-box, 
  .course-box:nth-child(odd),
  .course-box:nth-child(even) {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .course-box,
  .course-box:nth-child(even) {
    flex-direction: column;
    padding: 20px;
    border-radius: 25px;
    width: 100%;
  }

  .course-box:nth-child(even) .course-image-container {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .course-image-container {
    width: 100%;
    height: 200px;
    max-width: 220px;
    margin-right: 0;
    margin-bottom: 20px;
    margin-left: 0;
  }
  
  .course-content-container {
    width: 100%;
    text-align: center;
  }
  
  .box-buttons {
    justify-content: center;
  }
}


.box-buttons {
  display: flex;
  gap: 25px;
  margin-top: auto;
  padding-top: 30px;
}

.learn-more-btn, .register-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
}

.learn-more-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(15, 169, 217, 0.7);
  box-shadow: 0 0 15px rgba(15, 169, 217, 0.2);
}

.register-button {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(198, 170, 101, 0.7);
  box-shadow: 0 0 15px rgba(198, 170, 101, 0.2);
  cursor: pointer;
}

.learn-more-btn:hover {
  transform: scale(1.05);
  border-color: rgba(15, 169, 217, 1);
  box-shadow: 0 0 20px rgba(15, 169, 217, 0.4);
  color: #0fa9d9;
}

.register-button:hover {
  transform: scale(1.05);
  border-color: rgba(198, 170, 101, 1);
  box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
  color: #c6aa65;
}

/* Remove alternating border colors for blocks */
.course-box {
  background: rgba(2, 9, 23, 0.7);
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(15, 169, 217, 0.2);
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
  width: 95%;
  margin: 0 auto;
}

/* Alternating left-right layout */
.course-box:nth-child(odd) {
  margin-right: auto;
  margin-left: 0;
}

.course-box:nth-child(even) {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 0;
}

.course-box:nth-child(even) .course-image-container {
  margin-right: 0;
  margin-left: 25px;
}

/* Enhanced hover effect for the box */
.course-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(15, 169, 217, 0.3);
}

/* Zoom effect on image hover */
.course-box:hover .course-image-container img {
  transform: scale(1.1);
}

/* Responsive design for mobile */
@media (max-width: 992px) {
  .course-box, 
  .course-box:nth-child(odd),
  .course-box:nth-child(even) {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .course-box,
  .course-box:nth-child(even) {
    flex-direction: column;
    padding: 20px;
    border-radius: 25px;
    width: 100%;
  }

  .course-box:nth-child(even) .course-image-container {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .course-image-container {
    width: 100%;
    height: 200px;
    max-width: 220px;
    margin-right: 0;
    margin-bottom: 20px;
    margin-left: 0;
  }
  
  .course-content-container {
    width: 100%;
    text-align: center;
  }
  
  .box-buttons {
    justify-content: center;
  }
}

.box-buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.learn-more-btn, .register-button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1.05rem;
}

.learn-more-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(15, 169, 217, 0.7);
  box-shadow: 0 0 15px rgba(15, 169, 217, 0.2);
}

.register-button {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(198, 170, 101, 0.7);
  box-shadow: 0 0 15px rgba(198, 170, 101, 0.2);
  cursor: pointer;
}

.learn-more-btn:hover {
  transform: scale(1.05);
  border-color: rgba(15, 169, 217, 1);
  box-shadow: 0 0 20px rgba(15, 169, 217, 0.4);
  color: #0fa9d9;
}

.register-button:hover {
  transform: scale(1.05);
  border-color: rgba(198, 170, 101, 1);
  box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
  color: #c6aa65;
}


/* ===========================
   CONTACT SECTION
=========================== */
/* CONTACT PAGE SPECIFIC STYLES */
.contact-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.contact-section::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/cybersecurity-animation7.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* Title on the left */
.contact-title-left {
  text-align: center;
}

.contact-title-left h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #c6aa65;
  text-shadow: 0 0 10px rgba(10, 130, 167, 0.3);
}

/* Main content in the center */
.contact-main-content {
  text-align: center; 
}

.contact-intro {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #8c8c8c;
}

/* Contact block base styles ( last box settings with others as welll)*/
.contact-block {
    background: rgba(2, 9, 23, 0.5);
    border: 1.5px solid rgba(15, 169, 217, 0.5);
    border-radius: 80px!important;
    padding: 25px!important;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
    width: 95%!important; /* Increased width for all contact blocks */
    max-width: 1000px; /* Added max-width to ensure consistency */
    margin-left: auto;
    margin-right: auto;
}

/* Contact row styles - New layout with boxes */
.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Heading box - Left side  (heading of the contact page)*/   
.contact-row h2 {
    color: #0fa9d9;
    margin: 0;
    text-shadow: 0 0 10px rgba(15, 169, 217, 0.3);
    background: rgba(2, 9, 23, 0.8);
    border: 1px solid rgba(15, 169, 217, 0.7);
    border-radius: 80px!important;
    padding: 10px 20px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 0 15px rgba(15, 169, 217, 0.2);
    transition: all 0.3s ease;
}

/* Arrow styling - Center */
.contact-row .arrow {
    color: #0fa9d9;
    font-size: 2em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 1.5s infinite;
}

/* Content box - Right side */
.contact-row p,
.contact-row a {
    margin: 0;
    color: #ffffff;
    text-decoration: none;
    background: rgba(2, 9, 23, 0.8);
    border: 1px solid rgba(198, 170, 101, 0.7);
    border-radius: 80px!important;
    padding: 10px 20px;
    flex-grow: 1;
    text-align: center;
    box-shadow: 0 0 15px rgba(198, 170, 101, 0.2);
    transition: all 0.3s ease;
}

/* Hover effects */
.contact-block:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 169, 217, 1);
    box-shadow: 0 0 25px rgba(15, 169, 217, 0.2);
    background: rgba(2, 9, 23, 0.6);
}

/* Heading box hover effect */
.contact-row h2:hover {
    transform: scale(1.05);
    border-color: rgba(15, 169, 217, 1);
    box-shadow: 0 0 20px rgba(15, 169, 217, 0.4);
}

/* Content box hover effect */
.contact-row p:hover,
.contact-row a:hover {
    color: #c6aa65;
    transform: scale(1.05);
    border-color: rgba(198, 170, 101, 1);
    box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
    text-shadow: 0 0 10px rgba(198, 170, 101, 0.3);
}

/* Gradient animation on hover */
.contact-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(15, 169, 217, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-block:hover::before {
    transform: translateX(100%);
}

/* Arrow pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* For multiple lines in the content box */
.contact-row div.content-box {
    margin: 0;
    color: #ffffff;
    background: rgba(2, 9, 23, 0.8);
    border: 1px solid rgba(198, 170, 101, 0.7);
    border-radius: 80px!important;
    padding: 10px 20px;
    flex-grow: 1;
    text-align: center;
    box-shadow: 0 0 15px rgba(198, 170, 101, 0.2);
    transition: all 0.3s ease;
    min-width: 800px; /* Added to match the location box width */
    width: 100%; /* Ensure it takes full width */
}

.contact-row div.content-box:hover {
    transform: scale(1.05);
    border-color: rgba(198, 170, 101, 1);
    box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
}

.contact-row div.content-box p {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 5px 0;
    margin: 0;
}

.contact-row div.content-box p:hover {
    transform: none;
    box-shadow: none;
    border: none;
}

/* Specific style for Office Hours block (4th contact block) */
.contact-block:nth-child(4) {
    width: 95%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* DYNAMIC ANIMATION CLASSES (JS Intersection Observer) */

/* Slide in from left */
.slide-in-from-left {
  opacity: 0;
  transform: translateX(-30px);
}

.slide-in-from-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in from below */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 10px;
  }
  .contact-title-left h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fddd26c8 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: brightness(1.2) contrast(1.1);
  }
  .contact-block h2 {
    font-size: 1.1rem;
  }
  
  /* Mobile styles for content-box */
  .contact-row div.content-box {
    min-width: unset;
    width: 100%;
  }
}

/* ===========================
   FOOTER STYLES (Refined)
=========================== */

/* Footer element & container */
footer,
.footer {
  background-color: #0c0c0e;
  background-image: linear-gradient(to right, rgba(0,0,0,0.9), rgba(10,10,15,0.85));
  text-align: center;
  padding: 40px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Gold divider line at the top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffd700;
  z-index: 3;
}

/* Footer background layers */
.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.footer-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.footer-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(8,7,10,0.95) 0%, rgba(8,7,9,0.9) 50%, rgba(4,4,5,0.95) 100%);
  z-index: 2;
}
.footer-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top, rgba(5,5,6,0), rgba(3,2,3,0.3) 40%, rgba(6,5,7,0.7) 70%, rgba(2,2,3,0.95) 100%);
  z-index: 3;
  clip-path: polygon(
    0% 0%, 
    100% 0%,
    100% 100%,
    96% 85%, 
    92% 88%, 
    88% 85%, 
    84% 88%, 
    80% 85%, 
    76% 88%, 
    72% 85%, 
    68% 88%, 
    64% 85%, 
    60% 88%, 
    56% 85%, 
    52% 88%, 
    48% 85%, 
    44% 88%, 
    40% 85%, 
    36% 88%, 
    32% 85%, 
    28% 88%, 
    24% 85%, 
    20% 88%, 
    16% 85%, 
    12% 88%, 
    8% 85%, 
    4% 88%,
    0% 85%
  );
}

/* Footer container */
.footer-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 20px;
}

/* Footer sections */
.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  text-align: left;
  position: relative;
  z-index: 5;
}

/* Footer section headings */
.footer-section h3 {
  color: #ffd700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}
.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #ffd700;
}

/* Footer links */
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.footer-section ul li a {
  color: #cccccc !important;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: inline-block;
  position: relative;
}
.footer-section ul li a:hover {
  color: #ffd700 !important;
  transform: translateX(3px);
}
.footer-section ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffd700;
  transition: width 0.3s ease-in-out;
}
.footer-section ul li a:hover::after {
  width: 100%;
}

/* Footer contact info */
.footer-section.contact-info {
  margin-right: 0;
}
.footer-section.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.footer-section.contact-info a {
  color: #cccccc !important;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: inline-block;
}
.footer-section.contact-info a:hover {
  color: #ffd700 !important;
  transform: translateX(3px);
}

/* Footer bottom area */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ===========================
   RESPONSIVE DESIGN (Footer)
=========================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 20px 10px;
  }
}

/* ===========================
   LEARN, PRACTICE, IMPROVE SECTION
=========================== */
.learn-practice-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
  position: relative;
  overflow: hidden;
}

.learn-practice-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Top wave effect */
.learn-practice-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px!important;
  background: linear-gradient(to top, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.3) 40%, rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 55%, 
    96% 53%, 
    92% 55%, 
    88% 52%, 
    84% 54%, 
    80% 51%, 
    76% 53%, 
    72% 50%, 
    68% 52%, 
    64% 49%, 
    60% 51%, 
    56% 48%, 
    52% 50%, 
    48% 47%, 
    44% 49%, 
    40% 46%, 
    36% 48%, 
    32% 45%, 
    28% 47%, 
    24% 44%, 
    20% 46%, 
    16% 43%, 
    12% 45%, 
    8% 42%, 
    4% 44%,
    0% 41%
  );
}

/* Bottom wave effect */
.learn-practice-background::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7400px!important;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.3) 40%, rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(
    0% 45%, 
    4% 47%, 
    8% 45%, 
    12% 48%, 
    16% 46%, 
    20% 49%, 
    24% 47%, 
    28% 50%, 
    32% 48%, 
    36% 51%, 
    40% 49%, 
    44% 52%, 
    48% 50%, 
    52% 53%, 
    56% 51%, 
    60% 54%, 
    64% 52%, 
    68% 55%, 
    72% 53%, 
    76% 56%, 
    80% 54%, 
    84% 57%, 
    88% 55%, 
    92% 58%, 
    96% 56%, 
    100% 59%,
    100% 100%, 
    0% 100%
  );
}

/* Full gradient overlay */
.learn-practice-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.7) 5%, 
    rgba(13, 13, 13, 0.3) 15%, 
    rgba(13, 13, 13, 0) 25%,
    rgba(13, 13, 13, 0) 75%,
    rgba(13, 13, 13, 0.3) 85%, 
    rgba(13, 13, 13, 0.7) 95%, 
    #0d0d0d 100%
  );
  z-index: 2;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-heading h2 {
  font-size: 3rem;
  color: #c6aa65;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.methodology-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #0FA9D9;
}

.learn-practice-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}
/* the lear practice and improve section box positions */
.learn-box {
  display: flex;
  align-items: center;
  padding: -5px!important;
  background: rgba(13, 13, 13, 0);
  border-radius: 35px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
  z-index: 5;
  margin-right: auto;  /* Align first box to the left */
  margin-left: -25px;      /* Remove left margin to push to left */
  max-width: 100%;      /* Set a reasonable max-width */
}

.learn-box:hover {
  box-shadow: 0 8px 25px rgba(5, 228, 224, 0.3);
  transform: translateY(-5px);
}

.learn-box:nth-child(2) {
  flex-direction: row-reverse;
  margin-right: -25px;     /* Remove right margin to push to right */
  margin-left: auto;   /* Align second box to the right */
}

.learn-box:nth-child(3) {
  flex-direction: row;
  margin-right: auto;  /* Align third box to the left */
  margin-left: -25px;      /* Remove left margin to push to left */
}

.learn-box::before {
  display: none;
}

.learn-box-image {
  width: 550px;
  height: 300px;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgb(5, 228, 224);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.learn-box-image:hover .feature-icon-image {
  transform: scale(1.1);
}

.learn-box-content {
  padding-left: 30px;
  flex: 1;
  background: rgba(13, 13, 13, 0);
  padding: 20px;
  border-radius: 10px;
}

.learn-box:nth-child(2) .learn-box-content {
  padding-left: 0;
  padding-right: 30px;
  background: rgba(13, 13, 13, 0);
  padding: 20px;
  border-radius: 10px;
}

.learn-box:nth-child(3) .learn-box-content {
  padding-left: 30px;
  padding-right: 0;
  background: rgba(13, 13, 13, 0);
  padding: 20px;
  border-radius: 10px;
}

.learn-box h3 {
  font-size: 1.5rem;
  color: #1bffe4;
  margin-bottom: 15px;
  text-align: left;
}

.learn-box p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

/* Phase highlights styling */
.phase-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.phase-tag {
  background: linear-gradient(45deg, rgba(198, 170, 101, 0.2), rgba(244, 208, 63, 0.15));
  color: #c6aa65;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(198, 170, 101, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(198, 170, 101, 0.2);
}

.phase-tag:hover {
  background: linear-gradient(45deg, rgba(198, 170, 101, 0.3), rgba(244, 208, 63, 0.25));
  border-color: rgba(198, 170, 101, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 170, 101, 0.3);
}

/* Media queries for responsive design */
@media (max-width: 992px) {
  .learn-practice-grid {
    gap: 40px;
  }
  
  .learn-box {
    padding: 20px;
  }
  
  .learn-box-image {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* Learn Practice Section Mobile Styles */
  .learn-practice-section {
    padding: 40px 15px;
  }
  
  .section-container {
    padding: 0 10px;
  }
  
  .section-heading {
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  .section-heading h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .methodology-subtitle {
    font-size: 1rem;
    color: #ccc;
    margin: 0;
    padding: 0 20px;
    line-height: 1.4;
  }
  
  .learn-practice-grid {
    gap: 30px;
    margin-top: 30px;
  }
  
  .learn-box, .learn-box:nth-child(2), .learn-box:nth-child(3) {
    flex-direction: column;
    text-align: center;
    margin-left: auto;    /* Reset left margin */
    margin-right: auto;   /* Reset right margin */
    max-width: 100%;      /* Allow full width on mobile */
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .learn-box-image {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
  }
  
  .learn-box-content, .learn-box:nth-child(2) .learn-box-content, .learn-box:nth-child(3) .learn-box-content {
    padding: 0;
  }
  
  .learn-box h3 {
    text-align: center;
    font-size: 1.3rem;
  }
  
  .learn-box p {
    text-align: justify;
    font-size: 1rem;
    text-justify: inter-word;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
  }
  
  /* Mobile phase tags styling */
  .phase-highlights {
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  
  .phase-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .learn-practice-section {
    padding: 30px 10px;
  }
  
  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding: 0 5px;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .methodology-subtitle {
    font-size: 0.9rem;
    padding: 0 15px;
  }
  
  .learn-box-image {
    width: 150px;
    height: 150px;
  }
  
  .learn-box h3 {
    font-size: 1.2rem;
  }
  
  .learn-box p {
    font-size: 0.9rem;
    padding: 0 10px;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.03em;
    letter-spacing: 0.008em;
  }
  
  /* Small mobile phase tags styling */
  .phase-highlights {
    gap: 6px;
    margin-top: 10px;
  }
  
  .phase-tag {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 15px;
  }
}


/* Add spin animation keyframes */
@keyframes spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Add fade-in animation keyframes */
@keyframes fadeContent {
  from {
    opacity: 0.7;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-icon-image {
  
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.learn-box:hover .feature-icon-image {
  
  animation: spin 1.2s ease-in-out;
}

.learn-box-content {
  
  opacity: 0.7;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.learn-box:hover .learn-box-content {
  opacity: 1;
  transform: translateY(0);
  animation: fadeContent 0.5s ease forwards;
}

/* ===========================
   WHAT WE OFFER SECTION
=========================== */
.offer-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.offer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Top wave effect */
.offer-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1700px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.3) 40%, rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 55%, 
    96% 53%, 
    92% 55%, 
    88% 52%, 
    84% 54%, 
    80% 51%, 
    76% 53%, 
    72% 50%, 
    68% 52%, 
    64% 49%, 
    60% 51%, 
    56% 48%, 
    52% 50%, 
    48% 47%, 
    44% 49%, 
    40% 46%, 
    36% 48%, 
    32% 45%, 
    28% 47%, 
    24% 44%, 
    20% 46%, 
    16% 43%, 
    12% 45%, 
    8% 42%, 
    4% 44%,
    0% 41%
  );
}

/* Bottom wave effect */
.offer-background::before {
  content: '';
  position: absolute;
  bottom: -1px; /* Ensure no gap at the bottom */
  left: 0;
  width: 100%;
  height: 10px; /* Reduced height for better control */
  background: linear-gradient(to bottom, 
    rgba(13, 13, 13, 0) 0%, 
    rgba(13, 13, 13, 0.8) 40%, 
    rgba(13, 13, 13, 0.95) 70%, 
    #0d0d0d 100%); /* Darker gradient for better blending */
  z-index: 3;
  clip-path: polygon(
    0% 45%, 
    4% 47%, 
    8% 45%, 
    12% 48%, 
    16% 46%, 
    20% 49%, 
    24% 47%, 
    28% 50%, 
    32% 48%, 
    36% 51%, 
    40% 49%, 
    44% 52%, 
    48% 50%, 
    52% 53%, 
    56% 51%, 
    60% 54%, 
    64% 52%, 
    68% 55%, 
    72% 53%, 
    76% 56%, 
    80% 54%, 
    84% 57%, 
    88% 55%, 
    92% 58%, 
    96% 56%, 
    100% 59%,
    100% 100%, 
    0% 100%
  );
}

/* Full gradient overlay */
.offer-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.9) 5%, 
    rgba(13, 13, 13, 0.5) 15%, 
    rgba(13, 13, 13, 0.2) 25%,
    rgba(13, 13, 13, 0.2) 75%,
    rgba(13, 13, 13, 0.5) 85%, 
    rgba(13, 13, 13, 0.9) 95%, 
    #0d0d0d 100%
  );
  z-index: 2;
}

.offer-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Reduced opacity for better blending */
}

.offer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.offer-text {
  max-width: 800px;
  position: relative;
  z-index: 5;
  background: rgba(13, 13, 13, 0.7);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(198, 170, 101, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(198, 170, 101, 0.1);
}

.offer-text::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(198, 170, 101, 0) 0%,
    rgba(198, 170, 101, 0.3) 25%, 
    rgba(198, 170, 101, 0.5) 50%, 
    rgba(198, 170, 101, 0.3) 75%, 
    rgba(198, 170, 101, 0) 100%);
  border-radius: 16px;
  z-index: -1;
  animation: borderGlow 6s linear infinite;
  opacity: 0.6;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.offer-text:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(198, 170, 101, 0.3);
  transform: translateY(-5px);
}

.offer-text p {
  color: #f5f5f5;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
  text-align: justify;
}

.offer-text:hover p {
  color: #ffffff;
}

/* ===========================
   ROTATING COURSES SECTION
=========================== */
.rotating-courses-section {
  padding: 60px 0;
  position: relative;
  background-color: #0d0d0d;
  overflow: hidden;
  z-index: 1;
}

/* Courses Container and Heading Styles */
.courses-container {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.courses-heading {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.courses-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e6c163;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 10;
}

.courses-subtitle {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 10;
}

/* Responsive styles for courses heading */
@media (max-width: 768px) {
  .courses-heading h2 {
    font-size: 2rem;
  }
  
  .courses-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .courses-heading h2 {
    font-size: 1.8rem;
  }
  
  .courses-subtitle {
    font-size: 0.9rem;
  }
}

.rotating-courses-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Top wave effect */
.rotating-courses-background::after {
  content: '';
  position: absolute;
  top: -1px; /* Ensure no gap at the top */
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, 
    rgba(13, 13, 13, 0) 0%,
    rgba(13, 13, 13, 0.4) 30%,
    rgba(13, 13, 13, 0.6) 60%,
    rgba(13, 13, 13, 0.8) 80%,
    #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 55%, 
    96% 53%, 
    92% 55%, 
    88% 52%, 
    84% 54%, 
    80% 51%, 
    76% 53%, 
    72% 50%, 
    68% 52%, 
    64% 49%, 
    60% 51%, 
    56% 48%, 
    52% 50%, 
    48% 47%, 
    44% 49%, 
    40% 46%, 
    36% 48%, 
    32% 45%, 
    28% 47%, 
    24% 44%, 
    20% 46%, 
    16% 43%, 
    12% 45%, 
    8% 42%, 
    4% 44%,
    0% 41%
  );
}

/* Bottom wave effect */
.rotating-courses-background::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1700px!important;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.3) 40%, rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(
    0% 45%, 
    4% 47%, 
    8% 45%, 
    12% 48%, 
    16% 46%, 
    20% 49%, 
    24% 47%, 
    28% 50%, 
    32% 48%, 
    36% 51%, 
    40% 49%, 
    44% 52%, 
    48% 50%, 
    52% 53%, 
    56% 51%, 
    60% 54%, 
    64% 52%, 
    68% 55%, 
    72% 53%, 
    76% 56%, 
    80% 54%, 
    84% 57%, 
    88% 55%, 
    92% 58%, 
    96% 56%,
    100% 59%
  );
}

.rotating-courses-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.8) 5%, 
    rgba(13, 13, 13, 0.4) 15%, 
    rgba(13, 13, 13, 0.1) 25%,
    rgba(13, 13, 13, 0.1) 75%,
    rgba(13, 13, 13, 0.4) 85%, 
    rgba(13, 13, 13, 0.8) 95%, 
    #0d0d0d 100%
  );
  z-index: 2;
}

.rotating-courses-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Reduced opacity for better blending */
}

.rotating-courses-section .section-container {
  position: relative;
  z-index: 5;
}

.course-slider {
  position: relative;
  margin-top: 40px;
  z-index: 5;
}

.course-slide {
  position: relative;
  overflow: hidden;
  padding: 0 20px;
  z-index: 5;
}

.course-item {
  display: none;
  background: rgba(13, 13, 13, 0.7);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(198, 170, 101, 0.2);
  position: relative;
  z-index: 5;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 170, 101, 0.1);
  padding: 0; /* Remove padding to allow image to extend fully */
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.course-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(198, 170, 101, 0) 0%,
    rgba(198, 170, 101, 0.3) 25%, 
    rgba(198, 170, 101, 0.5) 50%, 
    rgba(198, 170, 101, 0.3) 75%, 
    rgba(198, 170, 101, 0) 100%);
  border-radius: 16px;
  z-index: -1;
  animation: borderGlow 6s linear infinite;
  opacity: 0.6;
}

.course-item.active {
  display: flex;
  flex-direction: row; /* Ensure horizontal layout */
  align-items: stretch; /* Make all children stretch to fill height */
}

.course-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(198, 170, 101, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.course-image {
  flex: 0 0 35%;
  border-radius: 50px 50px 50px 50px; /* Rounded corners only on left side */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(208, 205, 205, 0.782);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  height: auto; /* Allow height to be determined by parent */
  min-height: 30%; /* Ensure it fills the container */
   /* Use flexbox for image centering */
  
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  min-height: 70%; /* Ensure image fills the container */
}

.course-image:hover img {
  transform: scale(1.05);
}

.course-info {
  flex: 1;
  padding: 30px;
  position: relative;
  z-index: 2;
  border-radius: 0 50px 50px 0!important; /* Rounded corners only on right side */
}

.course-info h3 {
  color: #02ffcc;
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.course-info p {
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.course-meta span {
  background: rgba(198, 170, 101, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #f5f5f5;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.course-meta span:hover {
  background: rgba(198, 170, 101, 0.3);
  transform: translateY(-2px);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.slider-btn {
  background: rgba(13, 13, 13, 0.7);
  color: #f5f5f5;
  border: 1px solid rgba(198, 170, 101, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background: rgba(198, 170, 101, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(198, 170, 101, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgba(198, 170, 101, 0.7);
  transform: scale(1.2);
}

.view-all-courses-container {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.view-all-courses-btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(198, 170, 101, 0.25);
  color: #f5f5f5;
  border: 1px solid rgba(198, 170, 101, 0.4);
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.view-all-courses-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(198, 170, 101, 0.3), rgba(198, 170, 101, 0.5));
  transition: all 0.4s ease;
  z-index: -1;
}

.view-all-courses-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.view-all-courses-btn:hover::before {
  width: 100%;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  .offer-content {
    flex-direction: column-reverse;
  }
  
  .offer-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .course-slide {
    min-height: 600px;
  }
  
  .course-item {
    flex-direction: column;
  }
  
  .course-image {
    max-width: 100%;
    margin-bottom: 40px; /* Increased from 30px to 40px for better spacing on mobile */
  }
}

@media (max-width: 768px) {
  .offer-section,
  .rotating-courses-section {
    padding: 60px 0;
  }
  
  .course-slide {
    min-height: 700px;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .offer-text p,
  .course-info p {
    font-size: 1rem;
  }
  
  .course-info h3 {
    font-size: 1.6rem;
  }
  
  .course-slide {
    min-height: 800px;
  }
}

@media (max-width: 992px) {
  .course-item {
    flex-direction: column;
    gap: 20px;
  }
  
  .course-image {
    max-width: 100%;
    height: 250px;
    margin: 0 auto;
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .course-item {
    gap: 40px;
  }
  
  .course-image {
    max-width: 350px;
    height: 250px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 768px) {
  .course-item {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  
  .course-image {
    max-width: 100%;
    height: 220px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
  }
  
  .course-content {
    width: 100%;
    text-align: center;
  }
  
  .course-content h3 {
    font-size: 22px;
  }
  
  .slider-controls {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .course-image {
    height: 180px;
    margin: 0 auto 15px;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
  }
  
  .course-content h3 {
    font-size: 20px;
  }
  
  .course-details {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .course-detail {
    margin-right: 0;
  }
}

.course-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-content h3 {
  font-size: 24px;
  color: #1bffe4;
  margin-bottom: 15px;
}

.course-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.course-details {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.course-detail {
  margin-right: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.course-detail strong {
  margin-right: 5px;
  color: #1bffe4;
}

/* Background image */
.learn-practice-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .offer-content {
    flex-direction: column;
  }
  
  .offer-text {
    max-width: 90%;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .offer-section,
  .rotating-courses-section {
    padding: 60px 0;
  }
  
  .offer-text {
    max-width: 95%;
    padding: 25px;
  }
  
  .offer-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .offer-text p,
  .course-info h3 {
    font-size: 0.95rem;
  }
  
  .offer-text {
    padding: 20px;
  }
  
  .course-slide {
    padding: 0 10px;
  }
}

/* Button container for course actions */
.course-info .course-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.course-info .learn-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(198, 170, 101, 0.2)!important;
  color: #f5f5f5;
  border: 1px solid rgba(198, 170, 101, 0.3)!important;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 120px;
  text-align: center;
}

.course-info .learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(198, 170, 101, 0.3);
  transition: all 0.3s ease;
  z-index: -1;
}

.course-info .learn-more-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.course-info .learn-more-btn:hover::before {
  width: 100%;
}

/* Enroll Now button styling - identical to Learn More button */
.course-info .enroll-now-btn {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(15, 169, 217, 0.2)!important;
  color: #f5f5f5;
  border: 1px solid rgba(15, 169, 217, 0.3)!important;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 50px;
  max-height: 50px;
  text-align: center;
}

.course-info .enroll-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(15, 169, 217, 0.3);
  transition: all 0.3s ease;
  z-index: -1;
}

.course-info .enroll-now-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.course-info .enroll-now-btn:hover::before {
  width: 100%;
}

@media (max-width: 992px) {
  .course-item {
    flex-direction: column;
    padding: 25px;
  }
  
  .course-image {
    flex: 0 0 100%;
    margin-bottom: 20px;
    height: 250px;
  }
  
  .course-info {
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .course-item {
    padding: 20px;
  }
  
  .course-image {
    height: 200px;
  }
  
  .course-info h3 {
    font-size: 1.3rem;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .course-image {
    height: 180px;
  }
  
  .course-info h3 {
    font-size: 1.2rem;
  }
  
  .course-meta {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .course-item {
    flex-direction: column;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
  }
  
  .course-image {
    flex: 0 0 auto;
    margin-bottom: 0;
    height: 300px;
    border-radius: 15px 15px 0 0; /* Rounded corners only on top */
    width: 100%;
  }
  
  .course-info {
    padding: 25px;
    border-radius: 0 0 15px 15px; /* Rounded corners only on bottom */
  }
}

@media (max-width: 768px) {
  .course-item {
    padding: 0;
  }
  
  .course-image {
    height: 250px;
  }
  
  .course-info {
    padding: 20px;
  }
  
  .course-info h3 {
    font-size: 1.3rem;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .course-image {
    height: 200px;
  }
  
  .course-info {
    padding: 15px;
  }
  
  .course-info h3 {
    font-size: 1.2rem;
  }
  
  .course-meta {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .offer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .offer-image {
    width: 100%;
    max-width: 500px;
  }
  
  .course-slide {
    padding: 0 10px;
  }
  
  .course-item {
    flex-direction: column;
  }
  
  .course-image {
    height: 300px;
    border-radius: 15px 15px 0 0;
    width: 100%;
  }
  
  .course-info {
    border-radius: 0 0 15px 15px;
  }
  
  .view-all-courses-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .offer-section,
  .rotating-courses-section {
    padding: 40px 0;
  }
  
  .course-slide {
    padding: 0;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .view-all-courses-container {
    margin-top: 20px;
  }
  
  .view-all-courses-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .offer-text p,
  .course-info p {
    font-size: 0.9rem;
  }
  
  .course-info h3 {
    font-size: 1.2rem;
  }
  
  .course-slide {
    margin-top: 20px;
  }
  
  .view-all-courses-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Responsive styles for header background */
@media (max-width: 992px) {
  .sticky-header {
    padding: 10px 15px;
  }
  
  .header-background-image {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .sticky-header {
    padding: 8px 10px;
  }
  
  .logo-img {
    height: 55px;
  }
  
  .header-background-overlay {
    background: linear-gradient(to right, 
      rgba(3, 3, 4, 0.98) 0%,
      rgba(0, 0, 0, 0.95) 50%,
      rgba(4, 5, 6, 0.98) 100%);
  }
  
  .nav-links {
    gap: 10px;
  }
  
  .nav-links li a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .sticky-header {
    padding: 6px 8px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .header-background-image {
    opacity: 0.25;
  }
  
  .nav-links {
    gap: 5px;
  }
  
  .nav-links li a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }
}

/* Around line 3717 where the mobile menu toggle is defined */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 25px; /* Reduced width */
  height: 3px;
  background-color: #c7be62;
  transition: all 0.3s ease;
  margin: 0; /* Remove any default margins */
}

/* Around line 4487-4488 where the media query for mobile begins */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex; /* Show hamburger on mobile */
    flex-direction: column;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Off-screen by default */
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(7, 14, 38, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all 0.5s ease;
    z-index: 1000;
    padding: 50px 0;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    right: 0; /* Slide in from right */
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li a {
    display: block;
    padding: 15px;
    width: 100%;
  }
}

/* Body styles when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Add overlay when menu is open */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* Responsive styles for footer background */
@media (max-width: 992px) {
  .footer-background::after {
    height: 200px;
  }
  
  .footer-container {
    padding: 15px;
  }
  
  .footer-section {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 50px;
  }
  
  .footer-background::after {
    height: 150px;
  }
  
  .footer-background-image {
    opacity: 0.2;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 40px;
  }
  
  .footer-background::after {
    height: 100px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section ul li a,
  .footer-section.contact-info p {
    font-size: 0.9rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Shield-like border effect */
.course-box::after {
    display: none;
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(15, 169, 217, 0.5) 0%, 
        rgba(15, 229, 195, 0.5) 50%, 
        rgba(15, 169, 217, 0.5) 100%);
    z-index: -2;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-box:hover::after {
    opacity: 1;
    animation: borderPulse 2s infinite alternate;
}

@keyframes borderPulse {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

.courses-header h1 {
  font-size: 2.5rem;
  max-width: 900px;
  margin: 0 auto 25px;
  color: #0fa9d9;
  text-shadow: 0 0 15px rgba(15, 169, 217, 0.5);
  line-height: 1.2;
  text-align: center;
}

/* Courses header paragraph styling for desktop */
.courses-header p {
  font-size: 1.2rem;
  max-width: 1000px;
  margin: 0 auto 40px;
  color: #ffffff;
  line-height: 1.7;
  text-align: center;
  padding: 0 20px;
}

/* Adjust header styles for mobile devices */
@media (max-width: 768px) {
  .courses-header h1 {
    font-size: 1.8rem;
  }
  
  .shield-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .css-shield {
    width: 45px;
    height: 55px;
  }
}

.section-subtitle {
  font-size: 1.2rem;
  color: #e6c163;
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 3px;
}

.section-description-container {
  max-width: 900px;
  margin: 0 auto 50px;
}

.section-description {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
  text-align: center;
}

/* Vision box styling */
.vision-box {
  background: rgba(2, 9, 23, 0.8);
  border: 2px solid rgba(230, 193, 99, 0.7);
}

.vision-list {
  padding: 10px 20px;
}

.vision-point {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.vision-dot {
  width: 12px;
  height: 12px;
  background-color: #0fe5c3;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.vision-point p {
  margin: 0;
  text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
  .courses-header h1 {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 1rem;
    padding: 0 15px;
  }
}

  /* Courses Grid */
  @media (max-width: 576px) {
    .courses-grid {
      padding: 0 10px;
      gap: 1.5rem;
    }
    .course-card, .course-box {
      margin-bottom: 0;
      padding: 15px;
    }
  }  
  
  .slider-btn {
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

.slider-btn:hover {
  background: rgba(198, 170, 101, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(198, 170, 101, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgba(198, 170, 101, 0.7);
  transform: scale(1.2);
}

.view-all-courses-container {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.view-all-courses-btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(198, 170, 101, 0.25);
  color: #f5f5f5;
  border: 1px solid rgba(198, 170, 101, 0.4);
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.view-all-courses-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(198, 170, 101, 0.3), rgba(198, 170, 101, 0.5));
  transition: all 0.4s ease;
  z-index: -1;
}

.view-all-courses-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.view-all-courses-btn:hover::before {
  width: 100%;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  .offer-content {
    flex-direction: column-reverse;
  }
  
  .offer-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .course-slide {
    min-height: 600px;
  }
  
  .course-item {
    flex-direction: column;
  }
  
  .course-image {
    max-width: 100%;
    margin-bottom: 40px; /* Increased from 30px to 40px for better spacing on mobile */
  }
}

@media (max-width: 768px) {
  .offer-section,
  .rotating-courses-section {
    padding: 60px 0;
  }
  
  .course-slide {
    min-height: 700px;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .offer-text p,
  .course-info p {
    font-size: 1rem;
  }
  
  .course-info h3 {
    font-size: 1.6rem;
  }
  
  .course-slide {
    min-height: 800px;
  }
}

@media (max-width: 992px) {
  .course-item {
    flex-direction: column;
    gap: 20px;
  }
  
  .course-image {
    max-width: 100%;
    height: 250px;
    margin: 0 auto;
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .course-item {
    gap: 40px;
  }
  
  .course-image {
    max-width: 350px;
    height: 250px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 768px) {
  .course-item {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  
  .course-image {
    max-width: 100%;
    height: 220px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
  }
  
  .course-content {
    width: 100%;
    text-align: center;
  }
  
  .course-content h3 {
    font-size: 22px;
  }
  
  .slider-controls {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .course-image {
    height: 180px;
    margin: 0 auto 15px;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
  }
  
  .course-content h3 {
    font-size: 20px;
  }
  
  .course-details {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .course-detail {
    margin-right: 0;
  }
}

.course-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-content h3 {
  font-size: 24px;
  color: #1bffe4;
  margin-bottom: 15px;
}

.course-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.course-details {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.course-detail {
  margin-right: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.course-detail strong {
  margin-right: 5px;
  color: #1bffe4;
}

/* New GIF Container Styles */
.hero-gif-container {
  margin-top: 25px;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-gif {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-gif-container:hover .hero-gif {
  transform: scale(1.05);
}

/* Media queries for responsive GIF */
@media (max-width: 992px) {
  .hero-gif-container {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .hero-gif-container {
    max-width: 300px;
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .hero-gif-container {
    max-width: 250px;
  }
}

/* Keyframe Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
}



@media (max-width: 992px) {
  .offer-content {
    flex-direction: column;
  }
  
  .offer-text {
    max-width: 90%;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .offer-section,
  .rotating-courses-section {
    padding: 40px 0;
  }
  
  .offer-text {
    max-width: 95%;
    padding: 20px;
  }
  
  .offer-text p {
    font-size: 0.95rem;
  }
  
  .course-slide {
    padding: 0 10px;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .view-all-courses-container {
    margin-top: 20px;
  }
  
  .view-all-courses-btn {
    width: 100%;
    max-width: 250px;
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .offer-text p,
  .course-info p {
    font-size: 0.9rem;
  }
  
  .course-info h3 {
    font-size: 1.2rem;
  }
  
  .course-slide {
    margin-top: 20px;
  }
  
  .view-all-courses-btn {
    padding: 6px 15px;
    font-size: 0.85rem;
  }
}

/* Responsive styles for header background */
@media (max-width: 992px) {
  .sticky-header {
    padding: 10px 15px;
  }
  
  .header-background-image {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .sticky-header {
    padding: 8px 10px;
  }
  
  .logo-img {
    height: 55px;
  }
  
  .header-background-overlay {
    background: linear-gradient(to right, 
      rgba(3, 3, 4, 0.98) 0%,
      rgba(0, 0, 0, 0.95) 50%,
      rgba(4, 5, 6, 0.98) 100%);
  }
  
  .nav-links {
    gap: 10px;
  }
  
  .nav-links li a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .sticky-header {
    padding: 6px 8px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .header-background-image {
    opacity: 0.25;
  }
  
  .nav-links {
    gap: 5px;
  }
  
  .nav-links li a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }
}

/* Mobile menu toggle button - handled by mobile.css */

@media (max-width: 768px) {
  /* Mobile menu styles handled by mobile.css */
}

/* Body styles when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Add overlay when menu is open */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Responsive styles for footer background */
@media (max-width: 992px) {
  .footer-background::after {
    height: 200px;
  }
  
  .footer-container {
    padding: 15px;
  }
  
  .footer-section {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 50px;
  }
  
  .footer-background::after {
    height: 150px;
  }
  
  .footer-background-image {
    opacity: 0.2;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 40px;
  }
  
  .footer-background::after {
    height: 100px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section ul li a,
  .footer-section.contact-info p {
    font-size: 0.9rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Alternating left-right layout */
.course-box:nth-child(odd) {
  margin-right: auto;
  margin-left: 0;
}

.course-box:nth-child(even) {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 0;
}

.course-box:nth-child(even) .course-image-container {
  margin-right: 0;
  margin-left: 25px;
}

/* Enhanced hover effect for the box */
.course-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(15, 169, 217, 0.5);
  border-color: rgba(15, 169, 217, 1);
}

/* Zoom effect on image hover */
.course-box:hover .course-image-container img {
  transform: scale(1.1);
}

/* Responsive design for mobile */
@media (max-width: 992px) {
  .course-box, 
  .course-box:nth-child(odd),
  .course-box:nth-child(even) {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .course-box,
  .course-box:nth-child(even) {
    flex-direction: column;
    padding: 20px;
    border-radius: 25px;
    width: 100%;
  }

  .course-box:nth-child(even) .course-image-container {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .course-image-container {
    width: 100%;
    height: 200px;
    max-width: 220px;
    margin-right: 0;
    margin-bottom: 20px;
    margin-left: 0;
  }
  
  .course-content-container {
    width: 100%;
    text-align: center;
  }
  
  .box-buttons {
    justify-content: center;
  }
}

.course-content-container {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.course-content-container h2 {
  color: #0fa9d9;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(15, 169, 217, 0.3);
}

.course-content-container p {
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.box-buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.learn-more-btn, .register-button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1.05rem;
}

.learn-more-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(15, 169, 217, 0.7);
  box-shadow: 0 0 15px rgba(15, 169, 217, 0.2);
}

.register-button {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(198, 170, 101, 0.7);
  box-shadow: 0 0 15px rgba(198, 170, 101, 0.2);
  cursor: pointer;
}

.learn-more-btn:hover {
  transform: scale(1.05);
  border-color: rgba(15, 169, 217, 1);
  box-shadow: 0 0 20px rgba(15, 169, 217, 0.4);
  color: #0fa9d9;
}

.register-button:hover {
  transform: scale(1.05);
  border-color: rgba(198, 170, 101, 1);
  box-shadow: 0 0 20px rgba(198, 170, 101, 0.4);
  color: #c6aa65;
}



/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    padding: 40px 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .courses-grid, .overview-cards, .schedule-cards, .testimonial-cards, .team-gallery, .contact-container {
    flex-direction: column;
    align-items: center;
  }
}

.section-title {
    text-align: center;
}

body {
    background-color: #0d0d0d;
}

.footer {
    background-color: #0d0d0d;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;  /* Increased gap to maintain spacing */
    padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  text-align: left;
  position: relative;
  z-index: 5;
}

.footer-section h3 {
  color: #e6c163;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, rgba(198, 170, 101, 0.8), rgba(198, 170, 101, 0.2));
}

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

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

.footer-section ul li a {
  color: #f5f5f5;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section ul li a:hover {
  color: #e8bf59;
  padding-left: 5px;
}

.footer-section.contact-info {
  margin-right: 0;
}

.footer-section.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-section.contact-info a {
  color: #f7c548;
}

.footer-section.contact-info a:hover {
  color: #e8bf59;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;  /* Single column on mobile */
    }
    
    .course-card.invisible {
        display: none;  /* Remove spacing on mobile */
    }
}

/* Animated Learn More button */
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    background-color: #0FA9D9;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.learn-more-btn::after {
  content: "→";
  position: absolute;
  right: 10px;
  opacity: 0;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #0c8ab2;
  padding-right: 40px;
  box-shadow: 0 5px 15px rgba(12, 138, 178, 0.4);
}

.learn-more-btn:hover::after {
  opacity: 1;
  right: 20px;
}

.learn-more-btn:active {
  transform: scale(0.95);
}

/* Button text */
.learn-more-btn span {
    position: relative;
    z-index: 1;
}

/* Navigation arrow container */
.nav-arrow-container {
    text-align: center;
    margin: 5px auto 40px;  /* Reduced top margin from 60px to 20px */
    padding: 20px;
    max-width: 1200px;
}

/* Arrow box styling */
.nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 9, 23, 0.5);
    border: 1.5px solid rgba(15, 169, 217, 0.5);
    border-radius: 8px;
    padding: 15px 30px;
    text-decoration: none;
    color: #0FA9D9;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

/* Text styling */
.arrow-text {
    margin-right: 10px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* Arrow icon styling */
.arrow-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Hover effects */
.nav-arrow:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 169, 217, 1);
    box-shadow: 0 0 25px rgba(15, 169, 217, 0.2);
    background: rgba(2, 9, 23, 0.6);
}

.nav-arrow:hover .arrow-icon {
    transform: translateX(10px);
}

/* Gradient sweep animation */
.nav-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(15, 169, 217, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-arrow:hover::before {
    transform: translateX(100%);
}

/* Learn More button */
.box-buttons .learn-more-btn {
    background-color: #0FA9D9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative; /* Ensure relative positioning for pseudo-elements */
    overflow: hidden; /* Hide overflow to manage pseudo-elements */
}

/* Hide text and show animation on hover */
.box-buttons .learn-more-btn:hover span {
    visibility: hidden; /* Hide text */
}

.box-buttons .learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.75) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.box-buttons .learn-more-btn:hover::before {
    transform: translateX(0); /* Move gradient over button */
}

/* Adjustments for button text to ensure it's centered */
.box-buttons .learn-more-btn span {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.learn-more-btn:not(.course-info .learn-more-btn) {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background-color: #0FA9D9;   /* or your preferred color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* The "white-line sweep" effect uses a gradient sliding across */
.learn-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

/* On hover, the gradient slides in from left to right */
.learn-more-btn:hover::before {
  transform: translateX(0);
}


/* Additional Media Query for Portrait Orientation on Smart Phones */
@media (max-width: 768px) and (orientation: portrait) {
  /* Header & Navigation */
  .sticky-header {
    padding: 8px 10px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
  }

  

  @media (max-width: 768px) {
    /* Use relative positioning for the navbar to position the hamburger absolutely */
    .navbar {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center; /* centers the content (logo) horizontally */
    }
  
    /* Center the logo */
    .logo-link {
      display: inline-block;/* It's already inline-block; no extra adjustment needed if container is centered */
    }
  
    /* Position the hamburger icon to the right */
    .mobile-menu-toggle {
      position: absolute;
      left: 10px;  /* adjust spacing as needed */
      top: 50%;
      transform: translateY(-50%);
    }
  }

}

/* Additional Adjustments for Very Small Devices */
@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-catchphrase {
    font-size: 0.9rem;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }
  .register-button, .learn-more-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
}

/* Hamburger button base styles */
.mobile-menu-toggle {
  display: none; /* Hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
}

/* Hamburger lines */
.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background-color: #c6aa65;
  transition: 0.3s;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Show hamburger, hide nav links initially */
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #070e26;
    position: absolute;
    top: 100%;  /* Just below the header */
    left: 0;
    width: 100%;
    z-index: 999;
  }
  
  /* When active, show the menu */
  .nav-links.active {
    display: flex;
  }
  
  /* Style each link for touch targets */
  .nav-links li {
    margin: 0;
    text-align: center;
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  /* Override course detail image styles for mobile devices */
  .course-detail img.course-detail-img,
  main.course-detail .course-detail-img {
      width: 100% !important;
      max-width: 100% !important;
      padding: 0 !important;
      margin: 15px auto !important;
  }
}

@media (max-width: 768px) {
  .nav-arrow-container {
    margin-top: 3px !important; /* adjust value as needed */
  }
}

/* Desktop Navigation Styles */
@media (min-width: 769px) {
  /* Remove mobile-specific elements */
  .dropdown-toggle, .nav-item-split {
    display: none !important;
  }
  
  /* Desktop dropdown styling */
  .nav-links {
    display: flex;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    position: relative;
    margin: 0 15px;
  }
  
  /* Desktop menu items */
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
    transition: color 0.3s ease;
  }
  
  /* Desktop dropdown container */
  .has-dropdown {
    position: relative;
  }
  
  /* Desktop dropdown menu */
  .has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #0d0d0d;
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: none;
    overflow: visible;
    z-index: 100;
  }
  
  /* Show dropdown on hover for desktop */
  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Desktop dropdown items */
  .has-dropdown .dropdown-menu li {
    margin: 0;
    width: 100%;
  }
  
  .has-dropdown .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    display: block;
    color: #fff;
    font-size: 14px;
    transition: background-color 0.3s ease;
    opacity: 1;
    transform: none;
  }
  
  .has-dropdown .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Add dropdown indicator for desktop */
  .has-dropdown > a:after {
    content: "▼";
    font-size: 8px;
    margin-left: 6px;
    vertical-align: middle;
  }
}

/* Fix mobile-specific styles to ONLY apply at mobile sizes */
@media (max-width: 768px) {
  /* All mobile-specific styles */
  .nav-item-split,
  .dropdown-toggle,
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  /* Make sure desktop hover behavior doesn't affect mobile */
  .has-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    max-height: 0;
  }
  
  /* Only show dropdown when active class is applied */
  .has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  /* Show desktop link, hide mobile split version */
  .has-dropdown .desktop-link {
    display: inline-block !important;
  }
  
  .has-dropdown .nav-item-split {
    display: none !important;
  }
  
  /* Desktop dropdown styling */
  .has-dropdown {
    position: relative;
  }
  
  .has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #0d0d0d;
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }
  
  /* Show dropdown on hover for desktop */
  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Desktop dropdown indicator */
  .has-dropdown .desktop-link:after {
    content: "▼";
    font-size: 8px;
    margin-left: 6px;
    vertical-align: middle;
  }
}

/* Remove the dropdown arrow from desktop version */
@media (min-width: 769px) {
  /* Remove this rule entirely or comment it out */
  /* 
  .has-dropdown .desktop-link:after {
    content: "▼";
    font-size: 8px;
    margin-left: 6px;
    vertical-align: middle;
  }
  */
  
  /* Alternatively, you can set it to display none */
  .has-dropdown .desktop-link:after {
    display: none;
  }
}

/* Desktop Navigation Link Styling */
@media (min-width: 769px) {
  /* Base link styling */
  .nav-links li a, 
  .nav-links li .desktop-link {
    color: #12f5f1; /* Default text color - change this to your desired color */
    text-decoration: none;
    padding: 8px 16px; /* Adjust padding to change shape */
    display: inline-block;
    border-radius: 4px; /* Rounded corners - adjust or remove for different shapes */
    transition: all 0.3s ease;
  }
  
  /* Hover state */
  .nav-links li a:hover,
  .nav-links li .desktop-link:hover {
    color: #c7be62; /* Change to your desired hover text color */
    background-color: rgba(98, 100, 100, 0.715); /* Subtle background on hover */
  }
  
  /* Focus state - this controls the outline */
  .nav-links li a:focus,
  .nav-links li .desktop-link:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 2px #c7be62; /* Add custom outline/glow - change color as needed */
  }
  
  /* Active/current page indicator */
  .nav-links li a.active,
  .nav-links li .desktop-link.active {
    color: #c7be62; /* Active link color */
    font-weight: 600; /* Make active link slightly bolder */
  }
  
  /* Courses link specific styling - if needed */
  /*.has-dropdown .desktop-link {
    Any specific styles for the Courses link 
  }*/
}

/* Fix desktop navigation - completely hide dropdown menu */
@media (min-width: 769px) {
  /* Permanently hide the dropdown menu in desktop view */
  .has-dropdown .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  /* Remove any hover effects that might show the dropdown */
  .has-dropdown:hover .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }
  
  /* Remove the dropdown arrow indicator if present */
  .has-dropdown > a:after {
    display: none !important;
  }
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d0d0d;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-logo {
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  animation: pulse 2s infinite ease-in-out;
}



@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}



/* Loading screen when it's hidden */
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
  .learn-box-image {
    width: 90%;
    height: 80px;  /* Increase from the current height */
    margin-bottom: 20px;
    border-radius: 30px;
    overflow: hidden;
  }
  
  .feature-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: scale(1.02);  /* Slightly larger by default */
  }
}

@media (max-width: 480px) {
  .learn-box-image {
    height: 240px;  /* Even larger for smaller devices */
  }
  
  .feature-icon-image {
    transform: scale(1.05);  /* Slightly larger scale for smaller devices */
  }
}

/* Fix for rotating courses section on mobile */
@media (max-width: 768px) {
  /* Section container fixes */
  .rotating-courses-section {
    padding: 40px 15px !important;
    min-height: auto !important;
  }
  
  /* Course container fixes */
  .course-item {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 20px !important;
    background-color: rgba(15, 15, 15, 0.95) !important;
    border-radius: 15px !important;
    padding: 15px !important;
  }
  
  /* Image size fix - proper aspect ratio */
  .course-image {
    width: 100% !important;
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
  }
  
  .course-image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  
  /* Text content visibility fix */
  .course-info {
    position: relative !important;
    width: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    height: auto !important;
    z-index: 5 !important;
    flex: 1 !important;
  }
  
  /* Make sure the overlay isn't hiding content */
  .rotating-courses-background-overlay {
    z-index: 1 !important;
  }
  
  /* Fix slider container */
  .course-slide {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 10px !important;
  }
  
  /* Course slider container */
  .course-slider {
    margin-top: 20px !important;
  }
  
  /* Additional text visibility insurance */
  .course-info h3,
  .course-info p,
  .course-meta,
  .course-meta span {
    opacity: 1 !important;
    color: #ffffff !important;
    visibility: visible !important;
    display: block !important;
    position: static !important;
  }
  
  .course-info h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  
  .course-info p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }
  
  .course-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 10px 0 !important;
  }
  
  .course-meta span {
    font-size: 12px !important;
    padding: 4px 8px !important;
    background-color: rgba(198, 170, 101, 0.2) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(198, 170, 101, 0.3) !important;
  }
  
  .course-info .course-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 15px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .course-info .learn-more-btn,
  .course-info .enroll-now-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 100px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    text-align: center !important;
  }
}

/* Smaller mobile fixes */
@media (max-width: 480px) {
  /* Enhanced fixes for very small screens */
  .rotating-courses-section {
    padding: 30px 10px !important;
  }
  
  .course-item {
    margin: 0 0 20px 0 !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .course-image {
    height: 160px !important;
    max-height: 160px !important;
    min-height: 160px !important;
    margin-bottom: 12px !important;
  }
  
  /* Force content to be visible */
  .course-info {
    padding: 0 !important;
    background-color: transparent !important;
  }
  
  .course-info h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  
  .course-info p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
  
  .course-meta {
    gap: 6px !important;
    margin: 8px 0 !important;
  }
  
  .course-meta span {
    font-size: 11px !important;
    padding: 3px 6px !important;
  }
  
  .course-info .course-actions {
    gap: 8px !important;
    margin-top: 12px !important;
  }
  
  .course-info .learn-more-btn,
  .course-info .enroll-now-btn {
    padding: 6px 16px !important;
    font-size: 13px !important;
    min-width: 90px !important;
    text-align: center !important;
  }
  
  /* Clear any transforms that might be hiding content */
  .course-item, 
  .course-info,
  .course-image {
    transform: none !important;
    transition: none !important; /* Temporarily disable animations that might interfere */
  }
}

/* Additional override for slider element to ensure visibility */
@media (max-width: 768px) {
  #courseSlider .course-item,
  #courseSlider .course-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
    display: block !important;
    left: 0 !important;
    top: 0 !important;
  }
  
  /* Only show the active slide, hide others */
  #courseSlider .course-item:not(.active) {
    display: none !important;
  }
  
  /* Override min-height issues */
  .course-slide {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .rotating-courses-section {
    min-height: auto !important;
    height: auto !important;
  }
}

/* Mobile-only fixes - these won't affect desktop */
@media (max-width: 768px) {
  /* Image size adjustment for tablets */
  .course-image {
    height: 200px !important; /* Force height for tablets */
    width: 100% !important;
    border-radius: 10px;
  }
  
  .course-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  
  /* Timing tags spacing for tablets */
  .course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
  }
  
  .course-meta span {
    padding: 6px 10px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 20px;
  }
}

/* Small mobile phones specific adjustments */
@media (max-width: 480px) {
  /* Smaller image for phones */
  .course-image {
    height: 180px !important;
  }
  
  /* Slightly more compact timing tags for very small screens */
  .course-meta {
    gap: 8px;
  }
  
  .course-meta span {
    padding: 5px 8px;
    font-size: 0.85rem;
  }
}



/* Add iOS-specific media queries for the logo */
@supports (-webkit-touch-callout: none) {
  /* iOS specific styles */
  @media screen and (max-width: 767px) {
    .sticky-header .logo-img {
      height: 50px !important;
      width: auto !important;
      margin-left: 0 !important;
      margin-right: 15px !important;
      position: relative;
      z-index: 1001;
      order: 3 !important;
    }
    
    .sticky-header .logo-link {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 5px 0;
      position: absolute;
      top: 5px;
      right: -10px;
      order: 3;
    }
    
    .navbar {
      padding: 5px 10px;
      justify-content: space-between !important;
    }
    
    /* iPhone Safari specific fix for specialized.gif */
    .about-section .community-section .image-section {
      overflow: visible !important;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
      box-sizing: border-box !important;
      padding: 0 10px !important;
    }
    
    .about-section .community-section .image-section img {
      object-fit: contain !important;
      min-height: 200px !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      display: block !important;
      -webkit-animation-play-state: running !important;
      animation-play-state: running !important;
      box-sizing: border-box !important;
    }
  }
}

.about-section .vision-section img:hover {
  transform: scale(1.1);
}

/* Partnerships Section Styling */
.about-section .partnerships-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .partnerships-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
}

.about-section .partnerships-section .content-section {
    width: 60%;
    padding-right: 30px;
}

.about-section .partnerships-section h2 {
    color: #c6aa65;
    margin-bottom: 20px;
    font-size: 35px;
}

.about-section .partnerships-list {
    list-style: none;
    padding: 0;
}

.about-section .partnerships-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    text-align: justify;
    font-size: 17px;
}

.about-section .partnerships-list li strong {
    color: #c6aa65;
    display: block;
    margin-bottom: 5px;
    font-size: 19px;
}

.about-section .partnerships-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    background-color: #1ef8fc;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.about-section .partnerships-section .image-section {
    width: 40%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-section .partnerships-section img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    transform: rotate3d(0, 1, 0, 0deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
}

.about-section .partnerships-section img:hover {
    transform: rotate3d(0, 1, 0, 10deg);
}

/* Add these styles to your styles.css file */

/* Hero Buttons Container */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* For Mobile Devices */
@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
  }
  
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 80%;
    margin: 20px auto 0;
  }
  
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    width: 100%;
    text-align: center;
  }
}

/* Desktop-only button refinements */
@media (min-width: 769px) {
  /* Keep buttons on single line with equal widths */
  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
  }
  
  /* Make both buttons equal width but smaller */
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    flex: 1;
    display: block;
    padding: 10px 16px; /* Reduced padding for smaller size */
    text-align: center;
    font-size: 0.9rem; /* Smaller font size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 6px; /* Slightly smaller border radius */
  }
  
  /* Transparent background with gold accents */
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    background: transparent; /* Transparent background */
    color: #f8d568;
    border: 2px solid #f8d568;
  }
  
  /* Hover effects for both buttons */
  .hero-buttons .learn-more-btn:hover,
  .hero-buttons .register-button:hover {
    background: rgba(40, 40, 40, 0.3); /* Slight darkening on hover */
    color: #f9df8c;
    border-color: #f9df8c;
    transform: translateY(-2px);
  }
}

/* No changes to mobile version as requested */

/* Improved Hero Buttons for Desktop */
@media (min-width: 769px) {
  /* Keep current layout properties */
  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
  }
  
  /* Force both buttons to have exactly the same styling */
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    flex: 1;
    display: block;
    width: auto !important;
    padding: 10px 16px !important;
    text-align: center;
    font-size: 0.9rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 6px;
    
    /* Force override the styling for both buttons */
    background: transparent !important;
    color: #f8d568 !important;
    border: 2px solid #f8d568 !important;
    box-shadow: none !important;
  }
  
  /* Hover effects for both buttons */
  .hero-buttons .learn-more-btn:hover,
  .hero-buttons .register-button:hover {
    background: rgba(40, 40, 40, 0.3) !important;
    color: #f9df8c !important;
    border-color: #f9df8c !important;
    transform: translateY(-2px);
  }
  
  /* Override any custom ::before or ::after pseudo-elements */
  .hero-buttons .learn-more-btn::before,
  .hero-buttons .learn-more-btn::after {
    display: none !important;
  }
}

/* Updated Hero Buttons with Glow Effect - for Desktop Only */
@media (min-width: 769px) {
  /* Layout for the buttons container */
  .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
  }
  
  /* Shared styling for both buttons */
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    flex: 1;
    display: block;
    width: auto !important;
    padding: 10px 20px !important;
    text-align: center;
    font-size: 1rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 10px !important;
    
    /* Base styling - transparent with glowing border */
    background: transparent !important;
    color: #20c5d1 !important; /* Teal/cyan color matching border */
    border: 1px solid #20c5d1 !important; /* Teal/cyan border */
    box-shadow: 0 0 10px rgba(32, 197, 209, 0.5) !important; /* Glow effect */
  }
  
  /* Hover effect for both buttons */
  .hero-buttons .learn-more-btn:hover,
  .hero-buttons .register-button:hover {
    background: rgba(32, 197, 209, 0.1) !important; /* Slight background on hover */
    color: #20c5d1 !important;
    border-color: #20c5d1 !important;
    box-shadow: 0 0 15px rgba(32, 197, 209, 0.7) !important; /* Enhanced glow on hover */
    transform: translateY(-2px);
  }
  
  /* Disable any pseudo-elements that might interfere */
  .hero-buttons .learn-more-btn::before,
  .hero-buttons .learn-more-btn::after,
  .hero-buttons .register-button::before,
  .hero-buttons .register-button::after {
    display: none !important;
  }
}

/* Keep mobile styles untouched as requested */

/* Hero Buttons with Fixed Width and Matching Size - Desktop Only */
@media (min-width: 769px) {
  /* Container styles */
  .hero-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
  }
  
  /* Fixed width and identical sizing for both buttons */
  .hero-buttons .learn-more-btn,
  .hero-buttons .register-button {
    width: 300px !important; /* Fixed width for both buttons */
    height: 50px !important; /* Fixed height for both buttons */
    padding: 0 !important; /* Remove padding that might cause size differences */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-sizing: border-box !important; /* Ensure padding doesn't affect width */
    
    /* Styling */
    background: transparent !important;
    color: #c6aa65 !important;
    border: 1px solid #c7be62 !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(32, 197, 209, 0.5) !important;
    transition: all 0.3s ease !important;
  }
  
  /* Maintain identical hover effect */
  .hero-buttons .learn-more-btn:hover,
  .hero-buttons .register-button:hover {
    background: rgba(32, 197, 209, 0.1) !important;
    box-shadow: 0 0 15px rgba(32, 197, 209, 0.7) !important;
    transform: translateY(-2px) !important; /* Added !important to be consistent */
  }
  
  /* Remove any unwanted pseudo-elements */
  .hero-buttons .learn-more-btn::before,
  .hero-buttons .learn-more-btn::after,
  .hero-buttons .register-button::before,
  .hero-buttons .register-button::after {
    display: none !important;
  }
}

/* Mobile-only fix for Learn More button - making it transparent */
@media (max-width: 768px) {
  .hero-buttons .learn-more-btn {
    background: transparent !important;
    background-image: none !important; /* Remove any gradient */
    color: #20c5d1 !important;
    border: 2px solid #20c5d1 !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(32, 197, 209, 0.5) !important;
  }
  
  /* Ensure any pseudo-elements aren't adding background colors */
  .hero-buttons .learn-more-btn::before,
  .hero-buttons .learn-more-btn::after {
    background: transparent !important;
    background-image: none !important;
    opacity: 0 !important;
  }
}

/* Additional rule for even smaller screens */
@media (max-width: 480px) {
  .hero-buttons .learn-more-btn {
    background: transparent !important;
    background-image: none !important;
  }
}

/* Reduce gap above buttons on mobile devices */
@media (max-width: 768px) {
  .hero-buttons {
    margin-top: -50px !important;
    margin-bottom: 10px !important; /* Reduced from likely 30px or more */
  }
}

/* Even smaller gap for very small screens */
@media (max-width: 480px) {
  .hero-buttons {
    margin-top: -50px !important;
    margin-bottom: 15px !important; /* Further reduced for smallest screens */
  }
}

/* Mobile-specific fix for intro content box */
@media (max-width: 768px) {
  /* Prevent the intro content from changing on tap/hover */
  .intro-content {
    transition: none !important; /* Disable animation completely */
    transform: none !important; /* Ensure no transform happens */
  }
  
  /* Disable hover effects on the content box */
  .intro-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Prevent text from changing size on hover/tap */
  .intro-content:hover h2,
  .intro-content h2 {
    font-size: 1.5rem !important; /* Set fixed font size */
    transition: none !important;
  }
  
  .intro-content:hover p,
  .intro-content p {
    font-size: 0.9rem !important; /* Set fixed font size */
    transition: none !important;
  }
  
  /* Fix the learn more button specifically */
  .hero-buttons .learn-more-btn {
    -webkit-tap-highlight-color: transparent !important;
    transition: none !important;
  }
  
  /* Remove border animation */
  .intro-content::before {
    display: none !important;
  }
}

/* Desktop-only button refinements */
@media (min-width: 769px) {
  /* Keep current styles for Learn More button */
  .hero-buttons .learn-more-btn {
    background: transparent;
    color: #fadd85!important;
    border: 1px solid #f8d877!important;
  }
  
  /* Separate styles for Register button */
  .hero-buttons .register-button {
    background: transparent;
    color: #1aebd2!important;  /* Change to blue */
    border: 1px solid #11e0e3!important;  /* Change to blue */
  }
  
  /* Keep current hover effect for Learn More */
  .hero-buttons .learn-more-btn:hover {
    background: rgba(40, 40, 40, 0.3);
    color: #f9df8c;
    border-color: #f9df8c;
    transform: translateY(-2px);
  }
  
  /* Hover effect for Register button */
  .hero-buttons .register-button:hover {
    background: rgba(40, 40, 40, 0.3);
    color: #0FA9D9;
    border-color: #0FA9D9;
    transform: translateY(-2px);
  }
}


/* FAQ Section Styles */
.faq-section {
  padding: 80px 0;
  position: relative;
  background-color: #0d0d0d;
  overflow: hidden;
  z-index: 1;
}

/* Background Effects */
.faq-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.faq-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.faq-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.8) 5%,
      rgba(13, 13, 13, 0.4) 15%,
      rgba(13, 13, 13, 0.2) 25%,
      rgba(13, 13, 13, 0.2) 75%,
      rgba(13, 13, 13, 0.4) 85%,
      rgba(13, 13, 13, 0.8) 95%,
      #0d0d0d 100%
  );
  z-index: 2;
}

/* Wave effects */
.faq-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(0% 0%, 100% 0%, 100% 55%, 96% 53%, 92% 55%, 88% 52%, 84% 54%, 80% 51%, 76% 53%, 72% 50%, 68% 52%, 64% 49%, 60% 51%, 56% 48%, 52% 50%, 48% 47%, 44% 49%, 40% 46%, 36% 48%, 32% 45%, 28% 47%, 24% 44%, 20% 46%, 16% 43%, 12% 45%, 8% 42%, 4% 44%, 0% 41%);
}

.faq-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.7) 70%, #0d0d0d 100%);
  z-index: 3;
  clip-path: polygon(0% 45%, 4% 47%, 8% 45%, 12% 48%, 16% 46%, 20% 49%, 24% 47%, 28% 50%, 32% 48%, 36% 51%, 40% 49%, 44% 52%, 48% 50%, 52% 53%, 56% 51%, 60% 54%, 64% 52%, 68% 55%, 72% 53%, 76% 56%, 80% 54%, 84% 57%, 88% 55%, 92% 58%, 96% 56%, 100% 59%, 100% 100%, 0% 100%);
}

/* Main Container */
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

/* Header */
.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: 2.5rem;
  color: #c6aa65;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(198, 170, 101, 0.5);
  background: linear-gradient(45deg, #c6aa65, #e6c163, #c6aa65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s infinite;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  letter-spacing: 0.5px;
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Search Container */
.faq-search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 40px;
}

.faq-search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(198, 170, 101, 0.3);
  border-radius: 30px;
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: rgba(198, 170, 101, 0.8);
  box-shadow: 0 0 20px rgba(198, 170, 101, 0.2);
}

.faq-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #c6aa65;
  font-size: 1.2rem;
  pointer-events: none;
}

/* Categories */
.faq-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.faq-category {
  padding: 10px 25px;
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(15, 169, 217, 0.3);
  border-radius: 25px;
  color: #0FA9D9;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-category:hover {
  border-color: rgba(15, 169, 217, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(15, 169, 217, 0.2);
}

.faq-category.active {
  background: rgba(15, 169, 217, 0.2);
  border-color: rgba(15, 169, 217, 0.8);
  color: #ffffff;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Items */
.faq-item {
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid rgba(198, 170, 101, 0.2);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  border-color: rgba(198, 170, 101, 0.5);
  box-shadow: 0 8px 25px rgba(198, 170, 101, 0.15);
  transform: translateY(-3px);
}

.faq-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* FAQ Question */
.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(198, 170, 101, 0.05);
}

.faq-question h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

/* FAQ Icon */
.faq-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d0d0d;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.icon-plus,
.icon-minus {
  position: absolute;
  transition: all 0.3s ease;
}

.icon-minus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .icon-minus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq-item.active .faq-icon {
  background: linear-gradient(45deg, #0FA9D9, #05e4e0);
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  padding: 0 25px 25px 70px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
      padding: 60px 0;
  }
  
  .faq-container {
      padding: 0 15px;
  }
  
  .faq-header h2 {
      font-size: 2rem;
  }
  
  .faq-categories {
      gap: 10px;
      margin-bottom: 40px;
  }
  
  .faq-category {
      padding: 8px 15px;
      font-size: 0.85rem;
  }
  
  .faq-question {
      padding: 15px 20px;
      gap: 10px;
  }
  
  .faq-question h3 {
      font-size: 1rem;
  }
  
  .faq-icon {
      width: 25px;
      height: 25px;
      font-size: 1rem;
  }
  
  .faq-answer p {
      padding: 0 20px 20px 55px;
      font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq-header h2 {
      font-size: 1.8rem;
  }
  
  .faq-subtitle {
      font-size: 1rem;
      padding: 0 10px;
  }
  
  .faq-search-input {
      padding: 12px 40px 12px 15px;
      font-size: 0.9rem;
  }
  
  .search-icon {
      right: 15px;
      font-size: 1rem;
  }
  
  .faq-categories {
      justify-content: center;
  }
  
  .faq-category {
      padding: 6px 12px;
      font-size: 0.8rem;
  }
}


/* Enhanced Program Progression Styles - MERGED BACKGROUND */
/* Enhanced Program Progression Styles - WITH TOP & BOTTOM WAVE BLENDING */
.program-progression-section {
  padding: 80px 0;
  position: relative;
  background-image: url('../images/train.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  z-index: 1;
}

/* TOP wave blending effect - MODIFIED ::before */
.program-progression-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8000px; /* Height for top wave blending */
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.95) 0%,
    rgba(13, 13, 13, 0.8) 25%,
    rgba(13, 13, 13, 0.6) 50%,
    rgba(13, 13, 13, 0.3) 75%,
    rgba(13, 13, 13, 0) 100%
  );
  z-index: 2;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 41%,
    96% 43%,
    92% 41%,
    88% 44%,
    84% 42%,
    80% 45%,
    76% 43%,
    72% 46%,
    68% 44%,
    64% 47%,
    60% 45%,
    56% 48%,
    52% 46%,
    48% 49%,
    44% 47%,
    40% 50%,
    36% 48%,
    32% 51%,
    28% 49%,
    24% 52%,
    20% 50%,
    16% 53%,
    12% 51%,
    8% 54%,
    4% 52%,
    0% 55%
  );
  pointer-events: none;
}

/* Main gradient overlay - MOVED TO NEW PSEUDO ELEMENT */
.program-progression-section .main-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.7) 0%,
    rgba(13, 13, 13, 0.5) 15%,
    rgba(13, 13, 13, 0.3) 30%,
    rgba(13, 13, 13, 0.1) 50%,
    rgba(13, 13, 13, 0.3) 70%,
    rgba(13, 13, 13, 0.5) 85%,
    rgba(13, 13, 13, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Bottom wave blending effect - UNCHANGED */
.program-progression-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to top, 
    rgba(13, 13, 13, 0.95) 0%, 
    rgba(13, 13, 13, 0.8) 25%, 
    rgba(13, 13, 13, 0.6) 50%, 
    rgba(13, 13, 13, 0.3) 75%, 
    rgba(13, 13, 13, 0) 100%
  );
  z-index: 3;
  clip-path: polygon(
    0% 45%, 4% 47%, 8% 45%, 12% 48%, 16% 46%, 20% 49%, 24% 47%, 28% 50%, 32% 48%, 36% 51%, 40% 49%, 44% 52%, 48% 50%, 52% 53%, 56% 51%, 60% 54%, 64% 52%, 68% 55%, 72% 53%, 76% 56%, 80% 54%, 84% 57%, 88% 55%, 92% 58%, 96% 56%, 100% 59%, 100% 100%, 0% 100%
  );
  pointer-events: none;
}

/* Content container with highest z-index */
.progression-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* All your existing styles remain the same... */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #c6aa65;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Program Timeline */
.program-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.program-phase {
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid rgba(198, 170, 101, 0.3);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.program-phase:hover {
  border-color: rgba(198, 170, 101, 0.6);
  box-shadow: 0 10px 30px rgba(198, 170, 101, 0.2);
  transform: translateY(-5px);
}

.program-phase.current {
  border-color: rgba(15, 169, 217, 0.6);
  background: rgba(15, 169, 217, 0.05);
}

.program-phase.completed {
  border-color: rgba(0, 255, 0, 0.4);
  background: rgba(0, 255, 0, 0.05);
}

/* Phase Header */
.phase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.phase-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 170, 101, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(198, 170, 101, 0.3);
  flex-shrink: 0;
}

.phase-title {
  flex: 1;
  min-width: 250px;
}

.phase-title h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.3;
}

.phase-duration {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.phase-status {
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  color: #0d0d0d;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
}

/* Continue with all your existing styles... */

/* ENHANCED Mobile responsive adjustments */
@media (max-width: 768px) {
  .program-progression-section::before {
    height: 5000px; /* Smaller top wave for mobile */
  }
  
  .program-progression-section::after {
    height: 120px; /* Smaller bottom wave for mobile */
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .phase-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .phase-title {
    min-width: unset;
    width: 100%;
  }
  
  .phase-title h3 {
    font-size: 1.3rem;
  }
  
  .phase-duration {
    font-size: 0.85rem;
  }
  
  .phase-status {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .phase-content {
    gap: 20px;
  }
  
  .phase-description p {
    font-size: 1rem;
  }
  
  .phase-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .learning-modules h4,
  .career-outcomes h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .learning-modules li,
  .career-outcomes li {
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 18px;
  }
  
  .track-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .track-card {
    padding: 18px;
  }
  
  .track-card h4 {
    font-size: 1rem;
  }
  
  .track-card p {
    font-size: 0.85rem;
  }
  
  .outcome-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .outcome-item {
    padding: 12px;
  }
  
  .salary-range,
  .job-growth,
  .placement-rate {
    font-size: 1.3rem;
  }
  
  .program-benefits {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .program-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefit-item {
    padding: 18px;
  }
  
  .enrollment-section {
    padding: 30px 20px;
  }
  
  .enrollment-section h3 {
    font-size: 1.5rem;
  }
  
  .enrollment-section > p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .enrollment-options {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .primary-cta,
  .secondary-cta,
  .tertiary-cta {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .enrollment-stats {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .progression-arrow {
    margin: 15px 0;
  }
  
  .progression-text {
    position: static;
    margin-top: 10px;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .arrow-line {
    height: 30px;
  }
  
  .arrow-head {
    font-size: 1.2rem;
  }
  
  /* Enhanced Program Progression Mobile Highlighting Fixes */
  
  /* Disable problematic text selection on mobile */
  .program-progression-section,
  .progression-container,
  .program-phase {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Allow text selection only for readable content */
  .program-phase p,
  .phase-description p,
  .learning-modules li,
  .career-outcomes li {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }
  
  /* Remove default mobile highlighting on interactive elements */
  .program-phase,
  .phase-header,
  .phase-icon,
  .track-card,
  .overview-btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  
  /* Better touch targets for mobile */
  .program-phase {
    position: relative;
    touch-action: manipulation;
  }
  
  /* Fix any unwanted selection on touch */
  .program-phase::selection {
    background: transparent;
  }
  
  .program-phase::-moz-selection {
    background: transparent;
  }
  
  /* Prevent text selection on headers and icons */
  .phase-header,
  .phase-icon,
  .phase-status,
  .track-card h4 {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}

.program-phase.current {
  border-color: rgba(15, 169, 217, 0.6);
  background: rgba(15, 169, 217, 0.05);
}

.program-phase.completed {
  border-color: rgba(0, 255, 0, 0.4);
  background: rgba(0, 255, 0, 0.05);
}

/* Phase Header */
.phase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.phase-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 170, 101, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(198, 170, 101, 0.3);
}

.phase-title {
  flex: 1;
  min-width: 300px;
}

.phase-title h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.phase-duration {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.phase-status {
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  color: #0d0d0d;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* Phase Content */
.phase-content {
  display: grid;
  gap: 25px;
}

.phase-description p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.phase-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.learning-modules h4,
.career-outcomes h4 {
  color: #c6aa65;
  font-size: 1.1rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.learning-modules ul,
.career-outcomes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learning-modules li,
.career-outcomes li {
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.learning-modules li::before {
  content: "▶";
  color: #0FA9D9;
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

.career-outcomes li::before {
  content: "💼";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* Certification Badge */
.phase-certification {
  background: rgba(198, 170, 101, 0.1);
  border: 1px solid rgba(198, 170, 101, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.cert-badge {
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  color: #0d0d0d;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.phase-certification p {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0 0 0;
  font-size: 0.95rem;
}

/* Progression Arrow */
.progression-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 20px 0;
}

.arrow-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #c6aa65, #0FA9D9);
  border-radius: 2px;
}

.arrow-head {
  font-size: 1.5rem;
  color: #0FA9D9;
  margin-top: 5px;
}

.progression-text {
  position: absolute;
  right: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
}

/* Specialization Tracks */
.specialization-tracks {
  margin-top: 20px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.track-card {
  background: rgba(15, 169, 217, 0.1);
  border: 1px solid rgba(15, 169, 217, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.track-card:hover {
  border-color: rgba(15, 169, 217, 0.6);
  transform: translateY(-3px);
}

.track-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.track-card h4 {
  color: #0FA9D9;
  font-size: 1.1rem;
  margin: 0 0 10px 0;
}

.track-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.track-role {
  background: rgba(15, 169, 217, 0.2);
  color: #0FA9D9;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Career Outcomes Advanced */
.career-outcomes.advanced h4 {
  text-align: center;
  margin-bottom: 20px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.outcome-item {
  text-align: center;
  padding: 15px;
  background: rgba(198, 170, 101, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(198, 170, 101, 0.3);
}

.salary-range,
.job-growth,
.placement-rate {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #c6aa65;
  margin-bottom: 5px;
}

.role-type {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Program Benefits */
.program-benefits {
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid rgba(198, 170, 101, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.program-benefits h3 {
  color: #c6aa65;
  font-size: 1.8rem;
  text-align: center;
  margin: 0 0 30px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-item h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Enrollment Section */
.enrollment-section {
  background: linear-gradient(45deg, rgba(198, 170, 101, 0.1), rgba(15, 169, 217, 0.1));
  border: 1px solid rgba(198, 170, 101, 0.4);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.enrollment-section h3 {
  color: #c6aa65;
  font-size: 1.8rem;
  margin: 0 0 15px 0;
}

.enrollment-section > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.enrollment-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.primary-cta {
  background: linear-gradient(45deg, #c6aa65, #e6c163);
  color: #0d0d0d;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 170, 101, 0.3);
}

.secondary-cta {
  background: rgba(15, 169, 217, 0.2);
  color: #0FA9D9;
  border: 1px solid rgba(15, 169, 217, 0.5);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: rgba(15, 169, 217, 0.3);
  transform: translateY(-2px);
}

.tertiary-cta {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.tertiary-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.enrollment-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.enrollment-stats strong {
  color: #c6aa65;
}

/* Responsive Design */
@media (max-width: 768px) {
  .phase-details {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .track-grid {
      grid-template-columns: 1fr;
  }
  
  .outcome-grid {
      grid-template-columns: 1fr;
  }
  
  .benefits-grid {
      grid-template-columns: 1fr;
  }
  
  .enrollment-options {
      flex-direction: column;
      align-items: center;
  }
  
  .enrollment-stats {
      flex-direction: column;
      gap: 10px;
  }
  
  .phase-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
  }
  
  .phase-title {
      min-width: unset;
  }
  
  .progression-text {
      position: static;
      margin-top: 10px;
  }
}
/* Background Image Styles for Program Progression */
.progression-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.progression-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.progression-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.8) 5%,
      rgba(13, 13, 13, 0.4) 15%,
      rgba(13, 13, 13, 0.2) 25%,
      rgba(13, 13, 13, 0.2) 75%,
      rgba(13, 13, 13, 0.4) 85%,
      rgba(13, 13, 13, 0.8) 95%,
      #0d0d0d 100%
  );
  z-index: 2;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 992px) {
  .program-progression-section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .phase-title {
    min-width: 200px;
  }
  
  .track-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .program-progression-section {
    padding: 50px 0;
  }
  
  .program-progression-section::before {
    height: 4000px; /* Reduced top wave for mobile */
  }
  
  .program-progression-section::after {
    height: 100px; /* Reduced bottom wave for mobile */
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .program-timeline {
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .program-phase {
    padding: 25px 20px;
    border-radius: 15px;
  }
  
  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }
}

/* ===========================
SOCIAL MEDIA SECTION (Footer)
=========================== */

.social-media-section {
    text-align: center;
    margin-bottom: 30px;
}

.social-media-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.social-media-section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #ffd700;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-media-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(198, 170, 101, 0.1), rgba(15, 169, 217, 0.1));
    border: 2px solid rgba(198, 170, 101, 0.3);
    border-radius: 50%;
    color: #c6aa65;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-media-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(198, 170, 101, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-media-icons a:hover {
    transform: translateY(-3px);
    border-color: #c6aa65;
    color: #ffd700;
    box-shadow: 0 5px 15px rgba(198, 170, 101, 0.3);
}

.social-media-icons a:hover::before {
    left: 100%;
}

/* Platform-specific hover colors */
.social-media-icons a:hover .fa-linkedin-in {
    color: #0077b5;
}

.social-media-icons a:hover .fa-youtube {
    color: #ff0000;
}

.social-media-icons a:hover .fa-twitter {
    color: #1da1f2;
}

.social-media-icons a:hover .fa-instagram {
    color: #e4405f;
}

.social-media-icons a:hover .fa-facebook-f {
    color: #1877f2;
}

/* ===========================
   HACKER PANEL STYLES
=========================== */

/* Base Panel Styling */
.hero-right .hacker-panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: radial-gradient(1200px 600px at 20% -20%, rgba(15,169,217,0.12), transparent 50%),
              radial-gradient(800px 400px at 120% 120%, rgba(198,170,101,0.10), transparent 50%),
              rgba(13,13,13,0.9);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  isolation: isolate;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.hero-right .hacker-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Matrix Canvas */
.hero-right .matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* Accessibility: Hide animated canvas for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-right .matrix-canvas {
    display: none;
  }
  .hero-right .hacker-panel {
    background: rgba(13,13,13,0.95);
  }
}

/* Inner Container */
.hero-right .hacker-inner {
  position: relative;
  z-index: 1;
  padding: 18px;
}

/* Header Section */
.hero-right .hack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.hero-right .hack-emblem {
  color: #0fa9d9;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgba(15,169,217,0.3));
}

.hero-right .hack-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #c6aa65;
  font-size: 1.05rem;
  text-shadow: 0 0 10px rgba(198,170,101,0.3);
}

.hero-right .hack-status {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,136,0.6);
  color: #00ff88;
  background: rgba(0,255,136,0.08);
  text-shadow: 0 0 8px rgba(0,255,136,0.3);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* HUD Grid */
.hero-right .hack-hud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.hero-right .hud-block {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}

.hero-right .hud-block:hover {
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
}

.hero-right .hud-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.hero-right .hud-value {
  font-family: ui-monospace, 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Menlo', 'Consolas', monospace;
  color: #e9f9ff;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-right .hud-pill {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(198,170,101,0.55);
  color: #c6aa65;
  background: rgba(198,170,101,0.1);
}

/* Progress Bar */
.hero-right .hud-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.hero-right .bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,169,217,0.4);
  background: rgba(15,169,217,0.08);
  overflow: hidden;
  position: relative;
}

.hero-right .bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ff88, #0fa9d9);
  box-shadow: 0 0 10px rgba(15,169,217,0.5);
  transition: width 0.25s linear;
  position: relative;
}

.hero-right .bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.hero-right .bar-pct {
  font-size: 0.8rem;
  color: #a9ffdd;
  font-family: ui-monospace, 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Menlo', 'Consolas', monospace;
  justify-self: end;
  font-weight: 600;
}

/* Terminal */
.hero-right .hack-terminal {
  height: 220px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  padding: 10px;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  margin-bottom: 12px;
  position: relative;
}

.hero-right .hack-terminal::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), transparent);
  pointer-events: none;
}

.hero-right .term-lines {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.35;
  font-family: ui-monospace, 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Menlo', 'Consolas', monospace;
  color: #a6ff9e;
  text-shadow: 0 0 5px rgba(166,255,158,0.3);
}

/* Custom scrollbar for terminal */
.hero-right .hack-terminal::-webkit-scrollbar {
  width: 6px;
}

.hero-right .hack-terminal::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
}

.hero-right .hack-terminal::-webkit-scrollbar-thumb {
  background: rgba(0,255,136,0.4);
  border-radius: 3px;
}

.hero-right .hack-terminal::-webkit-scrollbar-thumb:hover {
  background: rgba(0,255,136,0.6);
}

/* Protocol chips */
.hero-right .hack-protos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-right .proto {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 8px;
  color: #d8e8f0;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}

.hero-right .proto:hover {
  border-color: rgba(15,169,217,0.4);
  background: rgba(15,169,217,0.1);
  transform: translateY(-1px);
}

/* Controls */
.hero-right .hack-ctrls {
  display: flex;
  gap: 10px;
}

.hero-right .hack-btn {
  appearance: none;
  border: 1px solid #0fa9d9;
  color: #0fa9d9;
  background: transparent;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-right .hack-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(15,169,217,0.2), transparent);
  transition: left 0.5s ease;
}

.hero-right .hack-btn:hover::before {
  left: 100%;
}

.hero-right .hack-btn:hover {
  border-color: #14eac0;
  color: #14eac0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,169,217,0.3);
}

.hero-right .hack-btn:active {
  transform: translateY(0);
}

.hero-right .hack-btn.ghost {
  border-color: rgba(255,255,255,0.25);
  color: #cfd9e5;
}

.hero-right .hack-btn.ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

/* ===========================
RESPONSIVE DESIGN
=========================== */

/* Desktop Enhancements */
@media (min-width: 1024px) {
  .hero-right .hacker-panel {
    max-width: 500%;
    width: 400%;
    margin: 0;
  }
  
  .hero-right .hacker-inner {
    padding: 20px;
  }
  
  .hero-right .hack-terminal {
    height: 400px;
  }
  
  /* Increase gap between left and right columns */
  .hero-container {
    gap: 80px;
  }
  
  /* Ensure left column has proper spacing */
  .hero-left {
    margin-right: 40px;
  }
  
  /* Match panel height with left column content */
  .hero-right .hacker-panel {
    min-height: 700px;
  }
  
  /* Optimize HUD layout for larger screens */
  .hero-right .hack-hud {
    gap: 20px;
    margin-bottom: 25px;
  }
  
  .hero-right .hud-block {
    padding: 20px;
  }
  
  /* Larger protocol chips for desktop */
  .hero-right .proto {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  
  /* Ensure maximum width usage on desktop */
  .hero-right {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  
  .hero-right .hacker-panel {
    flex: 1;
    width: 100%;
    max-width: none;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-right .hacker-panel {
    max-width: 100%;
    margin: 0 5px;
    border-radius: 15px;
  }
  
  .hero-right .hacker-inner {
    padding: 14px;
  }
  
  .hero-right .hack-hud {
    gap: 10px;
  }
  
  .hero-right .hack-terminal {
    height: 180px;
  }
  
  .hero-right .hack-ctrls {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .hero-right .hack-btn {
    flex: 1;
    min-width: 80px;
    max-width: 120px;
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .hero-right .hacker-panel {
    margin: 0 2px;
    border-radius: 12px;
  }
  
  .hero-right .hacker-inner {
    padding: 10px;
  }
  
  .hero-right .hack-hud {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .hero-right .hack-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .hero-right .hack-title {
    font-size: 0.95rem;
  }
  
  .hero-right .hack-terminal {
    height: 150px;
    padding: 6px;
  }
  
  .hero-right .term-lines {
    font-size: 0.85rem;
  }
  
  .hero-right .hack-protos {
    gap: 6px;
  }
  
  .hero-right .proto {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
  
  .hero-right .hack-ctrls {
    flex-direction: column;
    gap: 6px;
  }
  
  .hero-right .hack-btn {
    width: 100%;
    max-width: none;
    padding: 12px;
    text-align: center;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .hero-right .hacker-panel {
    margin: 0;
    border-radius: 8px;
  }
  
  .hero-right .hacker-inner {
    padding: 8px;
  }
  
  .hero-right .hack-terminal {
    height: 120px;
    padding: 5px;
  }
  
  .hero-right .hack-hud {
    gap: 6px;
  }
  
  .hero-right .hud-block {
    padding: 8px;
  }
}

/* Override any hero-right padding for mobile */
@media (max-width: 768px) {
  .hero-right {
    padding: 0 !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-right .term-lines {
    text-rendering: optimizeLegibility;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .hero-right .hacker-panel {
    border-color: rgba(255,255,255,0.08);
  }
}

/* Performance optimizations for animations */
.hero-right .hacker-panel * {
  will-change: auto;
}

.hero-right .bar-fill,
.hero-right .hack-status {
  will-change: width, opacity;
}
