/* Base Styles */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f8ad9d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --black: #212529;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    display: none;
}

section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo span {
    color: var(--black);
}

.nav ul {
    display: flex;
    align-items: center;
}

.nav li {
    margin-left: 30px;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: var(--medium-gray);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light-gray);
  
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
  
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

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

.rotating-text {
  
    position: relative;
    height: 100px;
    overflow: hidden;
  
  
}

.rotating-text span {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease;
}

.rotating-text .text-active {
    opacity: 1;
  
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin-right: 15px;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.solution-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.solution-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-card h3 {
    color: var(--primary-color);
}

.solution-card ul {
    text-align: left;
    margin-top: 20px;
}

.solution-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.solution-card li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.features {
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* How It Works Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.business-model {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
}

/* Pricing Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.price {
    margin-top: 15px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--dark-gray);
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.payment-info {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
}

.payment-info ul {
    margin-top: 20px;
}

.payment-info li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.payment-info li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Chatbots Section */
.chatbots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.chatbot-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.chatbot-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.chatbot-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.chatbot-logo img {
    width: 40px;
    height: 40px;
}

.chatbot-content {
    padding: 30px;
}

.chatbot-features {
    margin: 25px 0;
}

.chatbot-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.chatbot-features i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.chatbot-examples ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.chatbot-examples li {
    padding: 8px 12px;
    background-color: var(--light-gray);
    border-radius: 4px;
    font-size: 0.9rem;
}

.how-it-works {
    margin: 25px 0;
}

.how-it-works li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.how-it-works li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
  align-items: center;
    justify-content: center;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    
    color: var(--primary-color);
  align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image {
        margin-top: 40px;
    }

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

@media (max-width: 768px) {
    .header .container {
        padding: 15px;
    }
    
    .nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav ul.active {
        right: 0;
    }
    
    .nav li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    section {
        padding: 50px 0;
    }

    .chatbot-examples ul {
        grid-template-columns: 1fr;
    }
}

/* Chatbot Widget Styles */
#chatbot-widget {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 320px;
  height: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
}

#chatbot-widget.active {
  display: flex;
}

#chatbot-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-title {
  font-weight: 600;
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

#chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f8f9fa;
}

.chatbot-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chatbot-message.bot {
  background-color: white;
  border: 1px solid #e9ecef;
  align-self: flex-start;
  border-top-left-radius: 5px;
}

.chatbot-message.user {
  background-color: var(--primary-color);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 5px;
}

#chatbot-options {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  background-color: white;
  border-top: 1px solid #e9ecef;
}

.chatbot-option {
  background-color: var(--light-gray);
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  margin: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-option:hover {
  background-color: var(--primary-color);
  color: white;
}

#chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e9ecef;
  background-color: white;
}

#chatbot-text {
  flex: 1;
  padding: 10px;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  outline: none;
}

#chatbot-send {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0 15px;
  margin-left: 10px;
  cursor: pointer;
  transition: var(--transition);
}

#chatbot-send:hover {
  background-color: var(--primary-dark);
}

#chatbot-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition);
}

#chatbot-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #chatbot-widget {
    width: 280px;
    height: 350px;
    left: 20px;
    bottom: 90px;
  }
  
  #chatbot-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    left: 20px;
    bottom: 20px;
  }
}
