:root {
	--primary-color: #D83820;
	--secondary-color: #F4F4F4;
	--default-background: #FFF;
	--accent-color: #ffd672;
	--text-color: #1E1E41;
	--border-radius: 12px;
	--box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
	--box-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);	
	--font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	/* 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif */
	--font-heading: 'Poppins', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font-main);
}

body {
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--secondary-color);
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background-color: var(--default-background);
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 70px;
	border-bottom: 1px solid #F4F4F4;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

/* Logo styling with company name */
.logo {
    display: flex;
    align-items: center;
    /* gap: -1px; */
}

.logo img {
    height: 26px;
    display: block;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
    /* letter-spacing: 0.5px; */
}

/* Responsive adjustments for company name */
@media (max-width: 768px) {
    .logo img {
        height: 20px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.2rem;
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    
}

.lang-btn {
    position: relative; /* Make the button the positioning context */
}

.lang-btn, .menu-btn {
    color: var(--text-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative; /* Add this */
}

.lang-btn:hover, .menu-btn:hover {
    transform: scale(1.1);
}

.lang-dropdown {
    position: absolute;
    top: 40px; /* Changed from 64px - adjust based on your icon size */
    /* right: 10; */
    background-color: var(--default-background);
    box-shadow: var(--box-shadow-heavy);	
    /* background-color: #1e293b; */
    border-radius: 8px;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
    min-width: 100px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000; /* Add z-index to ensure it appears above other content */
}

.lang-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.language-option {
    width: 100%;
    padding: 12px 24px;
    background: none;
    border: none;
	color: var(--text-color);
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: var(--secondary-color);
	font-weight: 600;
}

.language-option.selected {
	background-color: var(--primary-color);
	color: white;
	font-weight: 600;
}


/* Sidebar */
.sidebar {
	height: calc(100% - 70px);
	width: 0;
	position: fixed;
	z-index: 200;
	top: 70px;
	left: 0;
	background-color: var(--text-color);
	overflow-x: hidden;
	transition: 0.3s;
	padding-top: 40px;
	border-radius: 5px;
	/* box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); */
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}


.sidebar a {
	padding: 15px 25px;
	text-decoration: none;
	font-size: 1.2rem;
	color: var(--light-text-color);
	display: block;
	transition: 0.3s;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar a:hover {
	background-color: var(--primary-color);
	color: white;
	padding-left: 10px;
}
.sidebar ul {
	list-style: none;
	/* padding-left: 0; */
	padding: 20px 0px;
}

/* .sidebar ul li { */
	/* padding: 15px 30px; */
/* } */

.sidebar ul li a {
	color: var(--default-background);
	text-decoration: none;
	font-size: 1.2rem;
	display: block;
	transition: all 0.3s ease;
	padding: 15px 30px;
}

.close-btn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
	color: var(--secondary-color);
	cursor: pointer;
	line-height: 60px;
}

.close-btn:hover {
	color: var(--primary-color);
}

/* Overlay */
.overlay {
	position: fixed;
	display: none;
	width: 100%;
	height: calc(100% - 70px);
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 150;
}

/* Hero Section */
.hero {
	width: 100%;
	min-height: 80vh;
	margin-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
	padding: 40px 0;
}

.hero-content {
	display: flex;
	max-width: 1200px;
	width: 100%;
	align-items: center;
	gap: 40px;
}

.hero-text, .hero-image {
	flex: 1;
}

.hero-text {
	padding: 20px 0;
}

.hero-text h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	color: var(--text-color);
	font-family: var(--font-heading);
	line-height: 1.2;
}

.hero-text p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: #555;
	line-height: 1.6;
}

