@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');

      body {
        font-family: 'Inter', sans-serif;
        background: linear-gradient(135deg, #fff3e6 0%, #ffe6e6 100%);
        overflow-x: hidden;
      }

      h1, h2, h3 {
        font-family: 'Nunito', sans-serif;
      }

      .section-title {
        background: linear-gradient(45deg, #ff6b6b, #ffa726);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -0.025em;
      }

      .feature-card {
        background: linear-gradient(145deg, #ffffff 0%, #fef2f2 100%);
        border: 1px solid rgba(255, 107, 107, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
      }

      .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(255, 107, 107, 0.15);
      }

      .resource-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 107, 107, 0.15);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
      }

      .resource-card:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 107, 107, 0.1);
      }

      .testimonial-card {
        background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
        border-left: 4px solid #ff6b6b;
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      }

      .testimonial-card::before {
        content: "“";
        position: absolute;
        font-size: clamp(4rem, 8vw, 8rem);
        opacity: 0.05;
        top: -3rem;
        left: -1rem;
        font-family: serif;
        line-height: 1;
      }

      /* Hero Section Styles */
      .hero-section {
        position: relative;
        overflow: hidden;
        padding: 8rem 0 4rem;
      }

      .hero-background {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 20%, rgba(255,107,107,0.2) 0%, transparent 70%),
                    radial-gradient(circle at 70% 80%, rgba(255,165,38,0.2) 0%, transparent 70%);
        animation: pulse-gradient 15s ease-in-out infinite;
      }

      @keyframes pulse-gradient {
        0%, 100% { transform: scale(1); opacity: 0.8; }
        50% { transform: scale(1.1); opacity: 1; }
      }

      .hero-floating-icon {
        position: absolute;
        color: rgba(255,255,255,0.2);
        font-size: 3rem;
        animation: float-3d 10s ease-in-out infinite;
      }

      @keyframes float-3d {
        0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
        25% { transform: translateY(-20px) rotateX(10deg) rotateY(10deg); }
        75% { transform: translateY(20px) rotateX(-10deg) rotateY(-10deg); }
      }

      .hero-title {
        font-weight: 800;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }

      .hero-tagline {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        animation: typewriter 4s steps(40) 1s 1 normal both;
      }

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

      .hero-carousel {
        position: relative;
        overflow: hidden;
        border-radius: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      }

      .hero-carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
      }

      .hero-carousel img.active {
        opacity: 1;
        position: relative;
      }

      .carousel-nav {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.5rem;
      }

      .carousel-dot {
        width: 0.75rem;
        height: 0.75rem;
        background: rgba(255,255,255,0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s;
      }

      .carousel-dot.active {
        background: #fff;
      }

      .hero-stats {
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(8px);
        border-radius: 1rem;
        padding: 1rem;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1rem;
      }

      .hero-cta-card {
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 1rem;
        padding: 1.5rem;
        transition: transform 0.3s ease;
      }

      .hero-cta-card:hover {
        transform: scale(1.05);
      }

      @media (max-width: 768px) {
        .hero-section {
          padding: 6rem 0 3rem;
        }

        .hero-floating-icon {
          display: none;
        }

        .hero-carousel {
          height: 16rem;
        }

        .hero-stats {
          flex-direction: column;
          align-items: center;
        }
      }

      @media (max-width: 480px) {
        .hero-carousel {
          height: 12rem;
        }

        .hero-cta-card {
          padding: 1rem;
        }
      }

      /* Chatbot Styles */
      .chat-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
      }

      .chat-modal.active {
        opacity: 1;
        visibility: visible;
      }

      .chat-container {
        width: clamp(600px, 85vw, 900px);
        height: clamp(600px, 85vh, 750px);
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: scale(0.9);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      }

      .chat-modal.active .chat-container {
        transform: scale(1);
      }

      .chat-header {
        background: linear-gradient(to right, #ff6b6b, #ffa726);
        color: white;
        padding: 1.5rem 2rem;
        position: relative;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .chat-header::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 20px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23fff' d='M0,60 C360,0 1080,0 1440,60 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
      }

      .chat-header h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0;
      }

      .chat-header p {
        font-size: 0.9rem;
        opacity: 0.8;
        margin: 0;
      }

      .chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 2rem;
        background: #fef2f2;
        scroll-behavior: smooth;
        height: calc(100vh - 200px);
      }

      .message-bubble {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        animation: animate__animated animate__slideInUp 0.3s;
      }

      .message-bubble.user {
        justify-content: flex-end;
      }

      .message-content {
        max-width: 70%;
        padding: 1rem 1.5rem;
        border-radius: 16px;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .message-content.user {
        background: #ff6b6b;
        color: white;
        border-radius: 16px 16px 0 16px;
      }

      .message-content.bot {
        background: #fff;
        border: 1px solid #ffe6e6;
        border-radius: 16px 16px 16px 0;
      }

      .message-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin: 0 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffe6e6;
      }

      .message-time {
        font-size: 0.75rem;
        color: #888;
        margin-top: 0.5rem;
        text-align: right;
      }

      .message-actions {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.5rem;
        justify-content: flex-end;
      }

      .message-actions button {
        background: none;
        border: none;
        color: #ff6b6b;
        cursor: pointer;
        font-size: 0.9rem;
        padding: 0.5rem;
      }

      .related-suggestions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
      }

      .related-suggestions button {
        background: #fff;
        border: 1px solid #ffe6e6;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .related-suggestions button:hover {
        background: #ffe6e6;
      }

      .chat-input {
        padding: 1.5rem 2rem;
        background: #fff;
        border-top: 1px solid #ffe6e6;
      }

      .chat-toolbar {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
      }

      .chat-toolbar select,
      .chat-toolbar button {
        padding: 0.5rem 1rem;
        border: 1px solid #ffe6e6;
        border-radius: 8px;
        background: #fff;
        font-size: 0.9rem;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .chat-toolbar select:focus,
      .chat-toolbar button:hover {
        background: #ffe6e6;
      }

      .chat-input-field {
        position: relative;
        display: flex;
        align-items: center;
      }

      .chat-input-field input {
        width: 100%;
        padding: 0.75rem 3rem 0.75rem 1rem;
        border: 1px solid #ffe6e6;
        border-radius: 12px;
        font-size: 1rem;
        outline: none;
      }

      .chat-input-field input:focus {
        border-color: #ff6b6b;
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
      }

      .chat-input-field button {
        position: absolute;
        right: 0.5rem;
        background: #ff6b6b;
        color: white;
        border: none;
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .chat-input-field button:hover {
        background: #ff8787;
      }

      .typing-indicator {
        display: flex;
        align-items: center;
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
      }

      .typing-indicator span {
        display: inline-block;
        width: 8px;
        height: 8px;
        background: #ff6b6b;
        border-radius: 50%;
        margin-right: 4px;
        animation: dot-bounce 1.4s infinite ease-in-out both;
      }

      .typing-indicator span:nth-child(2) {
        animation-delay: -0.32s;
      }

      .typing-indicator span:nth-child(3) {
        animation-delay: -0.16s;
      }

      @keyframes dot-bounce {
        0%, 80%, 100% { transform: scale(0); }
        40% { transform: scale(1); }
      }

      .progress-bar {
        width: 0;
        height: 4px;
        background: #ff6b6b;
        transition: width 0.1s linear;
      }

      #chatButton {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 50;
        padding: 1.5rem;
        background: linear-gradient(to bottom right, #ff6b6b, #ffa726);
        color: white;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      #chatButton:hover {
        transform: scale(1.15);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
      }

      /* Responsive Adjustments for Chatbot */
      @media (max-width: 768px) {
        .chat-container {
          width: 95vw;
          height: 90vh;
        }

        .chat-messages {
          height: calc(100vh - 250px);
        }

        .message-content {
          max-width: 85%;
        }

        .chat-toolbar {
          flex-direction: column;
          align-items: flex-start;
        }

        .chat-header h3 {
          font-size: 1.5rem;
        }
      }

      @media (max-width: 480px) {
        .chat-container {
          width: 100vw;
          height: 100vh;
          border-radius: 0;
        }

        .chat-header {
          padding: 1rem;
        }

        .chat-messages {
          padding: 1rem;
          height: calc(100vh - 220px);
        }

        .chat-input {
          padding: 1rem;
        }

        .chat-input-field button {
          width: 2rem;
          height: 2rem;
        }
      }

      /* General Styles */
      .btn-primary {
        background: #ff6b6b;
        color: white;
        border: none;
        transition: all 0.3s ease;
      }

      .btn-primary:hover {
        background: #ff8787;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
      }

      @media (max-width: 768px) {
        .container {
          padding-left: 1rem;
          padding-right: 1rem;
        }

        h1 {
          font-size: clamp(2rem, 6vw, 3.75rem);
        }

        h2 {
          font-size: clamp(1.875rem, 5vw, 3rem);
        }

        p {
          font-size: clamp(0.875rem, 3vw, 1.125rem);
        }

        .feature-card,
        .resource-card,
        .testimonial-card {
          padding: 1.5rem;
        }
      }

      @media (max-width: 480px) {
        .btn-primary,
        .border-2 {
          padding: 0.75rem 1.5rem;
          font-size: 0.875rem;
        }

        .grid {
          grid-template-columns: 1fr;
        }
      }

      @keyframes gradient-x {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
      }

      .animate-gradient-x {
        background-size: 200% 200%;
        animation: gradient-x 15s ease infinite;
      }

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

      .animate-float {
        animation: float 8s ease-in-out infinite;
      }

      .animate-float-delayed {
        animation: float 10s 2s ease-in-out infinite;
      }

      @keyframes text-shine {
        0% { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
      }

      .animate-text-shine {
        background: linear-gradient(45deg, #fff 20%, #f8d7c9 40%, #fff 60%);
        background-size: 300% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: text-shine 3s linear infinite;
      }

      @keyframes bounce-horizontal {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(5px); }
      }

      .animate-bounce-horizontal {
        animation: bounce-horizontal 1.5s infinite;
      }

      .hover\:scale-105:hover {
        transform: scale(1.05);
      }
