.btn-home-1 {
  background: -webkit-linear-gradient(315deg, #000000 0%, #565656 100%);
  color: white;
}

.btn-home-1:hover {
  background: white;
  color: black;
  border: 1px solid #3c3c3c;
}

.card-gradient {
  background: -webkit-linear-gradient(315deg, #464646 0%, #0084fc 100%);
}

.card-gradient-2 {
  background: -webkit-linear-gradient(315deg, #464646 0%, #003e79 100%);
}

.text-semi-dark {
  color: rgba(255, 255, 255, 0.8);
}

.course-card-description {
  padding-left: 0px !important;
}

.course-card-title {
  font-size: 25px !important;
  line-height: 1.2 !important;
}

.course-card-description-text {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.5);
}

.right-detail {
  float: right;
  margin-right: 10px;
}

.bottom-detail {
  position: absolute;
  bottom: 10px;
}

.card-x {
  height: 350px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  border: 2px solid transparent;
  border-image: linear-gradient(145deg, transparent 5%, #030303, #40c9ff) 1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-origin: right bottom;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-x .main-content {
  flex: 1;
}

.card-x .header span:first-child {
  font-weight: 600;
  color: #717171;
  font-size: 12px;
  margin-right: 4px;
}

.card-x .header-text {
  font-size: 16px;
}

.card-x .heading {
  font-size: 24px;
  margin: 24px 0 16px;
  font-weight: 600;
}

.card-x .categories {
  display: flex;
  gap: 7px;
}

.card-x .categories span {
  background: -webkit-linear-gradient(315deg, #464646 0%, #0084fc 100%);
  padding: 4px 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  border-radius: 50em;
}

.card-x .footer {
  font-weight: 600;
  color: #717171;
  margin-right: 4px;
}

.card-x:hover {
  /* rotate: 10deg; */
}

.auth-area {
  border: 2px solid transparent;
  border-image: linear-gradient(145deg, transparent 5%, #030303, #40c9ff) 1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.full-height {
  height: 80vh;
  position: relative;
}

.full-height .auth-area {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.auth-button {
  border: 2px solid transparent;
  border-image: linear-gradient(145deg, transparent 5%, #030303, #40c9ff) 1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.auth-button:hover {
  transition: background 1s ease, color 1s ease;
  background: -webkit-linear-gradient(315deg, #464646 0%, #01305d 100%);
  color: white;
}

.underlined {
  text-decoration: underline !important;
}

.auth-input{
  border: 2px solid #0367c4 !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.auth-input:focus{
  border: 2px solid #0365c2 !important;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover, 
.auth-input:-webkit-autofill:focus, 
.auth-input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px rgb(255, 255, 255) inset !important;
    -webkit-text-fill-color: #00427f;
}


article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  /* border-radius: 16px; */
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  border: 2px solid transparent;
  border-image: linear-gradient(145deg, transparent 5%, #030303, #40c9ff) 1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

/* basic article elements styling */
article h2 {
  margin: 0 0 18px 0;
  font-size: 1.5rem;  
  color: var(--title-color);
  transition: color 0.3s ease-out;
}

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

article img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #28666e;
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}


/************************ 
Generic layout (demo looks)
**************************/

*,
*::before,
*::after {
  box-sizing: border-box;
}

.articles {
  display: grid;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    display: none;
  }
}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .article-body {
    padding-left: 0;
  }
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

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


.card-x-3 {
  /* height: 200px; */
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: white;
  border: 2px solid transparent;
  border-image: linear-gradient(145deg, transparent 5%, #030303, #40c9ff) 1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-origin: right bottom;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  justify-content: center;
  align-items: center;
}

.content-card{
  border: 0.5px solid #9e9c9c !important;
}

.content-card-title{
  font-size: 18px;
  font-weight: 600;
  border-radius: 0px!important;
}

.list-group-item{
  border: 0.5px solid #bcb9b9;

}

.clickable{
  cursor: pointer;    
}


.web-course-card{
  padding: 150px 10px;
}

.apple-style-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 0 2rem 0;
}

.course-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
}

.card-content {
  padding: 2rem;
}

.card-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6e6e73;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-description {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
}

.learn-more:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-title {
    font-size: 21px;
  }

  .card-description {
    font-size: 15px;
  }
}

/* Apple-style button */
.apple-style-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.1rem;
  font-size: 17px;
  font-weight: 500;
  color: white;
  background: #2b2b2b;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.apple-style-button:hover {
  background: #e8e8e8;
  color: rgb(0, 0, 0);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .apple-style-button {
    font-size: 15px;
    padding: 0.6rem 1.2rem;
  }
}



.avatar {
  position: relative;
  width: 38px;
  height: 38px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8392a5;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  /* font-family: "Plus Jakarta Sans", serif; */
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-offline::after,
.avatar-online::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  box-shadow: 0 0 0 2px #fff;
}

.avatar-offline::after {
  background-color: #c0ccda;
}

.avatar-online::after {
  background-color: #0c8842;
}

.avatar-xs {
  width: 26px;
  height: 26px;
}

.avatar-xs .avatar-initial {
  font-size: 10px;
}

.avatar-xs.avatar-offline::after,
.avatar-xs.avatar-online::after {
  width: 5px;
  height: 5px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-sm .avatar-initial {
  font-size: 13px;
}

.avatar-sm.avatar-offline::after,
.avatar-sm.avatar-online::after {
  width: 7px;
  height: 7px;
}

.avatar-md {
  width: 48px;
  height: 48px;
}

.avatar-md .avatar-initial {
  font-size: 18px;
}

.avatar-md.avatar-offline::after,
.avatar-md.avatar-online::after {
  width: 9px;
  height: 9px;
  right: 2px;
  bottom: 2px;
}

.avatar-lg {
  width: 64px;
  height: 64px;
}

.avatar-lg .avatar-initial {
  font-size: 24px;
}

.avatar-lg.avatar-offline::after,
.avatar-lg.avatar-online::after {
  width: 10px;
  height: 10px;
  bottom: 3px;
  right: 4px;
}

.avatar-xl {
  width: 72px;
  height: 72px;
}

.avatar-xl .avatar-initial {
  font-size: 30px;
}

.avatar-xl.avatar-offline::after,
.avatar-xl.avatar-online::after {
  width: 11px;
  height: 11px;
  bottom: 4px;
  right: 5px;
  box-shadow: 0 0 0 2.5px #fff;
}

.avatar-xxl {
  width: 100px;
  height: 100px;
}

.avatar-xxl .avatar-initial {
  font-size: 45px;
}

.avatar-xxl.avatar-offline::after,
.avatar-xxl.avatar-online::after {
  width: 13px;
  height: 13px;
  bottom: 6px;
  right: 7px;
  box-shadow: 0 0 0 3px #fff;
}

/* Section Header Styles */
.section-header {
  /* margin-bottom: 2rem; */
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0rem;
}

.section-description {
  font-size: 17px;
  color: #6e6e73;
  line-height: 1.5;
}

/* Empty State Styles */
.empty-state {
  grid-column: 1 / -1;
  background: white;
  border-radius: 18px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.empty-state-content {
  max-width: 400px;
  margin: 0 auto;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon {
  color: #6e6e73;
  width: 100%;
  height: 100%;
}

.empty-title {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
}

.empty-description {
  font-size: 17px;
  line-height: 1.5;
  color: #6e6e73;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  
  .section-description {
    font-size: 15px;
  }
  
  .empty-state {
    padding: 2rem;
  }
}

/* Modal Styles */
.modal-content {
  background: #fff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.form-input {
  font-size: 16px;
  padding: 0.75rem;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  width: 100%;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
  outline: none;
}

.apple-style-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  background: #f5f5f7;
  border: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.apple-style-button-secondary:hover {
  background: #e5e5e5;
}

@media (max-width: 768px) {
  .modal-title {
    font-size: 21px;
  }
  
  .form-input {
    font-size: 15px;
    padding: 0.6rem;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }

 .navbar-collapse{
  margin-bottom: 30px;
 }
  
}

/* Payment Form Styles */
.payment-form-container {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.payment-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.payment-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.payment-amount {
  font-size: 18px;
  font-weight: 600;
  color: #37373c;
}

.payment-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 0.4rem;
}

.card-element {
  padding: 0.75rem;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  background: white;
  transition: all 0.2s ease;
}

.card-element:focus-within {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.card-errors {
  color: #dc3545;
  font-size: 12px;
  margin-top: 0.4rem;
}

.submit-button {
  width: 100%;
  padding: 0.55rem;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-button:hover {
  background: #0055b3;
}

.submit-button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.secure-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #6e6e73;
  font-size: 12px;
  margin-bottom: 0.75rem;
}

.secure-payment i {
  color: #0066cc;
  font-size: 14px;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.payment-methods img {
  max-width: 80%;
  opacity: 0.9;
}

/* Logo Styles */
.web-navbar-logo {
  height: 35px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.web-hero-logo {
  height: 120px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
}

.web-about-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .payment-form-container {
    padding: 1.25rem;
  }

  .payment-header h3 {
    font-size: 18px;
  }

  .payment-amount {
    font-size: 22px;
  }

  .submit-button {
    font-size: 14px;
    padding: 0.6rem;
  }

  .web-navbar-logo {
    height: 30px;
    max-width: 150px;
  }

  .web-hero-logo {
    height: 80px;
    max-width: 280px;
  }

  .web-about-logo {
    height: 60px;
    max-width: 220px;
  }
}
