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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

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

.logo h1 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo h1:hover {
    color: #3498db;
    transform: scale(1.02);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 40px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.search {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 25px;
    padding: 4px 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search:hover {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.search input {
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.search input:focus {
    width: 240px;
}

.search button {
    padding: 10px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search button:hover {
    background-color: #2980b9;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Banner Styles */
.banner {
    position: relative;
    overflow: hidden;
    height: 700px;
    background-color: #f5f5f5;
}

.banner-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 36px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Banner Navigation */
.banner-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-dot:hover {
    background-color: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.banner-dot.active {
    background-color: #fff;
    border-color: #3498db;
    transform: scale(1.2);
}

/* Banner Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.banner-arrow:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-arrow.prev {
    left: 40px;
}

.banner-arrow.next {
    right: 40px;
}

/* Services Styles */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 60px;
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    text-align: center;
    padding: 25px 15px;
    background-color: #fff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.service-item:hover .service-icon::after {
    transform: translate(-50%, -50%) scale(1);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #3498db;
}

.service-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-item:hover p {
    color: #444;
}

/* About Styles */
.about {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #f8f9fa;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #3498db, #2980b9);
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.about-text .btn {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

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

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    border: 4px solid rgba(52, 152, 219, 0.2);
    border-radius: 20px;
    pointer-events: none;
}

/* Responsive adjustments for about section */
@media (max-width: 992px) {
    .about::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 30%, 0% 100%);
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        order: 1;
        padding: 30px;
    }
    
    .about-image {
        order: 2;
        width: 100%;
        max-width: 600px;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* News Styles */
.news {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at top left, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.news .container {
    position: relative;
    z-index: 1;
}

.news h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.news h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 60px;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-item {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-item:hover::before {
    transform: scaleX(1);
}

.news-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.news-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-item:hover img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.news-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.news-item:hover h3 {
    color: #3498db;
}

.news-item .date {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f4f8;
    color: #3498db;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-item:hover .date {
    background-color: #3498db;
    color: #fff;
}

.news-item p {
    margin-bottom: 25px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
    transform: translateX(5px);
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Contact Section Styles */
.contact-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    color: #333;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 60px;
    border-radius: 2px;
}

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: rgba(52, 152, 219, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 24px;
    color: #3498db;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: #3498db;
    transform: scale(1.1);
}

.contact-card:hover .contact-icon i {
    color: #fff;
}

.contact-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-details h3 {
    color: #3498db;
}

.contact-card:hover .contact-details p {
    color: #3498db;
}

.contact-website {
    margin-top: 30px;
}

.contact-website a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.contact-website a:hover {
    background-color: #2988b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.contact-website a i {
    font-size: 16px;
}

.contact-website a span {
    font-size: 14px;
}



/* Footer Styles */
footer {
    background-color: #1a252f;
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 15px;
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db;
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    transform: translateX(5px);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    border-color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom .copyright {
    font-size: 13px;
    opacity: 0.8;
}


/* Fixed Contact Styles */
.fixed-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 20px;
    z-index: 999;
    width: 280px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.fixed-contact:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.16);
    transform: translateY(-50%) translateX(-5px);
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.contact-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.fixed-contact .contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.fixed-contact .contact-item:last-child {
    margin-bottom: 0;
}

.fixed-contact .contact-item a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 18px;
    color: #3498db;
    transition: all 0.3s ease;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.qrcode-container {
    display: none;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid #e9ecef;
    z-index: 1000;
    min-width: 150px;
}

.qrcode-container::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.qrcode {
    text-align: center;
    margin-bottom: 10px;
}

.qrcode img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.qrcode-label {
    font-size: 12px !important;
    color: #666 !important;
    text-align: center;
    margin-bottom: 0 !important;
}

.contact-item:hover .qrcode-container {
    display: block;
}

.contact-item:hover .contact-icon {
    background-color: #3498db;
    transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
    color: #fff;
}

.contact-item:hover .contact-info span {
    color: #3498db;
}

.contact-item.wechat .contact-icon {
    background-color: rgba(76, 175, 80, 0.1);
}

.contact-item.wechat .contact-icon i {
    color: #4CAF50;
}

.contact-item.wechat:hover .contact-icon {
    background-color: #4CAF50;
}

.contact-item.qq .contact-icon {
    background-color: rgba(24, 144, 255, 0.1);
}

.contact-item.qq .contact-icon i {
    color: #1890FF;
}

.contact-item.qq:hover .contact-icon {
    background-color: #1890FF;
}

.contact-item.website:hover .contact-icon {
    background-color: #3498db;
}

.contact-item.website:hover .contact-icon i {
    color: #fff;
}

/* Main Content Styles */
main {
    padding: 40px 0;
    background-color: #fff;
}

main h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Article List Styles */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.article-header h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.article-header h3 a:hover {
    color: #3498db;
}

.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 15px;
}

.article-excerpt {
    margin-bottom: 20px;
    color: #666;
}

.article-footer .read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-footer .read-more:hover {
    color: #2980b9;
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Contact Container Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-form-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #3498db;
    color: #fff;
}

.pagination a.active {
    background-color: #3498db;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .banner {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
    }

    .fixed-contact {
        position: static;
        transform: none;
        width: 100%;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 300px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .services h2,
    .about-text h2,
    .news h2,
    .contact-content h2,
    main h2 {
        font-size: 24px;
    }

    .service-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Styles */
.testimonials {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 60px;
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    font-family: 'Georgia', serif;
    color: rgba(52, 152, 219, 0.1);
    line-height: 1;
    z-index: 0;
}

.testimonial-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.testimonial-content {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f4f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-author img {
    transform: scale(1.1);
    border-color: #3498db;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.testimonial-item:hover .author-info h4 {
    color: #3498db;
}

.author-info p {
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.testimonial-item:hover .author-info p {
    color: #666;
}

/* Star Rating */
.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.rating i {
    color: #f39c12;
    font-size: 16px;
}


/* Partners Styles */
.partners {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.partners .container {
    position: relative;
    z-index: 1;
}

.partners h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.partners h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 60px;
    border-radius: 2px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    align-items: center;
    justify-items: center;
}

.partner-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 16px;
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    transition: top 0.4s ease;
}

.partner-item:hover::before {
    top: 0;
}

.partner-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

.service-item,
.news-item,
.product-item,
.article-item,
.testimonial-item,
.partner-item {
    animation: fadeIn 0.5s ease forwards;
}

.service-item:nth-child(2),
.news-item:nth-child(2),
.product-item:nth-child(2),
.article-item:nth-child(2),
.testimonial-item:nth-child(2),
.partner-item:nth-child(2) {
    animation-delay: 0.1s;
}

.service-item:nth-child(3),
.news-item:nth-child(3),
.product-item:nth-child(3),
.article-item:nth-child(3),
.testimonial-item:nth-child(3),
.partner-item:nth-child(3) {
    animation-delay: 0.2s;
}

.service-item:nth-child(4),
.product-item:nth-child(4),
.article-item:nth-child(4),
.partner-item:nth-child(4) {
    animation-delay: 0.3s;
}

.partner-item:nth-child(5) {
    animation-delay: 0.4s;
}

/* Category Filter Styles */
.category-filter {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.category-filter h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.filter-btn.active {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* Content Wrapper Styles */
.content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.article-list {
    flex: 1;
}

/* Popular Articles Styles */
.popular-articles {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.popular-articles h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.popular-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-item a:hover {
    color: #3498db;
}

/* Responsive Design for Text List Page */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .popular-articles {
        order: -1;
    }
}

/* Product Filters Styles */
.product-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-section,
.sort-section {
    flex: 1;
    min-width: 300px;
}

.filter-section h3,
.sort-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    width: 80px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border: 1px solid #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    width: 100%;
}

/* Responsive Design for Image Text List Page */
@media (max-width: 768px) {
    .product-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-range {
        flex-direction: row;
        align-items: center;
    }
    
    .price-range input {
        flex: 1;
    }
}

/* Contact Page Optimization */
.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-section,
.contact-form-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info .contact-item {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.contact-info .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.contact-form .btn {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    border: 1px solid #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info-section,
    .contact-form-section {
        width: 100%;
    }
    
    .contact-form .btn {
        align-self: stretch;
        text-align: center;
    }
}
