:root {
    --primary-color: #FF9800;
    --primary-color-rgb: 255, 152, 0; /* RGB values for primary color */
    --secondary-color: #1E3D59;
    --accent-color: #FF9800;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #fff;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navbar Styles */
.navbar {
    background: var(--white);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

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

    .logo-img {
        height: 60px;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
    
    .logo {
        gap: 1rem;
    }
}

/* Services Page Styles */
.page-header {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-main {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.service-category {
    margin-bottom: 4rem;
}

.service-category h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Technology Stack Section */
.technology-stack {
    padding: 4rem 2rem;
    background: var(--white);
}

.technology-stack h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-items span {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.tech-items span:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 1rem 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .services-main {
        padding: 3rem 1rem;
    }

    .service-category h2 {
        font-size: 2rem;
    }

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

    .tech-categories {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Team Page Styles */
.team-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: var(--accent-color);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.member-skills span {
    background: var(--light-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* About Page Styles */
.about-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-story {
    text-align: center;
    margin-bottom: 4rem;
}

.about-story h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-story p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 500;
}

.mission-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    padding: 2rem;
    border-radius: 10px;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.mission-card h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: scale(1.05);
}

.location-section {
    padding: 4rem 2rem;
    background: var(--white);
    text-align: center;
}

.location-section h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .map-container {
        height: 300px;
    }

    .member-social {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on mobile devices */
    }
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-grid {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    padding: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 0 0 350px;
    max-width: 350px;
    margin: 0.5rem;
    scroll-snap-align: start;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 61, 89, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
}

.project-link {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    width: 100%;
    text-align: center;
}

.project-link.github {
    background: var(--white);
    color: var(--secondary-color);
}

.project-link:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .projects {
        padding: 3rem 0;
    }

    .projects-grid {
        flex-direction: column;
        overflow: visible;
        gap: 0;
        padding: 0;
        scroll-snap-type: none;
    }

    .project-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.5s ease, transform 0.5s ease;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .project-card.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }

    .project-image {
        height: 250px;
    }

    .project-info {
        padding: 2rem;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }

    .project-info p {
        font-size: 1.1rem;
    }

    .project-tech span {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 2rem 0;
    }

    .project-image {
        height: 200px;
    }

    .project-info {
        padding: 1.5rem;
    }
}

/* Chatbot Styles - Enhanced */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--body-font);
    transition: all 0.3s ease;
}

.chatbot-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.chatbot-toggle i {
    color: var(--white);
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.chatbot-box {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.chatbot-container.active .chatbot-box {
    transform: scale(1);
}

.chatbot-header {
    padding: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.chatbot-title span {
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.chatbot-close {
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
    transition: background 0.3s ease, transform 0.3s ease;
}

.chatbot-close i {
    font-size: 1.2rem;
    color: white;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                      url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f0f0f0' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.chatbot-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-message.bot {
    align-self: flex-start;
}

.chatbot-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    line-height: 1.5;
    position: relative;
}

.chatbot-message.bot .message-content {
    background: #fff;
    color: var(--text-color);
    border-bottom-left-radius: 5px;
    margin-left: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.chatbot-message.user .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-bottom-right-radius: 5px;
    text-align: right;
}

.chatbot-message.bot::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-size: 100%;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5px;
    margin-left: 5px;
    border-radius: 50%;
    background-color: #fff;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatbot-input-container {
    padding: 18px;
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.chatbot-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
}

.chatbot-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.chatbot-send {
    width: 46px;
    height: 46px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.chatbot-send i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.chatbot-send:hover i {
    transform: translateX(3px);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); }
    100% { transform: scale(1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
}

/* Typing indicator */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #E6E9EC;
    border-radius: 15px;
    margin-top: 5px;
    margin-left: 5px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #93959F;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: typingBounce 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 typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive adjustments for chatbot */
@media (max-width: 768px) {
    .chatbot-box {
        width: 320px;
        height: 450px;
        bottom: 85px;
    }
    
    .message-content {
        font-size: 1rem;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-box {
        width: 90vw;
        max-width: 310px;
        height: 400px;
        bottom: 75px;
        right: 0;
    }

    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }

    .chatbot-toggle i {
        font-size: 1.5rem;
    }
    
    .chatbot-message {
        max-width: 85%;
    }
    
    .chatbot-header {
        padding: 15px;
    }
    
    .chatbot-logo {
        width: 36px;
        height: 36px;
    }
} 