

  /* Navigation buttons */
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    color: var(--text-secondary);
  }

  .nav-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
  }

  .nav-btn.prev {
    left: 10px;
  }

  .nav-btn.next {
    right: 10px;
  }

  /* Responsive design */
  @media (max-width: 768px) {
   
    
    h2 {
      font-size: 20px;
    }
    
    .logo-strip {
      gap: 16px;
      padding: 12px 24px;
    }
    
    .logo-box {
      padding: 12px 18px;
      border-radius: 12px;
    }
    
    .logo-box img {
      height: 28px;
    }
    
    .nav-btn {
      display: none;
    }
  }

  @media (max-width: 480px) {
    
    .logo-box {
      padding: 10px 16px;
      gap: 10px;
    }
    
    .logo-box img {
      height: 24px;
    }
    
    .logo-box span {
      font-size: 14px;
    }
  }
body {
   
    margin: 0;
    padding: 0;
}
.head {
    background-color: #000000;
    padding: 1px 0; /* thinner strip */
}
.head1 {
    list-style: none;
    display: flex;
    justify-content: left;
    gap: 30px;
    margin: 0;
    padding: 6px 20px; }
.head1 a {
    text-decoration: none;
    color: white;
    font-size: smaller;
    font-weight: normal;
}
.head1 a:hover {
    color: black;
    background-color: white;
    transition: 0.3s ease-in-out;
    padding: 5px 10px;
    border-radius: 5px;
}
@media (max-width: 480px) {
    .head{
        display: none;
    }
    
}

           nav {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    position: sticky;  /* ✅ Make it sticky */
    top: 0;            /* ✅ Stick to the top */
    z-index: 1000;     /* ✅ Ensure it stays above all content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
        .nav-left {
            font-size: 22px;
            font-weight: 700;
            color: #0406ae;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-left i {
            color: #0c0058;
        }

        .nav-center {
            position: relative;
        }

        .nav-center button {
            background: none;
            border: none;
            color: rgb(0, 0, 0);
            font-size: 16px;
            cursor: pointer;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 4px;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-center button:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            color: #000;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            padding: 25px;
            border-radius: 12px;
            width: 90vw;
            max-width: 1000px;
            z-index: 100;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            border-top: 4px solid #0033ff;
        }

        .dropdown-column h4 {
            margin-bottom: 15px;
            font-size: 16px;
            color: #1a1a2e;
            border-bottom: 2px solid #c9d0ff;
            display: inline-block;
            padding-bottom: 5px;
        }

        .dropdown-column a {
            display: block;
            text-decoration: none;
            color: #555;
            font-size: 14px;
            margin: 8px 0;
            transition: 0.2s;
            padding: 4px 0;
        }

        .dropdown-column a:hover {
            color: #2563eb;
            transform: translateX(5px);
        }

        .nav-center:hover .dropdown {
            display: grid;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .auth-buttons {
            display: flex;
            gap: 12px;
        }

        .login-btn, .signup-btn {
            padding: 8px 20px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }

        .login-btn {
            background: transparent;
            border: 1px solid white;
            color: #0026ff;
            font-weight: normal;
        }

        .login-btn:hover {
            background-color:rgb(0, 0, 148);
            color: white;
            transition: 0.3s ease-in-out;
        }

        .signup-btn {
            background-color: white;
            border: 1px solid #0004ff;
            color: #1a1a2e;
            font-weight: normal;
        }

        .signup-btn:hover {
            background-color: #000d84;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
        }

        .free-courses:hover {
            background-color: rgba(255, 215, 0, 0.1);
        }

        /* Mobile Toggle Button */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: rgb(0, 0, 0);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .mobile-toggle:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Left Side Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -70%;
            width: 70%;
            height: 100vh;
            background: linear-gradient(to bottom, #ffffff, #f0f8ff);
            z-index: 1000;
            box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
            transition: left 0.3s ease;
            overflow-y: auto;
            padding: 20px 0;
        }

        .mobile-menu.active {
            left: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 10px;
        }

        .mobile-menu-header .logo {
            font-size: 20px;
            font-weight: 700;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mobile-menu-header .logo i {
            color: #2563eb;
        }

        .mobile-close {
            background: none;
            border: none;
            font-size: 22px;
            color: #64748b;
            cursor: pointer;
            transition: color 0.3s;
        }

        .mobile-close:hover {
            color: #2563eb;
        }

        .mobile-menu-item {
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-menu-header-item {
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 500;
            color: #1a1a2e;
            transition: background-color 0.2s;
        }

        .mobile-menu-header-item:hover {
            background-color: #f1f5f9;
        }

        .mobile-menu-header-item i {
            transition: transform 0.3s;
            color: #64748b;
        }

        .mobile-menu-header-item.active i {
            transform: rotate(180deg);
            color: #2563eb;
        }

        .mobile-dropdown {
            background-color: #f8fafc;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-dropdown.active {
            max-height: 500px;
        }

        .mobile-dropdown a {
            display: block;
            padding: 12px 35px;
            color: #475569;
            text-decoration: none;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.2s;
            font-size: 14px;
        }

        .mobile-dropdown a:hover {
            background-color: #e0f2fe;
            color: #2563eb;
            padding-left: 40px;
        }

        .mobile-dropdown a i {
            margin-right: 10px;
            width: 18px;
            text-align: center;
            color: #64748b;
        }

        .mobile-auth {
            display: flex;
            padding: 20px;
            gap: 10px;
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-auth button {
            flex: 1;
            padding: 12px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            border: none;
        }

        .mobile-login {
            background: transparent;
            border: 1px solid #2563eb !important;
            color: #2563eb;
        }

        .mobile-login:hover {
            background-color: #dbeafe;
        }

        .mobile-signup {
            background-color: #2563eb;
            color: white;
        }

        .mobile-signup:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
        }

        .mobile-free {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #2563eb;
            font-weight: 600;
            padding: 15px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-free:hover {
            background-color: #f1f5f9;
        }

        .mobile-free i {
            font-size: 18px;
        }

        /* Overlay when mobile menu is open */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .overlay.active {
            display: block;
        }

        /* ---- Responsive ---- */
        @media (max-width: 1024px) {
            nav {
                padding: 12px 3%;
            }
            
            .dropdown {
                width: 95vw;
                gap: 20px;
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            
            .nav-center, .nav-right {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .dropdown {
                grid-template-columns: 1fr;
            }
            
            .mobile-auth {
                flex-direction: column;
            }
        }
          /* === Responsive Preloader === */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    #preloader.fade-out {
      opacity: 0;
      visibility: hidden;
    }

    #preloader h1 {
      color: #012250;
      letter-spacing: 2px;
      text-align: center;
      animation: fadeText 2s ease-in-out infinite alternate;
      font-size: clamp(1.8rem, 6vw, 3rem); /* responsive text size */
    }

    @keyframes fadeText {
      0% { opacity: 1; transform: scale(1); }
      100% { opacity: 0.6; transform: scale(1.05); }
    }

    /* Optional loader circle below text */
    .loader-circle {
      margin-top: 25px;
      width: 40px;
      height: 40px;
      border: 4px solid #142a9b;
      border-top: 4px solid transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    * {
            font-family: "Poppins";
        }
    .carousel-wrapper {
      position: relative;
      overflow: hidden;
      padding: 10px 10px;
      margin: 0 auto;
    }

    .carousel-container {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 0 20px;
      scroll-snap-type: x mandatory;
    }

    .carousel-container::-webkit-scrollbar {
      display: none;
    }

    .card {
      flex: 0 0 calc(50% - 10px);
      border-radius: 20px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      display: flex;
      padding: 15px;
      scroll-snap-align: start;
      min-width: 0;
      transition: transform 0.3s, box-shadow 0.3s;
      overflow: hidden; /* Added to ensure no overflow from image */
      position: relative; /* Added for mobile background image */
    }

    /* Card 1 - Green */
    .card:nth-child(1) {
      background: linear-gradient(135deg,  #f3f0e3);
    }

    /* Card 2 - Blue */
    .card:nth-child(2) {
      background: linear-gradient(135deg, #0B1D51);
      color: white;
    }

    /* Card 3 - Purple */
    .card:nth-child(3) {
      background: linear-gradient(135deg, #e4f2fb);
    }
    
    /* Card 4 - Orange */
    .card:nth-child(4) {
      background: linear-gradient(135deg, #17313E);
    }

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

    .card-content {
    
      margin-right: 2px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative; /* Added for z-index */
      z-index: 2; /* Added to ensure content stays above background */
    }

    .card h2 {
      font-size: 1.4rem;
      color: #002855;
      margin-bottom: 10px;
      font-weight: 400;
    }

    .card p {
      color: #555;
      line-height: 1.6;
      margin-bottom: 20px;
      font-size: 0.9rem;
    }

    .card button {
      background: #0056d2;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      font-weight: 500;
      cursor: pointer;
     
      transition: 0.3s;
      font-size: 0.9rem;
      align-self: flex-start;
    }

    .card button:hover {
      background: #003d99;
    }

    .card-image {
      width: 40%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: -25px; /* Negative margin to extend image to edges */
      margin-left: 0; /* Reset left margin */
    }

    .card img {
      width: 100%;
      height: 100%; /* Changed to 100% to fill container */
      object-fit: cover;
      border-radius: 0 12px 12px 0; /* Only round right corners */
    }

    /* Mobile background images - SINGLE CARD VIEW */
  /* Mobile background images - SINGLE CARD VIEW with overlay */
@media (max-width: 768px) {
  .card {
    flex: 0 0 calc(100% - 30px) !important;
    min-width: calc(100% - 30px) !important;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    min-height: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin: 0 5px;
  }

  /* Set images as background with dark overlay */
  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    opacity: 0.8; /* Slightly transparent overlay */
    filter: brightness(0.7); /* Dark overlay for readability */
  }

  .card:nth-child(1)::before { background-image: url('../images/2.png'); }
  .card:nth-child(2)::before { background-image: url('../images/1.png'); }
  .card:nth-child(3)::before { background-image: url('../images/3.png'); }
  .card:nth-child(4)::before { background-image: url('../images/4.png'); }

  .card-image {
    display: none; /* Hide original right-side image */
  }

  .card-content {
    margin: 0;
    padding: 25px;
    color: white; /* Text visible over dark overlay */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  .card h2, .card p {
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  
  }
}

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .card {
        flex: 0 0 calc(50% - 12px);
      }
    }

    @media (max-width: 600px) {
      .card {
        min-height: 280px;
      }
      
      .card h2 {
        font-size: 1.3rem;
      }
      
      .card-content {
        padding: 20px;
        padding-top: 0px;
      }
       .card button  {
        margin-top: 0px;
       }
    }

    /* Navigation buttons */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      font-size: 22px;
      color: #003d99;
      z-index: 10;
      transition: 0.3s;
    }

    .nav-btn:hover {
      background: #003d99;
      color: white;
    }

    .prev { left: 0; }
    .next { right: 0; }
    
    .carousel-title {
      text-align: center;
      font-size: 2rem;
      color: #002855;
      margin-bottom: 10px;
    }
    
    .carousel-subtitle {
      text-align: center;
      color: #666;
      margin-bottom: 30px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Mobile indicators */
    .carousel-indicators {
      display: none;
      justify-content: center;
      gap: 8px;
      margin-top: 15px;
    }
    
    .indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #ccc;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    
    .indicator.active {
      background-color: #0056d2;
    }
    
    @media (max-width: 768px) {
      .carousel-indicators {
        display: flex;
      }
    }
     h1.o-level-title { 
      text-align: center;
      margin-top: 32px;
      margin-bottom: 8px;
      font-size: 28px;
     }
    p.o-level-subtitle { 
      text-align: center;
       color: #707070; 
       font-size: 15px;
      margin-bottom: 20px; }
    
    .o-level-pricing { 
      display: flex; 
      justify-content: center; 
      gap: 25px; 
      flex-wrap: wrap; 
      max-width: 1100px; 
      margin: auto; 
    }

    .o-level-card { 
      background: #fff; 
      border-radius: 20px; 
      box-shadow: 0 8px 20px rgba(0,0,0,0.05); 
      width: 320px; 
      padding: 30px; 
      transition: all 0.3s ease; 
      border: 2px solid transparent; 
    }

    .o-level-card:hover { transform: translateY(-5px); border-color: #c3d0ff; }
    .o-level-card.o-level-best { background: linear-gradient(145deg, #edf3ff, #fff); border: 2px solid #c3d0ff; }

    .o-level-plan-title { font-size: 22px; font-weight: 600; margin-bottom: 5px; }
    .o-level-plan-subtitle { color: #6b6b6b; font-size: 14px; margin-bottom: 15px; }
    .o-level-price { font-size: 26px; font-weight: 700; margin: 15px 0; }

    .o-level-btn { 
      background: #4a63ff; 
      color: #fff; 
      border: none; 
      padding: 12px 20px; 
      border-radius: 10px; 
      font-size: 15px; 
      cursor: pointer; 
      width: 100%; 
      transition: 0.3s; 
    }
    .o-level-btn:hover { background: #324ae0; }

    .o-level-features { list-style: none; padding: 0; margin-top: 20px; }
    .o-level-features li { 
      margin: 8px 0; 
      font-size: 14px; 
      color: #4b4b4b; 
      display: flex; 
      align-items: center; 
    }

    .o-level-features li::before { 
      content: "✔"; 
      color: #4a63ff; 
      font-weight: bold; 
      margin-right: 8px; 
    }

    .o-level-features li.o-level-cut { color: #a0a0a0; }
    .o-level-features li.o-level-cut::before { content: ""; color: #ff4c4c; font-weight: bold; }

    @media (max-width: 768px) { 
      .o-level-pricing { flex-direction: column; align-items: center; } 
      .o-level-card { width: 100%; max-width: 370px; } 
       h1.o-level-title { font-size: 18px;}
    }
    :root {
  --primary-white: #ffffff;
  --secondary-white: #f8f9fa;
  --primary-blue: #1e40af;
  --light-blue: #3b82f6;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-light: #e5e7eb;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--secondary-white);
  color: var(--text-dark);
  line-height: 1.6;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
  color: var(--primary-white);
  padding: 2rem 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.courses-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.course-card {
  background-color: var(--primary-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.course-image-container {
  position: relative;
  height: 140px;
  overflow: hidden;
}

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

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

.course-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--accent-color);
  color: var(--primary-white);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

.course-videos {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0.25rem 0 0.75rem;
}

.course-description {
  color: var(--text-light);
  font-size: 0.8rem;
  
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn {
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  width: 100%;
}

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

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

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

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--primary-white);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-medium);
  animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
  padding: 1.25rem 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-body {
  padding: 1.25rem;
}

.modal-description {
  margin-bottom: 1.25rem;
}

.modal-features {
  margin-bottom: 1.25rem;
}

.modal-features-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.modal-features-list {
  list-style-type: none;
}

.modal-feature-item {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.modal-feature-item::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
  flex-shrink: 0;
}

.modal-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  .page-header {
    padding: 3rem 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .courses-container {
    padding: 0 1.5rem 3rem;
  }
  
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .course-image-container {
    height: 180px;
  }
  
  .course-type-badge {
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .course-content {
    padding: 1.5rem;
  }
  
  .course-title {
    font-size: 1.25rem;
  }
  
  .course-meta {
    font-size: 0.875rem;
  }
  
  .course-videos {
    gap: 0.5rem;
  }
  
  .course-price {
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
  }
  
  .course-description {
    font-size: 0.9rem;
  
  }
  
  .course-actions {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: auto;
    flex: 1;
  }
  
  .modal-content {
    max-width: 600px;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 0;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-feature-item {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  
  .modal-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}