.hero-image {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-image img {
	width: 100%;
	max-width: 500px;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-badge {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	min-width: 300px;
	background: #fff;
	border: 1px solid #dedede;
	box-shadow: -14px 18px 0 rgba(0, 0, 0, .03);
	border-radius: 5px 10px;
	padding: 20px;
	text-align: center;
	font-weight: bold;
	color: var(--primary-color);
}

.btn-primary {
	display: inline-flex;
	padding: 0 20px;
	width: 156px;
	height: 54px;
	justify-content: center;
	align-items: center;
	color: white;
	/* border: 2px solid #ffd672; */
	background-color: var(--primary-color);
	/* box-shadow: 0 4px 0 rgba(216, 56, 32, 0.4); */
	box-shadow: 0 5px 15px rgba(216, 56, 32, 0.4);
	border-radius: 5px 10px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	/* color: #1e1e41; */
	/* border-color: #ffe8ae; */
	/* background-color: #ffe8ae; */
	background-color: #c4321d;
	transform: translateY(-2px);
}

/* Satisfaction Section */
.satisfaction {
	padding: 4rem 2rem;
	text-align: center;
	background-color: #43435a;
	color: #FFF;
}

.first-line {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.reviews {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	font-size: 18px;
	margin: 0 10px;
}

.stars {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 1.5em auto;
	padding: 0;
	max-width: 800px;
}

.satisfaction h2 {
	margin-bottom: 30px;
	font-family: var(--font-heading);
}

/* Features Section */
.feature {
	flex: 1;
	min-width: 300px;
	max-width: 400px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 25px;
	text-align: left;
	transition: transform 0.3s ease;
}

.feature:hover {
	transform: translateY(-5px);
}

.icon-block {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 15px;
}

.icon.payments {
	background: #f98e51;
	color: #1b1a17;
}

.icon.logistics {
	background: #a6dbf7;
	color: #1b1a17;
}

.icon.support {
	background: #ffd672;
	color: #1b1a17;
}

.feature-title {
	font-weight: 700;
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.feature-text {
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-section {
	max-width: 1200px;
	/* margin: 80px auto; */
	margin: auto;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	padding: 4rem 2rem;
	/* 60px 20px; */
}

.background-shape {
	position: absolute;
	top: -5%;
	left: 40%;
	width: 60%;
	height: 90%;
	background: #b3e5ff;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	z-index: 1;
	transform: translateX(-50%);
	opacity: 0.7;
}

.image-wrapper {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
}

.image-wrapper img {
	width: 100%;
	max-width: 600px;
	border-radius: 20px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.text-left {
	font-weight: 700;
	font-size: 1.8rem;
	z-index: 2;
	line-height: 1.3;
	color: var(--text-color);
}

.text-right {
	font-weight: 300;
	font-size: 1.2rem;
	line-height: 1.6;
	padding-top: 5rem;
	color: #444;
	z-index: 2;
}

/* Services Section */
.services {
	padding: 4rem 2rem;
	text-align: center;
	background-color: white;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--text-color);
	font-family: var(--font-heading);
}

.container p{
	margin-bottom: 1rem;
}

.service-cards {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 2rem;
}

.card {
	background-color: var(--secondary-color);
	padding: 2.5rem 2rem;
	border-radius: 15px;
	flex: 1;
	min-width: 280px;
	max-width: 350px;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--text-color);
}

.card p {
	color: #555;
	line-height: 1.6;
}


/* Testimonials Section with Swiper */
.testimonials {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-swiper-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

/* Background SVG Shapes */
.testimonial-bg-shape-1 {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23ffd672" opacity="0.1" d="M45.2,-58.8C58.3,-49.5,68.4,-34.7,72.8,-18.2C77.3,-1.6,76.2,16.7,68.9,31.9C61.6,47.1,48.2,59.2,32.6,67.2C17,75.2,-0.8,79.2,-16.9,75.4C-33,71.6,-47.4,60.1,-58.6,45.3C-69.8,30.5,-77.8,12.5,-77.1,-5.8C-76.3,-24.1,-66.8,-42.7,-52.5,-55.4C-38.2,-68.1,-19.1,-75,0.7,-75.8C20.5,-76.6,41,-71.3,45.2,-58.8Z" transform="translate(100 100)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.testimonial-bg-shape-2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23a6dbf7" opacity="0.1" d="M39.9,-58.3C52.1,-51.8,62.6,-41.8,69.2,-29.3C75.8,-16.8,78.5,-1.8,75.8,11.7C73.1,25.2,65,37.2,54.1,46.3C43.2,55.4,29.5,61.6,15.2,65.7C0.9,69.8,-14,71.8,-27.1,68.6C-40.2,65.4,-51.5,57,-60.3,46.1C-69.1,35.2,-75.4,21.8,-77.2,7.6C-79,-6.6,-76.3,-21.6,-69.2,-33.9C-62.1,-46.2,-50.6,-55.8,-37.8,-62.1C-25,-68.3,-11,-71.2,1.9,-73.9C14.8,-76.6,29.7,-79.1,39.9,-58.3Z" transform="translate(100 100)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Testimonials Swiper */
.testimonials-swiper {
    padding: 40px 20px 80px;
    position: relative;
    z-index: 2;
}

.testimonials-swiper .swiper-slide {
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.4s ease;
    height: auto;
}

.testimonials-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-avatar {
    margin-right: 1rem;
    flex-shrink: 0;
}

.client-avatar svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.client-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.client-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.client-rating {
    color: #ffd672;
}

.testimonial-content {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.1;
    transform: scale(2);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.client-location {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: auto;
}

.client-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Custom Navigation */
.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.testimonial-prev,
.testimonial-next {
    position: static;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.testimonial-prev::after,
.testimonial-next::after {
    display: none;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 56, 32, 0.3);
}

.testimonial-pagination {
    position: static;
    width: auto;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Testimonial Stats */
.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-swiper-container {
        padding: 0 10px;
    }
    
    .testimonials-swiper {
        padding: 20px 10px 60px;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-navigation {
        gap: 1rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-bg-shape-1,
    .testimonial-bg-shape-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .client-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Contact Section */
.contact {
	padding: 5rem 2rem;
	text-align: center;
	background-color: #f9f9f9;
}

.contact form {
	display: flex;
	flex-direction: column;
	max-width: 800px;
	margin: 0 auto;
}

.contact input,
.contact textarea {
	padding: 1rem;
	margin-bottom: 1.5rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: var(--font-main);
	font-size: 1rem;
	transition: border 0.3s;
}

.contact input:focus,
.contact textarea:focus {
	border-color: var(--primary-color);
	outline: none;
}

.contact button {
	padding: 2rem 2rem;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
}

/* Footer */
footer {
	padding: 3rem 2rem;
	text-align: center;
	background-color: var(--text-color);
	color: white;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin: 2rem 0;
}

.footer-links a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: white;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 2rem 0;
}

.social-icons a {
	color: white;
	font-size: 1.5rem;
	transition: transform 0.3s;
}

.social-icons a:hover {
	transform: translateY(-5px);
}

.copyright {
	margin-top: 2rem;
	color: #aaa;
	font-size: 0.9rem;
}

.copyright a{
	color: #aaa;
}
/* Responsive Design */
@media (max-width: 992px) {
	.hero-content {
		flex-direction: column;
		text-align: center;
	}
	
	.hero-text, .hero-image {
		width: 100%;
	}
	
	.about-section {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}
	
	.text-left, .text-right {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.hero-text h1 {
		font-size: 2.2rem;
	}
	
	.hero-text p {
		font-size: 1.1rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.first-line {
		flex-direction: column;
		gap: 10px;
	}
	
	.reviews {
		flex-direction: column;
		gap: 10px;
	}
	
	.features-container {
		flex-direction: column;
		align-items: center;
	}
	
	.feature {
		width: 100%;
		max-width: 500px;
	}
	
	.service-cards {
		flex-direction: column;
		align-items: center;
	}
	
	.card {
		width: 100%;
		max-width: 400px;
	}
}

@media (max-width: 480px) {
	.hero-text h1 {
		font-size: 1.8rem;
	}
	
	.image-badge {
		min-width: 250px;
		padding: 15px;
	}
	
	.btn-primary {
		width: 140px;
		height: 50px;
	}
	
	.text-left {
		font-size: 1.5rem;
	}
	
	.text-right {
		font-size: 1rem;
	}
}


/* Wechat Official account */
/* Floating WeChat Button */
/* .wechat-button { */
    /* position: fixed; */
    /* bottom: 110px; */
    /* right: 30px; */
    /* width: 60px; */
    /* height: 60px; */
    /* background: #09b83e; */
    /* border-radius: 50%; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* box-shadow: 0 4px 20px rgba(9, 184, 62, 0.4); */
    /* cursor: pointer; */
    /* z-index: 1000; */
    /* transition: all 0.3s ease; */
    /* animation: pulse-wechat 2s infinite; */
/* } */

/* .wechat-button:hover { */
    /* transform: scale(1.1); */
    /* box-shadow: 0 6px 25px rgba(9, 184, 62, 0.6); */
/* } */

/* .wechat-button i { */
    /* color: white; */
    /* font-size: 28px; */
/* } */
        /* Floating Buttons (WeChat & Chat) */
.wechat-button, .chat-button {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	color: white;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: transform 0.3s, opacity 0.3s;
	z-index: 1000;
}

.wechat-button {
	background-color: #09b83e; /* WeChat Green */
	bottom: 90px;
}

.chat-button {
	background-color: var(--primary-color);
}

.wechat-button:hover, .chat-button:hover {
	transform: scale(1.05);
}

@keyframes pulse-wechat {
    0% {
        box-shadow: 0 4px 20px rgba(9, 184, 62, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(9, 184, 62, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(9, 184, 62, 0.4);
    }
}

/* WeChat QR Code Dropdown */
.wechat-qr-dropdown {
    position: absolute;
    bottom: 70px; /* Position above the button */
    right: 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.wechat-button:hover .wechat-qr-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-image {
    width: 180px;
    height: 180px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    background-color: #ffffff;
}

.qr-text {
    margin: 0;
    color: #334155;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}


/* Floating Chat Button */
/* .chat-button { */
	/* position: fixed; */
	/* bottom: 30px; */
	/* right: 30px; */
	/* width: 60px; */
	/* height: 60px; */
	/* background: var(--primary-color);	 */
	/* border-radius: 50%; */
	/* display: flex; */
	/* align-items: center; */
	/* justify-content: center; */
	/* box-shadow: 0 4px 20px rgba(244, 244, 244, 0.4); */
	/* cursor: pointer; */
	/* z-index: 1000; */
	/* transition: all 0.3s ease; */
	/* animation: pulse 2s infinite; */
/* } */

/* .chat-button:hover { */
	/* transform: scale(1.1); */
	/* box-shadow: 0 6px 25px rgba(244, 244, 244, 0.6); */
/* } */

/* .chat-button i { */
	/* color: var(--text-color); */
	/* font-size: 24px; */
/* } */

@keyframes pulse {
	0% {
		box-shadow: 0 4px 20px rgba(244, 244, 244, 0.4);
	}
	50% {
		box-shadow: 0 4px 25px rgba(244, 244, 244, 0.7);
	}
	100% {
		box-shadow: 0 4px 20px rgba(244, 244, 244, 0.4);
	}
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Box - Square Shape */
.helpdesk-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    height: 90%;
    max-height: 90vh; /* Ensure it doesn't exceed viewport height */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */	
}

.modal-overlay.active .helpdesk-modal {
    transform: scale(1);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #ff6b4a);
    color: white;
    padding: 1.5rem;
    position: relative;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.modal-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
}

.close-modal i {
    color: white;
    font-size: 16px;
}

/* Modal Content - Scrollable */
.modal-content {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.help-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.help-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.help-section h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section h3 i {
    color: var(--primary-color);
}

.help-section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.help-section .note {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto; /* Push buttons to bottom */
    padding-top: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.action-btn.email {
    background: linear-gradient(135deg, #4a6cf7, #6a82fb);
    color: white;
}

.action-btn.chat {
    background: linear-gradient(135deg, #20c997, #3dd9a0);
    color: white;
}

.action-btn.forum {
    background: linear-gradient(135deg, #ffb347, #ffd672);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-btn .btn-icon {
    font-size: 1.2rem;
}

/* Custom Scrollbar for Modal Content */
.modal-content::-webkit-scrollbar {
    width: 0px;
	display: none;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-button .wechat-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chat-button i .wechat-button i{
        font-size: 22px;
    }
    
    .helpdesk-modal {
        width: 95%;
        height: 90%; /* Slightly smaller on tablets */
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .action-btn {
        padding: 0.9rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .chat-button .wechat-button{
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .chat-button i .wechat-button i{
        font-size: 20px;
    }
    
    .modal-header {
        padding: 1.2rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 1.2rem;
    }
    
    .helpdesk-modal {
        height: 90%; /* Smaller on mobile */
    }
    
    .action-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* For very small screens */
@media (max-height: 600px) {
    .helpdesk-modal {
        height: 90vh; /* Use viewport height on very small screens */
        max-height: 90%;
    }
}


/* Floating Action Card Container */
.floating-card-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	max-height: calc(100vh - 40px);
}


/* Expanded Card */
.expanded-card {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	width: 340px;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	opacity: 0;
	transform: translateY(100px) scale(0.9);
	pointer-events: none;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	position: absolute;
	bottom: 0;
	right: 0;
	overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */	
}

.expanded-card.active {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: all;
}

/* Scrollbar styling for expanded card */
.expanded-card::-webkit-scrollbar {
	width: 6px;
}

.expanded-card::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 10px;
}

.expanded-card::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

.expanded-card::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Card Header */
.card-header {
	background: linear-gradient(135deg, #09b83e 0%, #05a035 100%);
	padding: 20px;
	border-radius: 20px 20px 0 0;
	position: relative;
}

.miniclose-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.miniclose-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.miniclose-btn i {
	color: white;
	font-size: 16px;
}

.card-header-content {
	text-align: center;
	color: white;
}

.card-header-icon {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
}

.card-header-icon i {
	font-size: 30px;
}

.card-header h3 {
	font-size: 20px;
	margin-bottom: 5px;
}

.card-header p {
	font-size: 13px;
	opacity: 0.9;
}

/* Card Body */
.card-body {
	padding: 25px;
}

.steps-container {
	margin-bottom: 20px;
}

.step {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.step-number {
	width: 30px;
	height: 30px;
	background: linear-gradient(135deg, #09b83e 0%, #05a035 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
	font-size: 14px;
	flex-shrink: 0;
	margin-right: 12px;
}

.step-content h4 {
	font-size: 15px;
	color: #334155;
	margin-bottom: 3px;
}

.step-content p {
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

/* QR Code Section */
.qr-section {
	text-align: center;
	padding: 20px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 15px;
	margin-bottom: 20px;
}

.qr-code-container {
	width: 180px;
	height: 180px;
	margin: 0 auto 15px;
	border: 3px solid #09b83e;
	border-radius: 15px;
	padding: 10px;
	background: white;
	box-shadow: 0 4px 15px rgba(9, 184, 62, 0.2);
}

.qr-code-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.qr-instruction {
	font-size: 14px;
	color: #334155;
	font-weight: 600;
	margin-bottom: 5px;
}

.qr-subtext {
	font-size: 12px;
	color: #64748b;
}

/* Benefits */
.benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.benefit-tag {
	background: #f0fdf4;
	color: #16a34a;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 5px;
}

.benefit-tag i {
	font-size: 10px;
}

/* Animations */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		box-shadow: 0 8px 30px rgba(9, 184, 62, 0.4);
	}
	50% {
		box-shadow: 0 8px 40px rgba(9, 184, 62, 0.7);
	}
}

/* Responsive */
@media (max-width: 480px) {
	.floating-card-container {
		bottom: 10px;
		right: 10px;
		left: 10px;
		max-height: calc(100vh - 20px);
	}

	.expanded-card {
		width: 100%;
		max-width: 100%;
		max-height: calc(100vh - 20px);
		border-radius: 15px;
	}

	.card-body {
		padding: 15px;
	}

	.qr-code-container {
		width: 160px;
		height: 160px;
	}

	.card-header {
		padding: 15px;
		border-radius: 15px 15px 0 0;
	}

	.card-header-icon {
		width: 50px;
		height: 50px;
	}

	.card-header-icon i {
		font-size: 24px;
	}

	.card-header h3 {
		font-size: 18px;
	}
}




/* Social media management */
.social-chat-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.chat-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.chat-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chat-link:active {
    transform: translateY(-1px);
}

.chat-link i {
    font-size: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.chat-link:hover i {
    transform: scale(1.1);
}

/* Facebook - Blue */
.chat-link.facebook {
    background: linear-gradient(135deg, #1877F2, #166FE5);
}

.chat-link.facebook:hover {
    background: linear-gradient(135deg, #166FE5, #1461D1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

/* WhatsApp - Green */
.chat-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.chat-link.whatsapp:hover {
    background: linear-gradient(135deg, #22c35e, #0f7a6a);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Telegram - Light Blue */
.chat-link.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.chat-link.telegram:hover {
    background: linear-gradient(135deg, #0077b3, #005580);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
}

/* Instagram - Purple to Pink to Orange Gradient */
.chat-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45);
    background-size: 400% 400%;
    animation: instagramGradient 3s ease infinite;
}

@keyframes instagramGradient {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.chat-link.instagram:hover {
    animation-duration: 1.5s;
    box-shadow: 0 6px 20px rgba(195, 53, 132, 0.3);
}

/* WeChat - Green (different shade from WhatsApp) */
.chat-link.wechat {
    background: linear-gradient(135deg, #07C160, #059C4A);
}

.chat-link.wechat:hover {
    background: linear-gradient(135deg, #06b357, #048a41);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.3);
}

/* Tooltip on hover */
.chat-link::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.chat-link:hover::after {
    opacity: 1;
    bottom: -35px;
}

/* Responsive design */
@media (max-width: 768px) {
    .social-chat-options {
        gap: 12px;
    }
    
    .chat-link {
        width: 50px;
        height: 50px;
    }
    
    .chat-link i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .social-chat-options {
        gap: 10px;
    }
    
    .chat-link {
        width: 45px;
        height: 45px;
    }
    
    .chat-link i {
        font-size: 18px;
    }
    
    /* Stack vertically on very small screens */
    @media (max-width: 360px) {
        .social-chat-options {
            flex-direction: column;
            gap: 15px;
        }
    }
}