 /* Main */

body {
  font-family: 'Inter', sans-serif;
  background-color: #fffaf0; /* Creamy background */
}

main {
  @apply flex flex-col items-center justify-center min-h-screen bg-gray-100 text-gray-900;
  flex: 1;
}

.container {
  width: 100%;
}

.gradient-border {
  background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
  position: relative;
  padding: 5px;
  display: inline-block;
  border-radius: 7px;
}

.transition-ease {
  transition: all 0.3s ease;
}

.box-shadow-ease {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.main-header {
  background-color: #f5f5dc; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  margin: 0 auto;

}

.headshot {
	flex-shrink: 0;
	margin: 20px;
	border: 3px solid transparent;
	background-origin: border-box;
	background-clip: content-box, border-box;
	background-size: cover;
	box-sizing: border-box;
	box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.headshot1 {
  border-radius: 50%;
  width: 10rem;
  height: 10rem;

}

 /* Ai Tools page style */
 .tool-card {
    @extend .transition-ease;
  }
  .tool-card:hover {
    @extend .box-shadow-ease;
    transform: translateY(-5px);
  }

  /* Custom styles for form elements to match AI Hub theme */
/* Custom Styles for a Polished Look */
  .cta-button {
    @extend .transition-ease;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  .cta-button:hover {
    @extend .box-shadow-ease;
    transform: translateY(-3px);
  }

  .form-group {
      position: relative;
      margin-top: 1.5rem;
  }

  .form-input {
      width: 100%;
      border-radius: 0.5rem;
      border: 1px solid #d1d5db;
      padding: 0.75rem;
      font-size: 1rem;
      transition: border-color 0.2s;
  }

  .form-label {
      position: absolute;
      left: 0.75rem;
      top: 0.85rem;
      color: #6b7280;
      pointer-events: none;
      transition: all 0.2s ease-out;
      background-color: white;
      padding: 0 0.25rem;
  }

  .form-input {
    transition: all 0.3s ease;
  }
  .form-input:focus {
    border-color: #4f46e5;
    outline: none;
    --tw-ring-color: rgba(59, 130, 246, 0.5); /* blue-500 with opacity */
    box-shadow: 0 0 0 3px var(--tw-ring-color);
    border-color: #3b82f6; /* blue-500 */
  }
  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
      top: -0.7rem;
      left: 0.5rem;
      font-size: 0.75rem;
      color: #4f46e5;
  }

  .animate-fadeInUp {
      animation: fadeInUp 0.8s ease-out forwards;
  }

  .animated-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .animated-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  .animated-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  }

/* Style for studio.css */
/* Custom gradient for background and buttons */
 
  .gradient-bg {
      background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  
  .btn-primary {
      @apply inline-flex items-center justify-center px-8 py-3 font-semibold text-white transition-all duration-300 rounded-xl shadow-lg hover:shadow-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;
  }

  .btn-secondary {
      @apply inline-flex items-center justify-center px-6 py-2 font-semibold text-slate-700 bg-white/70 backdrop-blur-sm transition-all duration-300 rounded-lg shadow-md hover:bg-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-400;
  }
  
  /* Glassmorphism effect for cards */
  .glass-card {
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
  }
/* Style for contact us form */
/* Apply animations to elements */
  

  /* Add a subtle transition to all form inputs */
  input, textarea {
      transition: all 0.3s ease-in-out;
  }
  
  /* Style for floating labels */
  

  /* Float the label up when the input is focused or has a value */
 
  /* Social icon hover animation */
  .social-icon:hover {
      transform: scale(1.2);
      color: #4f46e5;
  }

  /* Fluid animation on load */
  .fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  /* For staggering animations */
  .fade-in-up-delay-1 { animation-delay: 0.1s; }
  .fade-in-up-delay-2 { animation-delay: 0.2s; }
  .fade-in-up-delay-3 { animation-delay: 0.3s; }
  .fade-in-up-delay-4 { animation-delay: 0.4s; }

  /* Drag-and-drop active state */
  .drag-active {
      border-color: #4f46e5;
      background-color: #e0e7ff;
  }
  .toggle-checkbox:checked { right: 0; border-color: #48bb78; }
  .toggle-checkbox:checked + .toggle-label { background-color: #48bb78; }
  
  ::-webkit-scrollbar {
    width: 8px;
    background: #e0e7ff;
  }
  ::-webkit-scrollbar-thumb {
    background: #a5b4fc;
    border-radius: 4px;
  }

  /* Terms and condition Page */
  .legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
  }
  .legal-content p, .legal-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  .legal-content li {
    margin-left: 1.5rem;
    list-style-type: disc;
  }

/* Styles specific to the ai tool */
  .ai-tool-body {
      font-family: 'Poppins', sans-serif;
      background-color: #fffaf0; /* Creamy background */
      color: #4a4a4a;
  }
  .ai-tool-body h1, .ai-tool-body h2, .ai-tool-body h3 {
      font-family: 'Playfair Display', serif;
  }
  .gradient-text {
      background-image: linear-gradient(135deg, #ff8c00, #ff4500);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }
  .btn-primary-recipe {
      @apply inline-flex items-center justify-center px-8 py-4 font-bold text-white transition-all duration-300 rounded-full shadow-lg hover:shadow-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-orange-500;
      background-image: linear-gradient(135deg, #ff8c00, #ff4500);
  }
  .fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
  @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  
  .delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
  .delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; } .delay-6 { animation-delay: 0.6s; }

  .custom-checkbox:checked {
      background-color: #ff8c00;
      border-color: #ff8c00;
  }
  .custom-checkbox:checked::after {
      content: '✔';
      color: white;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 14px;
  }

  /* New styles for vibrant results */
  .section-title {
    @apply text-2xl font-bold mb-4;
    background-image: linear-gradient(135deg, #ff9a28, #ff6347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .nutrition-badge {
      @apply text-center p-3 rounded-lg text-white font-semibold;
  }

#statusMessage {
  transition: opacity 0.3s ease-in-out;
}

/* Style for the Virality checker */
.factor-label {
  word-break: break-word;
  white-space: normal;
}
.virality-score-circle {
    stroke-dasharray: 283;
    transition: stroke-dashoffset 0.8s ease-in-out;
}
/* Style for the Virality checker END*/

/* Style for ebook page */
.ebook-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.ebook-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.btn-primary-ebook {
    @apply inline-flex items-center justify-center px-6 py-2 text-sm font-semibold text-white transition-colors duration-300 rounded-lg shadow-md;
    background-color: #007bff;
}
.btn-primary-ebook:hover {
    background-color: #0056b3;
}
.btn-secondary-ebook {
    @apply inline-flex items-center justify-center px-6 py-2 text-sm font-semibold text-gray-700 bg-gray-200 transition-colors duration-300 rounded-lg shadow-md;
}
.btn-secondary-ebook:hover {
    background-color: #d1d5db;
}
.category-title {
    @apply text-3xl font-bold text-gray-800 border-b-2 border-blue-500 pb-2 mb-8;
}

/* Style for meme generator page */
/* .meme-generator-body h1, .meme-generator-body h2, .meme-generator-body h3 {
  font-family: 'Playfair Display', serif;
} */

.gradient-text-meme {
  background-image: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-primary-meme {
  @apply inline-flex items-center justify-center px-8 py-4 font-bold text-white transition-all duration-300 rounded-full shadow-lg hover:shadow-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;
  background-image: linear-gradient(135deg, #6366f1, #a855f7);
}
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
/* Style for meme generator page END */

/* Game page layout */
.game-tool-body{
  font-family: 'Poppins', sans-serif;
}

.game-tool-body h1 {
  color: #e6eef6;
}

#game-container {
  border-radius: 10px;
  padding: 20px;
  background:linear-gradient(180deg,#071029 0%, #0f1724 100%);
  color:#e6eef6;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
}

/* Style for a chatbot */
#chatbot-popup-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #3b82f6; /* blue-500 */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}
#chatbot-popup-button:hover {
    transform: scale(1.1);
}
#chatbot-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 350px;
    max-width: 90vw;
    //height: 500px;
    max-height: 82vh;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: bottom right;
    z-index: 1000;
}
.hidden-chatbot {
    transform: scale(0);
    opacity: 0;
}
.chatbot-header {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.chatbot-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
    line-height: 1.4;
}
.user-message {
    background-color: #e0e7ff; /* indigo-100 */
    color: #3730a3; /* indigo-800 */
    align-self: flex-end;
}
.bot-message {
    background-color: #f3f4f6; /* gray-100 */
    color: #1f2937; /* gray-800 */
    align-self: flex-start;
}
/* Styles for rendered Markdown content */
  .bot-message p { margin: 0 0 0.5rem 0; }
  .bot-message p:last-child { margin-bottom: 0; }
  .bot-message ul { list-style-position: inside; padding-left: 0.5rem; }
  .bot-message li { margin-bottom: 0.25rem; }
.chatbot-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb; /* gray-200 */
}
.chatbot-footer form {
    display: flex;
    gap: 0.5rem;
}
.chatbot-footer input {
    flex-grow: 1;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}
.chatbot-footer button {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}
/* New styles for predefined services */
.chatbot-predefined-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}
.predefined-service-button {
    background-color: #ffffff;
    border: 1px solid #d1d5db; /* gray-300 */
    color: #374151; /* gray-700 */
    padding: 0.5rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.predefined-service-button:hover {
    background-color: #f3f4f6; /* gray-100 */
}
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
}
.typing-indicator span {
  height: 8px;
  width: 8px;
  background-color: #9ca3af; /* gray-400 */
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}


@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}
<style>
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
<style>
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}
