/* ===== VARIABLES & BASE ===== */
:root {
    --primary-color: #004d40; /* Dark green from image */
    --primary-light: #00796b;
    --accent-color: #f57c00;
    --bg-light: #f5f5f0; /* Beige background from image */
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    
    --success: #2e7d32;
    --danger: #d32f2f;
    --info: #0277bd;
    --warning: #f57c00;
}

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

body {
    font-family: 'Inter Tight', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.bg-light { background-color: var(--bg-light); }

.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-blue { color: var(--info); }
.text-orange { color: var(--warning); }
.text-purple { color: #6a1b9a; }

/* ===== UTILITIES ===== */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.2s;
    color: #e0f2f1;
}

.main-nav a:hover {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .btn-outline {
    border-color: var(--white);
    color: var(--white);
}
.header-actions .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}
.header-actions .btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}
.header-actions .btn-primary:hover {
    background-color: #e65100;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #222;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    height: 500px;
}

.img-large {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.img-small-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.img-small {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.img-small:hover img {
    transform: scale(1.05);
}

.overlay-cta {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    transition: background 0.3s ease;
}
.overlay-cta:hover {
    background: rgba(0,0,0,0.4);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-main);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: 700;
}
.btn-white:hover {
    background-color: #f0f0f0;
}

/* ===== EXPERT GUIDES ===== */
.expert-guide-section {
    position: relative;
}

/* Faint topo map background effect could go here if we had an image */
.guide-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.guide-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

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

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

.guide-info p {
    font-style: italic;
    color: var(--text-muted);
}

/* ===== TOUR SUMMARY ===== */
.summary-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.radar-chart-container {
    width: 350px;
    height: 350px;
}

.summary-details {
    width: 400px;
}

.detail-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-main);
}

.detail-value {
    color: var(--text-muted);
    text-align: right;
}

.highlights-grid {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
}

.highlight-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== MAIN DETAILS (ITINERARY & PRICING) ===== */
.details-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: start;
}

/* Accordions */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 1.2rem;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-tag {
    font-size: 0.8rem;
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.accordion-item .icon {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    transition: all 0.3s ease-out;
    background: var(--white);
    border-top: 1px solid transparent;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding: 1.2rem;
    border-top-color: var(--border-color);
}

.accordion-item.active .icon {
    transform: rotate(180deg);
}

/* Pricing Card */
.pricing-card {
    background: #fdfaf6; /* slight cream tint from image */
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.price-header {
    text-align: right;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-header span {
    color: var(--text-muted);
    font-size: 1rem;
}

.price-header .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin: 0.5rem 0;
}

.pricing-content h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-content ul {
    margin-bottom: 1.5rem;
}

.pricing-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.check-list li::before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cross-list li::before {
    content: "×";
    color: var(--danger);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.dot-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.meeting-info {
    font-size: 0.95rem;
    background-color: var(--white);
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid var(--info);
}

.cta-container {
    margin-top: 2rem;
    text-align: center;
}

.secure-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* ===== REVIEWS ===== */
.review-stats {
    margin-bottom: 3rem;
}
.rating-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    padding: 20px 0 40px;
}
.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scroll-horizontal 60s linear infinite;
    padding-left: 2rem;
}
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-horizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } 
}
.review-card {
    width: 380px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s;
}
.review-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}
.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
}
.reviewer-info h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0;
}
.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.google-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4285F4;
    font-size: 1.5rem;
}
.gyg-badge {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #FF5533;
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}
.mb-1 { margin-bottom: 0.8rem; }

/* ===== FAQS ===== */
.faq-container {
    max-width: 800px;
}
.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    box-shadow: none;
}

/* ===== RELATED TOURS ===== */
.tour-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tour-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-footer .price {
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--primary-color);
    color: #e0f2f1;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background 0.3s;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col a, .footer-col p {
    display: block;
    margin-bottom: 0.8rem;
    color: #b2dfdb;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
    transition: 0.2s;
}

.footer-col i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: #00332a;
    padding: 1.5rem 0;
}

/* Responsive basics */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    .summary-content {
        flex-direction: column;
    }
    .radar-chart-container {
        width: 100%;
        max-width: 400px;
    }
    .summary-details {
        width: 100%;
    }
}

/* ===== MODAL & GALLERY ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}
.modal-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.close-modal {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}
.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}
.slider-content {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
}
.slider-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide {
    display: none;
    text-align: center;
    width: 100%;
}
.slide img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 35px;
    transition: 0.3s;
    border-radius: 4px;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}
.next-slide { right: 10px; }
.prev-slide { left: 10px; }
.prev-slide:hover, .next-slide:hover {
    background-color: rgba(0,0,0,0.8);
}
.slider-counter {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #fff;
    font-weight: 500;
}
.fade {
    animation-name: fade;
    animation-duration: 0.4s;
}
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
.mt-1 { margin-top: 1rem; }

/* ===== FLOATING CONTACT WIDGET ===== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}
.phone-btn {
    background-color: #007bff; /* Phone Blue */
}
.whatsapp-btn {
    background-color: #25D366; /* WhatsApp Green */
}
.email-btn {
    background-color: #EA4335; /* Email Red */
}

/* ===== SURVEY SECTION ===== */
.survey-section {
    padding: 5rem 0;
    background-color: #fdfaf6;
    border-top: 1px solid var(--border-color);
}

.survey-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-survey-form .form-group {
    margin-bottom: 2rem;
}

.custom-survey-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.custom-survey-form label span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1);
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.custom-radio {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 15px 15px 15px 45px;
    border-radius: 8px;
    transition: all 0.2s;
    background: var(--white);
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

.custom-radio:hover {
    border-color: var(--primary-light);
    background-color: #f0fbfc;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-mark {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: all 0.2s;
}

.custom-radio input:checked ~ .radio-mark {
    border-color: var(--primary-color);
}

.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
}

.custom-radio input:checked ~ .radio-mark:after {
    display: block;
}

.custom-radio input:checked ~ .radio-text {
    color: var(--primary-color);
}

.custom-radio:has(input:checked) {
    border-color: var(--primary-color);
    background-color: rgba(0, 77, 64, 0.05);
}

.radio-text strong {
    display: block;
    color: #222;
}

.radio-text small {
    color: var(--text-muted);
    font-weight: 400;
}

.submit-btn {
    width: 100%;
    max-width: 300px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.form-submit .secure-text {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .img-large { height: 300px; }
    .img-small-stacked { flex-direction: row; height: 200px; }
    .review-card { width: 320px; }
    .tour-cards-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .main-nav { display: none; }
    .highlights-grid { flex-wrap: wrap; gap: 1rem; }
    
    .radio-grid {
        grid-template-columns: 1fr; /* Make survey choices stack on mobile */
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-fab:hover {
    transform: scale(1.1);
    background-color: var(--primary-light);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: chat-appear 0.3s ease-out;
}

@keyframes chat-appear {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header .close-chat {
    cursor: pointer;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot {
    align-self: flex-start;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
}

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

.chat-quick-replies {
    padding: 1rem;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn {
    background-color: #f0f0f0;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.chat-footer {
    padding: 0.8rem 1.2rem;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.chat-cta {
    display: flex;
    width: 100%;
    margin-top: 5px;
}

.chat-cta .btn {
    width: 100%;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    border: none;
    color: var(--white);
    text-align: center;
}

.chat-cta .btn:hover {
    background-color: #e65100;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100% - 40px);
        height: 70vh;
        bottom: 80px;
        right: 20px;
    }
}
