/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

.elementor-kit-12 {
  --e-global-color-primary: #0b1f3a;     /* bg */
  --e-global-color-secondary: #0f2d57;  /* bg-2 */
  --e-global-color-text: #e9f2ff;       /* ink */
  --e-global-color-accent: #ff9f1c;     /* accent */
  --e-global-color-308e809: #ff9f1c;    /* accent-2 */
  --e-global-color-a291686: #2a9d8f;    /* success */
  --e-global-color-9eaa092: #c7d7f2;    /* muted */
  --e-global-color-a954db2: #102849;    /* card */
  --e-global-color-651faef: #ffffff;    /* white */
  --e-global-color-2db06a9: #00000000;  /* transparent */
  --e-global-color-f2fe829: #0b1f3a;    /* reused bg for consistency */
}



/* Page with Courses Sidebar Styles */
.page-with-sidebar {
  min-height: 100vh;
}

/* Hero Section */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
}


.page-title {
  color: var(--e-global-color-text);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
  color: var(--e-global-color-9eaa092);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Layout */
.page-content {
  padding: 4rem 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.main-content {
  background: var(--e-global-color-a954db2);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.content-inner {
  color: var(--e-global-color-text);
}

.entry-content {
  line-height: 1.7;
}

.entry-content h2 {
  color: var(--e-global-color-text);
  margin: 2rem 0 1rem 0;
  font-size: 1.75rem;
}

.entry-content h3 {
  color: var(--e-global-color-9eaa092);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.5rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content a {
  color: var(--e-global-color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-content a:hover {
  color: var(--e-global-color-308e809);
}

/* Courses Sidebar */
.courses-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-sticky {
  background: var(--e-global-color-a954db2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  background: var(--e-global-color-primary);
  padding: 1.5rem;
  border-bottom: 2px solid var(--e-global-color-accent);
}

.sidebar-title {
  color: #fff!important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.search-courses {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--e-global-color-secondary);
  border-radius: 6px;
  background: var(--e-global-color-a954db2);
  color: var(--e-global-color-text);
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: var(--e-global-color-9eaa092);
}

.search-input:focus {
  outline: none;
  border-color: var(--e-global-color-accent);
  box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.2);
}

.search-btn {
  padding: 0.75rem;
  background: var(--e-global-color-accent);
  border: none;
  border-radius: 6px;
  color: var(--e-global-color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--e-global-color-308e809);
  transform: translateY(-1px);
}

/* Courses List */
.courses-list {
  max-height: 600px;
  overflow-y: auto;
  padding: 1rem;
}

.course-sidebar-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--e-global-color-secondary);
}

.course-sidebar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 159, 28, 0.15);
  border-color: var(--e-global-color-accent);
}

.course-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.course-thumbnail {
  position: relative;
  height: 120px;
  overflow: hidden;
}

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

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

.course-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(11, 31, 58, 0.8) 100%);
}

.course-info {
  padding: 1rem;
  background: var(--e-global-color-a954db2);
}

.course-title {
  color: #fff!important;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #fff!important;
}

.meta-icon {
  font-size: 0.7rem;
}

.course-fees {
  color: #fff!important;
  font-weight: 600;
  font-size: 0.9rem;
}

.no-courses {
  text-align: center;
  color: #fff!important;
  padding: 2rem;
  font-style: italic;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 1.5rem;
  background: var(--e-global-color-primary);
  border-top: 1px solid var(--e-global-color-secondary);
}

.view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--e-global-color-accent);
  color: #fff!important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.view-all-btn:hover {
  background: var(--e-global-color-308e809);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
  color: var(--e-global-color-primary);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 50vh;
    min-height: 300px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .page-content {
    padding: 2rem 0;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-content {
    padding: 1.5rem;
  }
  
  .courses-sidebar {
    position: static;
  }
  
  .courses-list {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 40vh;
    min-height: 250px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .sidebar-header {
    padding: 1rem;
  }
  
  .course-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Scrollbar Styling */
.courses-list::-webkit-scrollbar {
  width: 6px;
}

.courses-list::-webkit-scrollbar-track {
  background: var(--e-global-color-secondary);
  border-radius: 3px;
}

.courses-list::-webkit-scrollbar-thumb {
  background: var(--e-global-color-accent);
  border-radius: 3px;
}

.courses-list::-webkit-scrollbar-thumb:hover {
  background: var(--e-global-color-308e809);
}