@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
 
.add-funds-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background-color: #ff9900;
    color: #fff;
    font-size: 25px;
    padding: 3px 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
  }
  
:root {
  --primary-color: #f6eee5;
  --secondary-color: #e8d8c7;
  --accent: #1b003d;
  --dark-accent: #3B0A45;
  --text-color: #3c3532;
  --white: #ffffff;
}


body {
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  padding: 0 20px;
}

.container {
  max-width: 80vw;
  margin: 0 auto;
}

.header-left {
  display: flex;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow:  3px 4px 5px #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  padding: 2vw 3vw;
  flex-wrap: wrap;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 2px;
}

.header-left h2 {
  margin: 0.5vw 2vw;
  font-size: 1.8em;
  color: var(--accent);
}

.logo img{
    width: 5vw;
    height: 5vw;
    object-fit: cover; 
    object-position: left;
}

.search-sort input[type="text"],
.search-sort select {
  background-color: var(--white);
  border: 1px solid var(--accent);
  color: var(--text-color);
  border-radius: 4px;
  padding: 5px;
}


.header-right button {
  background-color: var(--dark-accent);
  color: var(--white);
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-right button:hover {
  background-color: var(--text-color);
}


.user-info {
  position: relative;
}

.profile-dropdown {
  position: relative;
  display: inline-block;
}

  .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    right: -2vw;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    z-index: 1000;
    width: 200px;
  }

  .dropdown-menu span {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-menu ul li {
    padding: 10px 5px;
    font-size: 14px;
  }

  .dropdown-menu ul li a {
    text-decoration: none;
    color: #333;
  }

  .dropdown-menu ul li i {
    margin-right: 8px;
  }

  .dropdown-menu ul li:hover {
    background-color: #f2f2f2;
  }

  .profile-dropdown:hover .dropdown-menu {
    display: block;
  }
  .first {
    display: none;
  }
  
  .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 16px;
  margin: 20px 0;
  color: #333;
}

.card strong {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
  color: #222;
}

.card p.small {
  font-size: 0.95rem;
  line-height: 1.6;
}

.card a {
  color: #0073e6;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.card i {
  margin-right: 8px;
  color: #0073e6;
}

/* Social media icons row */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #0073e6;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #005bb5;
}


  /* Mobile Compatibility */
  @media (max-width: 768px) {
    .profile-pic {
      width: 30px;
      height: 30px;
    }

    .dropdown-menu {
      width: 100px;
      right: -8vw;
    }

    .dropdown-menu ul li {
      font-size: 12px;
    }
    .full {
      display: none;  /* Hide full name on mobile */
    }

    .first{
      display: inline;  /* Show only first name on mobile */
    }
  }





.subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 5px 0;
}

.filter-button {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin: 0 12px;
  padding: 5px 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}


.filter-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.filter-button:hover::after,
.filter-button.active::after {
  width: 100%;
}

.filter-button.active {
  color: var(--text-color);
  font-weight: 500;
}

.filter-button i {
   display: none;
}

.courses-grid, .websites-grid, .tools-grid, .social-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  margin-bottom: 2vw;
}

.course-card, .website-card, .tool-card, .social-card{
  background-color: var(--white);
  border-radius: 0.5vw;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.course-card:hover, .website-card:hover, .tool-card:hover, .social-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.course-card:hover .course-image img, .website-card:hover .website-image img,  .tool-card:hover .tool-image img, .social-card:hover .social-card img  {
  transform: scale(1.05);
}

.course-card:hover .enroll, .website-card:hover .request-quote, .tool-card:hover .buy, .social-card:hover .visit{
  opacity: 1;
  transform: translateY(0);
}

.course-image, .website-image, .tool-image, .social-image{
  position: relative;
  height: 18vh;
  overflow: hidden;
}

.course-image img, .website-image img, .tool-image img, .social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-badge, .website-badge, .tool-badge, .social-badge {
  position: absolute;
  top: 0.3vw;
  left: 0.3vw;
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  padding: 0.4vw;
  border-radius: 0.5vw;
  text-transform: uppercase;
  letter-spacing: 0.1vw;
}

.course-details, .website-details, .tool-details, .social-details {
  padding: 1.5vw;
  position: relative;
}

.duration-tag{
  position: absolute; 
  top: 15vh; 
  left: 13vw; 
  background: rgba(0,0,0,0.3); 
  color: white; 
  padding: 0.4vw; 
  border-radius: 0.2vw; 
  font-size: 0.7em;
}

.course-name, .website-name, .tool-name {
  font-size: 1.2rem;
  margin-bottom: 0.5vw;
  font-weight: 500;
  transition: color 0.3s ease;
}

.course-card:hover .course-name, .website-card:hover .website-name, .tool-card:hover .tool-name {
  color: var(--accent);
}

.course-material, .website-material, .tool-material, .social-material {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.course-price, .website-price, .tool-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
}

.course-price span, .website-price span, .tool-price span{
  float: right;
}

.enroll, .request-quote,  .buy, .visit{
  background-color: var(--accent);
  color: white;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 8px 0;
  width: 100%;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
}

.enroll:hover,.request-quote:hover, .buy:hover, .visit:hover {
  background-color: var(--dark-accent);
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 10; 
  padding-top: 2vw; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); /* Black with opacity */
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
  margin-top: -1.5vw;
  color: var(--accent);
  position: absolute;
  top: 0.5vw;
  right: 0.5vw;
  font-size: 3em;
  font-weight: bold;
  cursor: pointer;
 }

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
}

