/* 🔍 Search Box Wrapper */
.search-box {
  justify-content: center;
}

.search-wrapper {
  position: relative;
  width: 280px;
  transition: all 0.3s ease;
}

.search-wrapper i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1.1rem;
  pointer-events: none;
}

/* ✏️ Input Style */
.search-input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 10px 18px 10px 40px;
  background: #f8f9fa;
  box-shadow: inset 0 0 0 1px #ddd;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

/* ✨ Focus Effect */
.search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #007bff20, 0 4px 12px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* 🌈 Hover Glow */
.search-wrapper:hover .search-input {
  box-shadow: 0 0 0 2px #007bff20, 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .search-wrapper {
    width: 100%;
  }

  .search-input {
    font-size: 0.9rem;
    padding: 10px 18px 10px 38px;
  }
}

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

        background: linear-gradient(
            to right,
            rgba(213, 224, 241, 0.6) 0%,
            rgba(240, 241, 242, 0.4) 50%,
            rgba(40, 116, 240, 0) 55%,
            rgba(40, 116, 240, 0) 100%
        );
        z-index: 1;
    }


    .hero-overlay::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 650px;
      padding: 3rem;
      color: #fff;
      animation: fadeUp 1s ease forwards;
    }

    .hero-content h1 {
      font-weight: 800;
      font-size: 2.5rem;
      min-height: 100px;
      margin-bottom: 1rem;
    }

    .typed-text {
      color: #3e3c3c;
      border-right: 3px solid #fff;
      white-space: nowrap;
      overflow: hidden;
      display: inline-block;
    }

    .hero-content p {
      font-size: 1rem;
      color: #423b3b;
      margin-top: 1rem;
      opacity: 0;
      animation: fadeIn 2s ease 1s forwards;
    }

    .btn-course {
      background-color: #fff;
      color: #2874f0;
      padding: 0.75rem 2rem;
      border-radius: 2rem;
      font-weight: 600;
      transition: all 0.3s ease;
      opacity: 0;
      animation: fadeIn 2s ease 1.5s forwards;
    }

    .btn-course:hover {
      background-color: #f4f4f4;
    }

    .navbar {
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .navbar-brand img {
      height: 55px;
    }

    .search-box {
      max-width: 350px;
    }

    .search-box input {
      border-radius: 50px;
    }

    .btn-login {
      background-color: #2874f0;
      color: #fff !important;
      border-radius: 30px;
      padding: 0.5rem 1.5rem;
    }

    .btn-login:hover {
      background-color: #1a5fd0;
    }

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

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

    @media (max-width: 767px) {
      .hero-section {
        height: 90vh;
      }
      .hero-content h1 {
        font-size: 1.8rem;
      }
      .hero-content {
        padding: 2rem 1.5rem;
      }
      .hero-overlay::before,
      .hero-overlay::after {
        width: 100%;
      }
    }


    .offer-section {
        background-color: #fff;
    }

    .offer-section h2 {
        color: #0b0b61;
        font-weight: 700;
    }

    .offer-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        padding: 2rem 1.5rem;
        transition: all 0.4s ease;
        height: 100%;
        animation: fadeInUp 1s ease forwards;
        opacity: 0;
    }

    .offer-card i {
        font-size: 2.2rem;
        color: #2874f0;
        margin-bottom: 1rem;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .offer-card h5 {
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .offer-card p {
        color: #555;
        font-size: 0.95rem;
    }

    .offer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(40, 116, 240, 0.15);
    }

    .offer-card:hover i {
        transform: scale(1.2) rotate(5deg);
        color: #1a5fd0;
    }

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


        .offer-card:nth-child(1) { animation-delay: 0.2s; }
        .offer-card:nth-child(2) { animation-delay: 0.4s; }
        .offer-card:nth-child(3) { animation-delay: 0.6s; }
        .offer-card:nth-child(4) { animation-delay: 0.8s; }
        .offer-card:nth-child(5) { animation-delay: 1s; }
        .offer-card:nth-child(6) { animation-delay: 1.2s; }


    @media (max-width: 767px) {
        .offer-card {
            padding: 1.5rem;
        }
        .offer-card i {
            font-size: 1.8rem;
        }
    }




    .middle-banner {
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        max-width: 900px;
        text-align: center;
    }

    .middle-banner img {
        width: 100%;
        height: auto;
        border-radius: 1rem;
        object-fit: cover;
    }

    .banner-text-box {
        position: absolute;
        bottom: 20px;
        left: 35%;
        transform: translateX(-50%);
        background: rgba(179, 172, 172, 0.55);
        color: #fff;
        padding: 20px;
        border-radius: 12px;
        max-width: 80%;
        text-align: left;
    }


        .banner-text-box h5 {
        font-weight: 700;
        margin-bottom: 8px;
        font-size: 1.50rem;
    }



    @media (max-width: 576px) {
        .banner-text-box {
            position: static;
            transform: none;
            margin-top: 15px;
            max-width: 100%;
            text-align: center;
        }
    }

    .course-card {
      border: none;
      border-radius: 1rem;
      transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    }
    .course-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .course-img {
      border-radius: 1rem 1rem 0 0;
      object-fit: cover;
      height: 220px;
    }
    .btn-custom {
      background: #007bff;
      color: #fff;
      font-weight: 600;
      border-radius: 30px;
      padding: 10px 25px;
      transition: all 0.3s ease-in-out;
    }
    .btn-custom:hover {
      background: #0056b3;
      transform: scale(1.05);
    }



    .learning-section {
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 60px 5%;
        flex-wrap: wrap;
    }

    .image-wrapper {
        position: relative;
        display: flex;
        gap: 60px;
        transition: all 0.8s ease;
    }

    .phone {
        width: 300px;
        transition: all 0.8s ease;
        border-radius: 20px;
    }

    .phone-left {
        z-index: 2;
        transform: translateX(0) translateY(0);
    }
    .phone-right {
        z-index: 1;
        transform: translateX(0) translateY(0);
    }

    .content {
        max-width: 450px;
        text-align: left;
    }

    .content h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .content p {
        font-size: 1.1rem;
        color: #444;
        margin-bottom: 20px;
        font-style: italic;
    }

    .store-buttons {
        display: flex;
        gap: 15px;
    }

    .store-buttons img {
        width: 150px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .store-buttons img:hover {
        transform: scale(1.05);
    }


    .image-wrapper.scrolled {
        gap: 0px;
    }

    .image-wrapper.scrolled .phone-left {
        transform: translateX(60px) translateY(30px) scale(1.1);
        z-index: 3;
    }

    .image-wrapper.scrolled .phone-right {
        transform: translateX(-60px) translateY(0px) scale(1.05);
        z-index: 1;
    }


    @media (max-width: 900px) {
        .learning-section {
            flex-direction: column;
            text-align: center;
            gap: 60px;
        }

        .image-wrapper {
            justify-content: center;
            gap: 20px;
        }

        .phone {
            width: 230px;
        }

        .content h2 {
            font-size: 1.8rem;
        }
    }

  .hero-sectionss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 80px 5%;
    background: linear-gradient(0deg, rgb(244, 74, 9), rgb(255, 121, 7));
    position: relative;
    overflow: hidden;
  }

  .hero-contents {
    z-index: 2;
    flex: 1;
    animation: fadeInUp 1.2s ease-out forwards;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    color: #007bff;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin-bottom: 30px;
  }

  .quote-btn {
    background: #007bff;
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
  }

  .quote-btn:hover {
    background: #0056b3;
    transform: translateY(-3px);
  }

  .hero-imagesss {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.4s ease-out forwards;
  }

  .phones {
    position: absolute;
    width: 220px;
    max-width: 40%;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  }

  .phone-1s {
    transform: rotate(-10deg);
    left: 10%;
    animation: float 4s ease-in-out infinite;
  }

  .phone-2s {
    z-index: 3;
    transform: scale(1.1);
    animation: float 4s ease-in-out infinite 1s;
  }

  .phone-3s {
    transform: rotate(10deg);
    right: 10%;
    animation: float 4s ease-in-out infinite 2s;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--angle, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--angle, 0deg)); }
  }

  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  @media (max-width: 992px) {
    .hero-sectionss {
      flex-direction: column-reverse;
      text-align: center;
      padding: 60px 20px;
    }

    .hero-title {
      font-size: 2.5rem;
    }

    .phones {
      position: relative;
      width: 150px;
      margin: 0 10px;
    }

    .hero-imagesss {
      margin-bottom: 40px;
    }
  }

  @media (max-width: 576px) {
    .hero-title {
      font-size: 2rem;
    }

    .quote-btn {
      padding: 12px 26px;
      font-size: 0.9rem;
    }

    .hero-subtitle {
      font-size: 1rem;
    }
  }


    .toast-container {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 1055;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
    }

    .custom-toast {
      display: flex;
      align-items: flex-start;
      background: #333;
      color: #fff;
      border-radius: 8px;
      padding: 15px 20px;
      width: 320px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      animation: fadeIn 0.4s ease, fadeOut 0.5s ease 4.5s forwards;
      position: relative;
      overflow: hidden;
    }

    .toast-icon {
      background: #1976d2;
      color: white;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      margin-right: 10px;
      flex-shrink: 0;
    }

    .toast-content {
      flex: 1;
    }

    .toast-content strong {
      color: #fff;
      font-weight: 600;
    }

    .toast-content small {
      display: block;
      color: #bbb;
      font-size: 0.85rem;
      margin-top: 5px;
    }

    .toast-close {
      background: transparent;
      border: none;
      color: #fff;
      font-size: 1.2rem;
      cursor: pointer;
      margin-left: 10px;
      opacity: 0.8;
    }

    .toast-close:hover {
      opacity: 1;
    }

    .toast-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 4px;
      background: linear-gradient(90deg, #ff6a00, #ff1493);
      animation: progress 5s linear forwards;
    }

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

    @keyframes fadeOut {
      to { opacity: 0; transform: translateY(20px); }
    }

    @keyframes progress {
      from { width: 100%; }
      to { width: 0%; }
    }

    .price {
      font-size: 1.2rem;
    }

    .old-price {
      text-decoration: line-through;
      color: #999;
      margin-right: 8px;
    }

    .new-price {
      color: #1735a0;
      font-weight: 700;
      transition: color 0.3s ease;
    }

    .new-price:hover {
      color: #ff4d6d;
    }

    .color-aqua {
      color: rgb(10, 158, 158);
      font-weight: 600;
      font-size: 1.1rem;
    }

  .form-select {
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
  }

  .form-select:hover {
    background-color: #f0f8ff;
    border-color: #0d6efd;
  }

  .img-fluid{
    width: 50%;
  }

  .membership-plans {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-card {
  position: relative;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1rem 1.25rem 1rem 2.5rem;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.plan-card::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
}

.plan-input:checked ~ .plan-content::before,
.plan-card.active::before {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}


.plan-input {
  display: none;
}

.plan-card.active {
  border: 2px solid #0d6efd;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.plan-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
}

.plan-price {
  font-size: 1.25rem;
}

.old-price {
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 5px;
}

@media (max-width: 576px) {
  .membership-plans {
    width: 100%;
    padding: 0 1rem;
  }
  .img-fluid{
    width: 100%;
  }
}
.exclusive-courses {
  background: #f9fafc;
}

.exclusive-courses h2 {
  font-size: 1.8rem;
  color: #111;
  letter-spacing: 0.3px;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.course-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

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

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

.course-card h6 {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.course-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.view-all-btn {
  background: #0d6efd;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #084298;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3);
}

/* Responsive */
@media (max-width: 576px) {
  .course-image-wrapper {
    height: 160px;
  }

  .exclusive-courses h2 {
    font-size: 1.4rem;
  }

  .course-card h6 {
    font-size: 0.95rem;
  }

  .view-all-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}

.glassy-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.45s ease;
  overflow: hidden;
}

.floating-input {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: all 0.3s ease;
}

.floating-input:focus {
  border-color: #6c63ff;
  box-shadow: none;
}

.form-floating > label {
  color: #888;
  font-weight: 500;
}

.text-gradient {
  background: rgb(49, 122, 231);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  background: rgb(49, 122, 231);
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-outline-secondary {
  border-color: #ddd;
  color: #555;
  transition: all 0.3s ease;
}
.btn-outline-secondary:hover {
  border-color: #6c63ff;
  color: #6c63ff;
  background-color: rgba(108, 99, 255, 0.05);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  position: relative;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
  margin: 0 10px;
}

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

