/* SEO-Optimized CSS for Taxi Kokkari Website */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improved font loading */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Accessibility: Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Enhanced Header */
header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span:first-child {
    font-size: 1.8rem;
}

.business-name {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: -4px;
}

.logo span:last-child {
    color: #333;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover span:last-child {
    transform: scale(1.05);
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #333;
    outline: none;
}

.nav-links a:hover:after,
.nav-links a:focus:after {
    width: 100%;
}

/* Enhanced Hero Section */
.hero {
    background: url("kokkari.jpg") center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    color: #fff;
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Enhanced Buttons */
.cta-btn, .service-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    min-height: 44px;
    justify-content: center;
    text-align: center;
}

.cta-btn:hover, .service-link:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Section Styling */
.services, .our-team, .why-us, .discover-samos, .faq-section, .kokkari-spotlight, .location {
    padding: 4rem 0;
}

.discover-samos {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.our-team {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
}

.faq-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 100%);
}

.why-us {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

/* Enhanced Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 1;
    animation: fadeIn 0.8s ease forwards;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover h2::after {
    width: 100px;
}

.section-title .subtitle {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Enhanced Grid Layouts */
.services-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Enhanced Cards */
.service-card, .team-card, .feature {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover, .team-card:hover, .feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.service-card.visible, .team-card.visible, .feature.visible {
    opacity: 1;
    transform: translateY(0);
    
}

/* Enhanced Images */
.service-img, .team-img {
    height: 220px;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    position: relative;
}

.service-img::after, .team-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.1) 100%);
    transition: opacity 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card:hover .service-img::after {
    opacity: 0;
}

.team-img {
    height: 300px;
    border-bottom: 4px solid #ffc107;
}

.team-card:hover .team-img {
    filter: brightness(1.1) saturate(1.1);
}

/* Enhanced Content Areas */
.service-content, .team-content {
    padding: 2rem;
}

.service-content h3, .team-content h3 {
    color: #333;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 1.3rem;
}

.service-card:hover .service-content h3,
.team-card:hover .team-content h3 {
    color: #ff9800;
}

.service-content p, .team-content p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.service-link {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #333;
}

.service-link:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
}

.team-role {
    color: #ff9800;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-footer {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    border-top: 2px solid #ffcc80;
    font-style: italic;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    line-height: 1.7;
}

/* Enhanced Features Section */
.feature {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255,193,7,0.3));
}

.feature h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
}

.feature p {
    line-height: 1.6;
    color: #555;
}

/* FAQ Section Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    background: #f8f9fa;
    color: #ff9800;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.faq-answer a {
    color: #ff9800;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Discover Samos Section */
.attractions-container {
    margin-top: 2rem;
}

.attraction-list, .beach-list {
    margin-bottom: 2rem;
}

.attraction-list h3, .beach-list h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #ffc107;
    transition: all 0.3s ease;
    font-weight: 600;
}

.attraction-list:hover h3 {
    border-bottom-color: #ff9800;
    color: #ff9800;
}

.beach-list h3 {
    border-bottom-color: #4fc3f7;
}

.beach-list:hover h3 {
    border-bottom-color: #0277bd;
    color: #0277bd;
}

.attraction-card, .beach-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border-left: 4px solid transparent;
    position: relative;
}

.attraction-card {
    border-left-color: #ffc107;
}

.beach-card {
    border-left-color: #4fc3f7;
}

.attraction-card.visible, .beach-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.attraction-card:hover, .beach-card:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.attraction-card h4, .beach-card h4 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.attraction-card h4 a, .beach-card h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.attraction-card a {
    color: #ff9800;
}

.attraction-card a:hover {
    color: #e65100;
    text-decoration: underline;
}

.beach-card a {
    color: #0277bd;
}

.beach-card a:hover {
    color: #01579b;
    text-decoration: underline;
}

.attraction-card p, .beach-card p {
    line-height: 1.6;
    color: #555;
}

/* Enhanced CTA Section */
.discover-cta {
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.discover-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.discover-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

/* Main CTA Section */
.cta {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 50%, #333 100%);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: ripple 12s linear infinite;
    opacity: 0.4;
}

@keyframes ripple {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    min-height: 44px;
    font-size: 1rem;
    gap: 0.5rem;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.booking-info {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.booking-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.booking-info strong {
    color: #fff;
    font-weight: 600;
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
    color: #fff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 80px;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffc107;
}

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
    line-height: 1.5;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item span:first-child {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    min-width: 24px;
}

.contact-item a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.postal-code {
    font-size: 0.9rem;
    color: #999;
    margin-left: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.legal-info a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Enhanced Location Section */
.location {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    margin: 2rem 0;
    transition: all 0.3s ease;
    border: 4px solid #fff;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* Kokkari Spotlight Section */
.serving-img-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.serving-img {
    height: 320px;
    width: 100%;
    max-width: 500px;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    border: 4px solid #fff;
}

.serving-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

.kokkari-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.kokkari-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Performance Optimizations */
.bg-loaded {
    transition: opacity 0.3s ease;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Staggered Animation Delays */
.service-card:nth-child(1), .feature:nth-child(1), .attraction-card:nth-child(1), .beach-card:nth-child(1), .faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2), .feature:nth-child(2), .attraction-card:nth-child(2), .beach-card:nth-child(2), .faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3), .feature:nth-child(3), .attraction-card:nth-child(3), .beach-card:nth-child(3), .faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature:nth-child(4), .attraction-card:nth-child(4), .beach-card:nth-child(4), .faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.attraction-card:nth-child(5), .beach-card:nth-child(5), .faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.attraction-card:nth-child(6), .beach-card:nth-child(6), .faq-item:nth-child(6) {
    animation-delay: 0.6s;
}



.team-card.visible {
    animation-play-state: running;
}



/* Focus Styles for Better Accessibility */
a:focus, button:focus, .faq-question:focus {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
.nav-links a:focus {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* Chatbot Container */
#chatbot-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Chatbot Button */
#chatbot-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6);
}

#chatbot-button::after {
    content: '';
    width: 50%;
    height: 50%;
    background-image: url('chat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

/* Notification Dot */
.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Chatbot Window */
#chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 500%;
    height: 770%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Chatbot Header */
#chatbot-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.header-info p {
    font-size: 12px;
    opacity: 0.9;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Messages Area */
#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

/* Message Bubbles */
.message {
    margin-bottom: 15px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.4;
}

.message.user {
    margin-left: auto;
    background: #007bff;
    color: white;
    padding: 12px 16px;
    border-radius: 20px 20px 6px 20px;
    font-size: 14px;
}

.message.bot {
    background: white;
    padding: 12px 16px;
    border-radius: 20px 20px 20px 6px;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #333;
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    max-width: 80px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { 
    animation-delay: 0.2s; 
}

.typing-dots span:nth-child(3) { 
    animation-delay: 0.4s; 
}

@keyframes typing {
    0%, 60%, 100% { 
        transform: translateY(0); 
        opacity: 0.4; 
    }
    30% { 
        transform: translateY(-10px); 
        opacity: 1; 
    }
}

/* Input Area */
#chatbot-input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

#chatbot-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px 16px;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    line-height: 1.4;
}

#chatbot-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}



#chatbot-send:hover {
    background: #0056b3;
    transform: scale(1.05);
}

#chatbot-send:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.quick-action {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.quick-action:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}