/* Form styles */
#enrollForm input, 
#enrollForm select, 
#enrollForm button,
#quoteForm input, 
#quoteForm select,
buyForm
#quoteForm button,
#buyForm input, 
#buyForm select, 
#buyForm button,
#fundForm input, 
#fundForm button {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}
#quoteForm input[type="checkbox"], #enrollForm input[type="checkbox"], #buyForm input[type="checkbox"]{
 width: 10%;
}


#quoteForm label, #enrollForm label, #buyForm label{
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

#quoteForm button, #enrollForm button, #fundForm button,  #buyForm button{
  background-color: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#quoteForm button:hover, #enrollForm button:hover, #fundForm button:hover, #buyForm button:hover{
  background-color: #45a049;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.radio-img {
  width: 1vw;
  height: 1vw;
  position: absolute;
  left: 10vw;
  z-index: -1;

  
  }
  
  .payment{
display: flex;
flex-direction: row;
  }
  
  




  .img-label {
  width: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 5px;
  border-radius: 8px;
  transition: border 0.3s ease;
  }

  .radio-img:checked + .img-label {
  border: 2px solid #28a745; /* Green border when selected */
  }

  .img-label img {
  width: 100%; /* Adjust size as needed */
  height: auto;
  }

.faq{
    width: 100%;
    display: flex;
    
}

.faq img{
    width:30vw;
    height:30vw;
}

.wrapper{
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 15px 40px;
    border-radius: 5px;
    box-shadow: 0 15px 25px rgba(0,0,50,0.2);
}
.toggle,
.content{
    font-family: "Poppins",sans-serif;
}
.toggle{
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #100124;
    font-weight: bold;
    font-weight: 500;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 0;
}
.content{
    position: relative;
    font-size: 14px;
    text-align: justify;
    line-height: 30px;
    height: 0;
    overflow: hidden;
    transition: all 1s;
}

@media (max-width: 600px) {
  .courses-grid, .websites-grid, .tools-grid, .social-grid {
    grid-template-columns: 1fr;
  }
  .faq img{
    display: none;
    
  }
  
  .logo img{
    width: 10vw;
    height: 10vw;
  }
  .header-left h2 {
    padding: 1vw;
    font-size: 6vw;
   
  }
  
  .search-sort input[type="text"]{
    width: 35vw;
   
    }
    .search-sort select{
    width: 22vw;

   
    }
    .header-right button {
  background-color: var(--dark-accent);
  color: var(--white);
  border: none;
  padding: 6px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

  .filter-button .filter-text {
    display: none;
  }
  
  .filter-button i {
    display: inline;
  }


  .filter-button.active i {
    display: none;
  }
  
  .filter-button.active .filter-text {
    display: inline;
  }
  
  .close-btn {
    margin-top: -5.5vw;
  } 
  .duration-tag{
    left:68vw;
    top: 15vh;
  }
  .filter-button {
    margin: 0 8px;
    font-size: 0.5rem;
  }

  .course-image, .website-image, .tool-image, .social-image {
    height: 180px;
  }
}

/* Loader animation */
.loader {
  width: 30px;
  height: 30px;
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s infinite ease-in-out;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade in animation for courses */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.course-card {
  animation: fadeIn 0.5s ease forwards;
}

.course-card:nth-child(2) {
  animation-delay: 0.1s;
}

.course-card:nth-child(3) {
  animation-delay: 0.2s;
}

.course-card:nth-child(4) {
  animation-delay: 0.3s;
}

.user-info {
  position: relative;
  display: inline-block;
}

.user-initials-container {
  position: relative;
}

.initial-circle {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: white;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-details {
  position: absolute;
  top: 50px;
  right: 0px;
  background-color: var(--accent);
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  display: none;
  z-index: 10;
  min-width: 200px;
  cursor: pointer;
}

.user-initials-container:hover .user-details {
  display: block;
}

.logout-button {
  display: inline-block;
  padding: 6px 12px;
  background-color: #dc3545;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
}

.logout-button:hover {
  background-color: #c82333;
}


/* Floating Button */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5;
}

/* Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  height: 55px;
  width: 55px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Popup */
.chatbot-popup {
  position: fixed;
  right: 25px;
  bottom: 90px;
  width: 320px;
  height: 400px;
  max-height: 1200px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 3px 20px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #075e54;
  color: #fff;
  padding: 10px 15px;
}

.chat-header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1rem;
  margin: 0;
}

#close-chatbot {
  font-size: 1.5rem;
  cursor: pointer;
}

/* Chat Body */
.chat-body {
  flex: 1;
  padding: 15px;
  background: #ece5dd;
  overflow-y: auto;
  max-height: 400px;
}

.message {
  margin-bottom: 12px;
  display: flex;
}

.message-text {
  position: relative;
  border-radius: 8px;
  max-width: 75%;
  min-width: 25%;
  font-size: 0.9rem;
  line-height: 1.3rem;
  padding: 10px 14px 22px 14px; 
}

/* Bot bubble */
.bot-message .message-text {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  align-self: flex-start;
}

/* User bubble */
.user-message {
  justify-content: flex-end;
}

.user-message .message-text {
  background: #dcf8c6;
  border-radius: 8px 0 8px 8px;
  align-self: flex-end;
}

/* Footer */
.chat-footer {
  padding: 8px;
  background: #f0f0f0;
}

#chat-form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 20px;
  padding: 5px 10px;
}

.message-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  padding: 6px;
  font-size: 0.9rem;
  border-radius: inherit;
}

.chat-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-controls button, 
.chat-controls i {
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #075e54;
}

.chat-controls button {
  color: #25d366;
}

/* Mobile */
@media screen and (max-width: 600px) {
  .chatbot-popup {
    width: 100%;
    right: 0;
    bottom: 0;
    border-radius: 0;
    height: 100%;
    max-height: none;
  }
}
